All 43 questions
How do EC2, ECS, and EKS differ, and when would you choose each?
Asked in 5 of 158 interviews · last asked Nov 4 · Concept · Mid-level
Show answer
EC2 provides virtual servers you manage; choose it when you need server control. ECS manages containers and suits teams that want simpler operations without Kubernetes. EKS provides managed Kubernetes; choose it when you need Kubernetes tools, APIs, or portability. EKS adds complexity, so those benefits should justify its cost and effort.
- EC2 supplies compute; ECS and EKS schedule and manage containers.
- Both ECS and EKS can run containers on EC2 or AWS Fargate, which removes server management.
- EKS manages the Kubernetes control plane, but you still manage workloads, access, and cluster configuration.
- Move from ECS to EKS for clear Kubernetes needs, not simply to run more containers.
What the interviewer checks: The interviewer checks whether you distinguish compute from container management and choose based on workload needs and team skills.
Other ways it was asked
- “What is the difference between EC2, ECS, and EKS, and how would you use them?”
- “What is the difference between ECS and EKS, and in which situations would you choose one over the other?”
- “Why would you choose Amazon EKS over Amazon ECS?”
What is EC2 used for?
Asked in 3 of 158 interviews · last asked Oct 13 · Concept · Junior
Show answer
Amazon EC2 is used to run applications on virtual servers in AWS. Each virtual server is called an instance. You choose its operating system, CPU, memory, and storage to match your needs. Common uses include hosting websites, running backend services, and processing data.
- You manage the operating system, installed software, and security updates.
- You can choose different instance types for different workloads.
- Auto Scaling can add or remove instances as demand changes.
- Pricing depends on instance type, runtime, and purchase option.
What the interviewer checks: The interviewer wants to know whether you understand EC2 as configurable virtual servers and can name common uses.
Other ways it was asked
- “What is an EC2 instance?”
- “Can you tell me what EC2 is?”
Which AWS services would you use to deploy a microservice?
Asked in 2 of 158 interviews · last asked Sep 8 · Tooling · Mid-level
Show answer
I would deploy a container-based microservice on Amazon ECS with AWS Fargate and store its image in Amazon ECR. An Application Load Balancer would route HTTP requests to it. For an event-driven service, I might use AWS Lambda instead. I would choose EKS only when Kubernetes is a requirement.
- Give each service its own data ownership, using RDS or DynamoDB as needed.
- Use SQS for queued work and SNS or EventBridge to share events between services.
- Use CloudWatch for logs, metrics, and alarms; configure scaling and health checks.
- Use IAM roles with minimal permissions and Secrets Manager for credentials.
What the interviewer checks: The interviewer is checking whether you can choose suitable compute, networking, storage, and communication services without unnecessary complexity.
Other ways it was asked
- “Which AWS services and microservices patterns would you use when designing a microservices application?”
How do you decide whether to use EC2 or Fargate?
Asked in 2 of 158 interviews · last asked Sep 25 · Concept · Senior
Show answer
I choose EC2 when I need control over servers, special hardware, or lower costs for steady workloads. I choose Fargate for containers when I want AWS to manage the servers and reduce maintenance. I compare workload needs, total cost, and how much infrastructure the team can manage.
- EC2 provides virtual machines; you manage their operating systems, capacity, and patching.
- Fargate runs containers without server management, but limits host access and hardware choices.
- ECS manages containers; EKS manages Kubernetes. Both can run workloads on EC2 or Fargate.
- Compare actual usage and operating costs; neither option is always cheaper.
What the interviewer checks: The interviewer checks whether you can separate container management from compute choices and explain the trade-offs.
Other ways it was asked
- “What is the major difference you have seen between EC2, ECS, EKS, and Fargate?”
How would you deploy containers on AWS EC2, and what tools or platforms would you use?
Asked once · last asked Sep 23 · Design · Mid-level
Which Boto3 EC2 method can list EBS volumes filtered by status?
Asked once · last asked Oct 23 · Concept · Junior
Other ways it was asked
- “How would you use Boto3 to retrieve EBS volumes with the status filter set to available?”
How do you integrate an AWS Application Load Balancer with Kubernetes running on EKS?
Asked once · last asked Sep 29 · Scenario · Senior
Other ways it was asked
- “How do you connect an AWS Application Load Balancer to Kubernetes services in EKS?”
In Amazon EKS, are node groups managed separately from the cluster, or does the cluster manage them?
Asked once · last asked Aug 5 · Concept · Mid-level
How would you write a Python program to list all available EBS volumes?
Asked once · last asked Oct 23 · Write code · Junior
Other ways it was asked
- “How would you write Python code to list all available EBS volumes and delete each one?”
What status should you use to identify EBS volumes that aren’t currently in use?
Asked once · last asked Oct 23 · Concept · Junior
Why would you run an application in Docker on an EC2 instance rather than run it directly on the instance?
Asked once · last asked Mar 20 · Concept · Mid-level
Other ways it was asked
- “Why use Docker on an EC2 instance instead of using the EC2 instance itself as the server?”
What types of EC2 instances and operating systems are available, and how do you secure EC2 instances using security groups?
Asked once · last asked Jun 15 · Concept · Mid-level
How would you deploy an application across multiple EC2 instances and scale the deployment, and what determines how many instances can be updated at once?
Asked once · last asked Jun 15 · Scenario · Mid-level
What is the difference between Azure App Service and Amazon EC2?
Asked once · last asked Jun 15 · Concept · Mid-level
How would you decide whether to run Axway Secure Transport in an EKS cluster or directly on Linux?
Asked once · last asked Jun 18 · Scenario · Mid-level
In AWS, how would you choose among a virtual machine, Kubernetes, or a containerized solution for deployment?
Asked once · last asked Jul 27 · Design · Senior
What is Auto Mode in Amazon EKS?
Asked once · last asked Aug 5 · Concept · Mid-level
Can you walk me through deploying a container to ECS?
Asked once · last asked Aug 30 · Tooling · Mid-level
How would you deploy an application on EC2 across multiple Availability Zones?
Asked once · last asked Sep 10 · Design · Senior
How would you deploy an application running on two EC2 instances behind a load balancer?
Asked once · last asked Sep 10 · Design · Senior
How would you design the deployment of artifacts into an AWS EKS Kubernetes cluster?
Asked once · last asked Sep 17 · Design · Senior
How would you design an AWS deployment for a web application using Docker images that are initially available in US East (N. Virginia)?
Asked once · last asked Sep 17 · Design · Senior
What trade-offs or negatives come with using EC2 instead of Fargate?
Asked once · last asked Sep 25 · Concept · Senior
How would you manage service rollouts and updates on Amazon EKS, and mitigate cold-start problems?
Asked once · last asked Sep 29 · Scenario · Senior
What steps and responsibilities are involved in setting up an EC2 instance for a client application?
Asked once · last asked Oct 15 · Tooling · Mid-level
How would you iterate through a Boto3 response containing EBS volumes and delete each volume?
Asked once · last asked Oct 23 · Write code · Mid-level
What is the difference between stopping and terminating an EC2 instance?
Asked once · last asked Jan 24 · Concept · Junior
Which AWS services can provide GPU-based compute?
Asked once · last asked Nov 4 · Concept · Mid-level
Would you merge two AWS EC2 virtual machine CIs with the same hostname and serial number but different instance IDs, or keep them separate?
Asked once · last asked Nov 10 · Scenario · Senior
What particular attributes would you look for to identify AWS EC2 instances?
Asked once · last asked Nov 10 · Concept · Mid-level
Which attributes would you inspect in ServiceNow IRE to identify AWS EC2 instances?
Asked once · last asked Nov 10 · Tooling · Mid-level
Other ways it was asked
- “Which attributes should you configure in ServiceNow IRE to identify AWS EC2 instances?”
What is Amazon EKS, and what parts of Kubernetes orchestration does AWS manage?
Asked once · last asked Nov 12 · Concept · Mid-level
What would be the selling points for moving from Docker Compose on AWS EC2 instances to Kubernetes?
Asked once · last asked Nov 16 · Scenario · Senior
If you deploy on EC2 or ECS instead of Kubernetes, how would you manage deployment and rollback?
Asked once · last asked Nov 17 · Scenario · Senior
Could you talk about some trade-offs with EKS?
Asked once · last asked Aug 13 · Concept · Senior
Where should Docker images be stored in an AWS deployment architecture?
Asked once · last asked Sep 17 · Concept · Junior
How will the Docker image get pushed to Amazon ECR?
Asked once · last asked Sep 17 · Tooling · Mid-level
What is the purpose of Amazon ECR?
Asked once · last asked Sep 17 · Concept · Junior
Does EKS provide an automatic recovery process?
Asked once · last asked Oct 1 · Concept · Mid-level
How would you use Boto3 to create an Amazon ECS resource?
Asked once · last asked Oct 23 · Write code · Mid-level
How can you perform audio transcription on an Amazon EC2 instance?
Asked once · last asked Oct 26 · Tooling · Mid-level
What do you mean by an AWS-managed EC2 instance?
Asked once · last asked Nov 6 · Concept · Mid-level
What is the difference between Amazon EC2 and Amazon ECS?
Asked once · last asked Nov 20 · Concept · Junior
More AWS interview questions
- All AWS interview questions
- AWS Lambda and Messaging Interview Questions
- AWS S3 and Database Interview Questions
- AWS Security and IAM Interview Questions
How this list is made
Every question here was asked by a real interviewer in a real job interview that a candidate ran MeetAssist in. After the call, the interviewer's questions are pulled from the transcript. Practice sessions, tests, exams and anything that was not a job interview are dropped.
Questions are rewritten so they make sense on their own: names of people, employers and clients are removed, and speech-to-text mistakes are fixed. Small talk, logistics and questions about one candidate's own résumé are left out. Rephrasings of the same question are merged, and the count is the number of different interviews it came up in.
The interviews come from candidates who use MeetAssist, so they lean towards software, data and AI roles: the shares describe these interviews, not every AWS interview. Answers to the most asked questions are written and checked by an editor; a "common mistake" is shown only when reviews of real answers in these interviews show it, with the count.
158 interviews, 106 candidates, Jan 2026 to Nov 2026. Updated every month with new interviews.
Or add the Chrome extension