Interview Prep LogoInterview Prep
Back to Companies

CGI

Interview Experience

1/21/2026
2 min read
Edit on GitHub

CGI -Tech 1 Interview - AWS Developer - Mayank Singh Kushwah

Interviewer : H A, Arjun

https://youtu.be/0T-ywke05ZY

Round 1

JavaScript Core Concepts

  1. What is the difference between Promise.all() and Promise.allSettled()?
  2. What is the difference between Promise.all() and Promise.race()?
  3. What is the difference between slice, splice, and split?
  4. What is middleware in Node.js?
  5. What are closures in JavaScript? Explain in simple terms.
  6. Can you conclude closures in one line?
  7. What are call, apply, and bind in JavaScript? Explain the differences.
  8. What is the difference between rest operator and spread operator?
  9. What is the difference between arrow functions and normal functions?
  10. What is the difference between JavaScript and TypeScript?
  11. What is static typing?
  12. What is the difference between npm and yarn?

Authentication and Security

  1. What is JWT?
  2. Explain the different parts of a JWT token.
  3. What hashing or secret mechanisms are used in JWT?

Coding and Problem Solving Constraints

  1. Write code using only a single for loop.
  2. You may use inbuilt array or string methods.
  3. Return only duplicate values from an array.
  • Example: [1, 2, 1, 2] → output should be 1, 2
  1. Given two strings, determine if they are anagrams of each other.
  2. Return true if two strings are anagrams, otherwise return false.

Coding Logic Follow-ups

  1. How does sorting help in solving the anagram problem?
  2. What happens after using split, sort, and join?
  3. What mistake can cause incorrect comparison while checking anagrams?

Project and Role Discussion

  1. Have you worked with AWS?
  2. What kind of project are you looking for?
  3. Are you comfortable with Node.js, JavaScript, and TypeScript?
  4. Do you have experience with cloud migration projects?
  5. Are you comfortable working in the banking domain?
  6. Will I be part of an existing team or a new team?