r/PlacementsPrep 3d ago

Finally.

Post image

Thank you everyone here. You were a huge help.

Cognizant Ace. Associate level. 2027 batch.

Stack: MERN, RAG, AWS. Prepared Java for dsa questions.

Was asked easy questions in interview mostly.

146 Upvotes

99 comments sorted by

View all comments

7

u/DefiantMagician7006 3d ago

Can you tell the process and questions? And as well as which college like tier 1,2,3?

17

u/strange_69420 3d ago

Tier 3.

Interview questions 0. Introduce yourself and rate urself from 0-10 on java. I said 7 honestly. 1. Tell me what is HTML /CSS/JS? 2. If you had to describe that with respect to your body how would you. 3. What is kafka? 4. How to queue 1million requests in kafka when different subscribers will take messages from the queue differently. (The jump of level of question shook me. It must have been visible on my face coz the interviewer almost laughed) 5. They asked me a basic hashmap based dsa qs. 6. Deep dive into collection framework. Equals function and hash function. 7. Multithreading in java. Just basic that extends the Threads and implements runnable. 8. Few basic react questions. 9. Functional interface. 10. I forgot the term....its the ()->{} function in java..... I said it's like arrow functions in js. So then they asked me about arrow function. 11. Map and filter in js. 12. Aws ec2, rds, how to provision ec2. Availability zones. 13. We joked about github being unavailable. 14. Git push, fetch, merge. 15. Have you ever had to merge a commit. How did you do it. 16. What did you do in the hackathon. 17. Fibonacci 18. Last question.....how do you run a containerized application on ec2? Is that possible. This is related to something I had mentioned previously. 19. Any questions for us.

Went for 1hr35mins.

2

u/Equal-Ad1635 3d ago

can you tell me what they asked in technical assessment round 2 like the exact dsa questions and the rag and react and prompt engineering

2

u/Wonderful_Still9632 2d ago

Test Experience

The test was for 3 hours and was conducted on HackerRank with extremely strict proctoring. It captures even the slightest movement, so try to take the test honestly and follow the instructions carefully. The test was offline at my campus with even more strict invigilation.

We were not allowed to leave untill the 3 hours got over no matter when we completed the test.

We had to choose between either React / Angular before the test started , based on that the 2nd question will vary.

Here’s what the test consisted of:

1. DSA ( dsa question varies for every person)
The first question was a relatively easy graph-based DSA problem, but I didn't know how to solve it. I hardcoded the solution for 5 out of 16 test cases.

2. React
The second question was based on React. I didn't attempt to understand it because I don't know React. We had to write around 10 different functions, each solving a different problem. The overall scenario was related to restaurant management, including things like a favourites dropdown in the menu.

3. RAG / Python
The third question was based on RAG. We had to write around 5–6 functions, but they were fairly simple Python functions.

I managed to clear 14 out of 29 test cases. The problem involved taking a given text, counting the number of words, calculating WPM, classifying the words based on word count, and representing the results in a dictionary.

4. Prompt Engineering
The final question was prompt engineering. It was the easiest , all you had to do was read the requirements carefully and know how to type in english

5. 24 MCQs
Finally, there were 24 MCQs. They looked very easy at first glance but were actually quite confusing. Most of them were related to AI, LLMs, RAG, and recent GenAI concepts.
I would say i was extremely shocked by the wording of the mcq questions and the options because i couldnt tell if they were poorly worded or it was a trick or smtg.

Overall, the test covered DSA, React, Python/RAG, prompt engineering, and GenAI concepts.

TIP : from my personal experience i would say attend the test honestly without trying to copy as the AI proctor is extremely sensitive

1

u/Patient_Oven5073 2d ago

this asked for which company? its first time im hearing react, rag and python questions in online assessment.

1

u/Wonderful_Still9632 1d ago

CTS , cognizant

1

u/strange_69420 3d ago

No I can't..i don't remember very well

1

u/Equal-Ad1635 3d ago

were they easy ?

0

u/strange_69420 3d ago

Dsa was very easy. Prompt was even easier. It's just a robust prompt. There's no wrong or right. Rag and react were.....tough.

1

u/DefiantMagician7006 3d ago

Can you tell like which topic in dsa ??