πŸ’‘
Hey β€” It's Sandip Das πŸ‘‹

Most AWS interviews test decision-making, trade-offs, and real-world problem solving, not just definitionsβ€”this guide helps you think like a production cloud engineer.
If you want to confidently design, scale, secure, and troubleshoot AWS architectures under interview pressure, this is a must-read.

⚑ Quick Reference

Keep the momentum going β€” everything you need on LearnXOps in one place:


πŸ‘£
60 Days of DevOps (Complete)
30 Days of MLOps (Complete)
90 Days of Cloud (in progress)

πŸ“š Key Learnings

  • Prepare yourself for scenario-based questions in interviews

🧠 Learn here

Q1.

Your EC2 instance in a private subnet needs internet access to download OS updates. What is the best solution?

A. Attach an Internet Gateway to the subnet
B. Add a NAT Gateway in a public subnet
C. Assign Elastic IP to EC2
D. Use VPC Peering

βœ… Correct Answer: B

Reasoning:
Instances in a private subnet cannot access the internet directly. A NAT Gateway placed in a public subnet allows outbound internet access while keeping the instance private.

Q2.

An application needs temporary AWS credentials to access S3 securely from EC2. What should you use?

A. IAM User with Access Keys
B. IAM Role attached to EC2
C. S3 Bucket Policy only
D. Hard-coded credentials

βœ… Correct Answer: B

Reasoning:
IAM Roles provide temporary credentials, rotate automatically, and are the AWS-recommended best practice for EC2 access.

Q3.

Your website experiences unpredictable traffic spikes. You want automatic scaling with minimal cost. Which service fits best?

A. EC2 with fixed instance count
B. EC2 Auto Scaling Group
C. Lambda
D. On-premise servers

βœ… Correct Answer: C

Reasoning:
AWS Lambda automatically scales per request, has no idle cost, and is ideal for unpredictable traffic.

Q4.

You want to store millions of objects, accessed rarely, at the lowest cost. Which S3 storage class should you use?

A. S3 Standard
B. S3 Intelligent-Tiering
C. S3 Glacier Instant Retrieval
D. S3 Glacier Deep Archive

βœ… Correct Answer: D

Reasoning:
S3 Glacier Deep Archive
offers the lowest storage cost, suitable for long-term archival with rare access.

Q5.

A Lambda function times out while calling a third-party API. What should you do first?

A. Increase EC2 size
B. Increase Lambda timeout
C. Add CloudFront
D. Use S3 instead

βœ… Correct Answer: B

Reasoning:
Lambda has a configurable timeout (up to 15 minutes). Increasing it is the first and simplest fix.

Q6.

You want to decouple two microservices so failures don’t impact each other. Which AWS service is best?

A. SNS
B. SQS
C. EC2 Auto Scaling
D. CloudWatch

βœ… Correct Answer: B

Reasoning:
SQS
enables asynchronous communication, buffering messages so producers and consumers remain independent.

Q7.

Your EC2 instances must be evenly distributed across Availability Zones. What should you use?

A. Placement Group
B. Auto Scaling Group with multiple AZs
C. Single subnet
D. Dedicated Host

βœ… Correct Answer: B

Reasoning:
An Auto Scaling Group spanning multiple AZs ensures high availability and fault tolerance.

Q8.

Which AWS service helps you track API latency and request flow across microservices?

A. CloudWatch Logs
B. AWS X-Ray
C. AWS Config
D. CloudTrail

βœ… Correct Answer: B

Reasoning:
AWS X-Ray
provides distributed tracing, showing request paths, latency, and bottlenecks.

Q9.

You want to restrict S3 bucket access only to your VPC. What should you use?

A. IAM User
B. Security Group
C. VPC Endpoint for S3
D. Internet Gateway

βœ… Correct Answer: C

Reasoning:
A gateway VPC endpoint gives private access to S3 without the public internet, and a bucket policy with an aws:SourceVpce (or aws:SourceVpc) condition denies any request that does not come through it.

Q10.

Your AWS bill suddenly increased due to unused EBS volumes. What should you enable?

A. CloudTrail
B. AWS Budgets
C. Trusted Advisor
D. AWS Shield

βœ… Correct Answer: C

Reasoning:
Trusted Advisor
identifies unused resources, cost optimization opportunities, and best-practice violations.

Q11.

You want to deploy infrastructure using code and ensure repeatable, version-controlled deployments. Which AWS service is best?

A. AWS CLI
B. AWS CloudFormation
C. AWS Console
D. AWS Config

βœ… Correct Answer: B

Reasoning:
CloudFormation
allows you to define infrastructure as code using templates, ensuring consistent and repeatable deployments.

Q12.

Your application requires a highly available relational database with automated backups and failover. Which service should you choose?

A. EC2 with MySQL
B. Amazon RDS Multi-AZ
C. DynamoDB
D. Amazon S3

βœ… Correct Answer: B

Reasoning:
RDS Multi-AZ
provides synchronous replication and automatic failover, ensuring high availability.

Q13.

You want to automatically trigger a Lambda function when an object is uploaded to S3. What should you configure?

A. CloudTrail Event
B. S3 Event Notification
C. CloudWatch Alarm
D. AWS Config Rule

βœ… Correct Answer: B

Reasoning:
S3 Event Notifications
can invoke Lambda functions on events like object uploads.

Q14.

Your application experiences traffic spikes every weekday at 9 AM. What is the most cost-effective scaling strategy?

A. Manual scaling
B. Predictive scaling
C. Scheduled scaling
D. Always-on maximum capacity

βœ… Correct Answer: C

Reasoning:
Scheduled scaling
is ideal for predictable traffic patterns, ensuring capacity is ready when needed without over-provisioning.

Q15.

Which AWS service helps you centrally manage and govern multiple AWS accounts?

A. AWS IAM
B. AWS Organizations
C. AWS Control Tower
D. AWS Trusted Advisor

βœ… Correct Answer: B

Reasoning:
AWS Organizations
allows centralized management, billing, and policy enforcement across multiple AWS accounts.

Q16.

You need to process messages exactly once and in order. Which SQS queue type should you use?

A. Standard Queue
B. FIFO Queue
C. Dead Letter Queue
D. SNS Topic

βœ… Correct Answer: B

Reasoning:
SQS FIFO queues
guarantee exactly-once processing and message ordering.

Q17.

Your application must serve content globally with low latency. Which AWS service should you use?

A. Application Load Balancer
B. Amazon Route 53
C. Amazon CloudFront
D. AWS Global Accelerator

βœ… Correct Answer: C

Reasoning:
CloudFront
is a global CDN that caches content at edge locations, reducing latency for users worldwide.

Q18.

You want to restrict API access based on IP address and protect against common web attacks. What should you use?

A. Security Groups
B. Network ACL
C. AWS WAF
D. IAM Policies

βœ… Correct Answer: C

Reasoning:
AWS WAF
protects applications from common web exploits and allows IP-based access control.

Q19.

Your EC2 instance storage should persist even after the instance is terminated. Which storage type should you use?

A. Instance Store
B. Amazon EBS
C. Amazon S3
D. Amazon EFS

βœ… Correct Answer: B

Reasoning:
EBS volumes are independent of the EC2 lifecycle and persist after termination when DeleteOnTermination is false (root volumes default to true).

Q20.

You want to monitor CPU utilization and trigger scaling automatically. What should you configure?

A. AWS Config
B. CloudWatch Logs
C. CloudWatch Alarms
D. CloudTrail

βœ… Correct Answer: C

Reasoning:
CloudWatch Alarms
can monitor metrics like CPU utilization and trigger Auto Scaling actions.

Q21.

Your application needs shared file storage that can be mounted on multiple EC2 instances simultaneously. Which AWS service should you use?

A. Amazon EBS
B. Amazon S3
C. Amazon EFS
D. Instance Store

βœ… Correct Answer: C

Reasoning:
Amazon EFS
provides a shared, elastic file system that can be mounted by multiple EC2 instances at the same time.

Q22.

You want to route traffic to the closest AWS region for lowest latency. Which Route 53 routing policy should you use?

A. Weighted Routing
B. Failover Routing
C. Geolocation Routing
D. Latency-Based Routing

βœ… Correct Answer: D

Reasoning:
Latency-based routing
directs users to the region that provides the lowest network latency.

Q23.

You need to audit who changed a security group rule last week. Which AWS service provides this information?

A. AWS Config
B. Amazon CloudWatch
C. AWS CloudTrail
D. Trusted Advisor

βœ… Correct Answer: C

Reasoning:
CloudTrail
records all API calls, including who made changes and when.

Q24.

Your application must handle sudden traffic spikes without managing servers. Which architecture is best?

A. EC2 with Auto Scaling
B. ECS on EC2
C. Serverless using Lambda + API Gateway
D. On-premise deployment

βœ… Correct Answer: C

Reasoning:
Serverless architecture automatically scales and removes server management overhead.

Q25.

Which AWS service helps you automatically enforce compliance rules like β€œS3 buckets must not be public”?

A. AWS CloudTrail
B. AWS Config
C. IAM Access Analyzer
D. AWS Shield

βœ… Correct Answer: B

Reasoning:
AWS Config
evaluates resource configurations against defined compliance rules.

Q26.

You want to ensure application containers restart automatically if they crash. Which service provides this out of the box?

A. AWS Lambda
B. Amazon ECS
C. AWS CodeDeploy
D. AWS Batch

βœ… Correct Answer: B

Reasoning:
ECS
automatically restarts failed containers to maintain desired state.

Q27.

Your DynamoDB table needs to scale automatically based on traffic. What should you enable?

A. Manual Capacity
B. DynamoDB Streams
C. Auto Scaling
D. Global Tables

βœ… Correct Answer: C

Reasoning:
DynamoDB Auto Scaling
adjusts read/write capacity automatically based on demand.

Q28.

You want zero-downtime deployments for your EC2-based application. Which deployment strategy should you use?

A. In-place deployment
B. Blue/Green deployment
C. Rolling update
D. Manual deployment

βœ… Correct Answer: B

Reasoning:
Blue/Green deployments
shift traffic between environments, enabling zero downtime and easy rollback.

Q29.

Which AWS service is best suited for real-time log analysis and visualization?

A. CloudTrail
B. AWS X-Ray
C. CloudWatch Logs Insights
D. AWS Config

βœ… Correct Answer: C

Reasoning:
CloudWatch Logs Insights
allows fast querying and visualization of log data.

Q30.

Your organization wants to receive alerts when AWS costs exceed a threshold. What should you configure?

A. Trusted Advisor
B. AWS Budgets
C. AWS Cost Explorer
D. AWS Organizations

βœ… Correct Answer: B

Reasoning:
AWS Budgets
provides alerts when cost or usage exceeds defined limits.

Q31.

You want to run containerized applications without managing servers and only pay for resources used. Which service should you choose?

A. ECS on EC2
B. EKS on EC2
C. AWS Fargate
D. EC2 Auto Scaling

βœ… Correct Answer: C

Reasoning:
AWS Fargate
is serverless for containers, eliminating server management and charging only for used resources.

Q32.

Which AWS service provides DDoS protection for your application?

A. AWS WAF
B. AWS Shield
C. Amazon GuardDuty
D. AWS Inspector

βœ… Correct Answer: B

Reasoning:
AWS Shield
protects applications against DDoS attacks, with Shield Standard enabled by default.

Q33.

You want to store session data for a high-traffic web application with sub-millisecond latency. Which service fits best?

A. Amazon RDS
B. Amazon DynamoDB
C. Amazon ElastiCache
D. Amazon S3

βœ… Correct Answer: C

Reasoning:
ElastiCache (Redis/Memcached)
provides in-memory storage with extremely low latency.

Q34.

You want to restrict SSH access to EC2 instances from a specific IP range. Where should you configure this?

A. IAM Policy
B. Security Group
C. Route Table
D. AWS WAF

βœ… Correct Answer: B

Reasoning:
Security Groups
control inbound and outbound traffic at the instance level.

Q35.

Which AWS service detects unusual or malicious activity using machine learning?

A. AWS Shield
B. AWS WAF
C. Amazon GuardDuty
D. AWS Inspector

βœ… Correct Answer: C

Reasoning:
GuardDuty
analyzes logs using ML to detect suspicious behavior and threats.

Q36.

Your application must survive an entire region failure. What architecture should you use?

A. Multi-AZ
B. Single region
C. Multi-region active-active
D. Single Availability Zone

βœ… Correct Answer: C

Reasoning:
Only multi-region architectures can handle complete regional outages.

Q37.

You want to ensure data is encrypted at rest in S3. What should you enable?

A. SSL
B. S3 Versioning
C. Server-Side Encryption
D. MFA Delete

βœ… Correct Answer: C

Reasoning:
Server-Side Encryption (SSE) encrypts data stored in S3. Since January 2023, S3 applies SSE-S3 to every new object by default; choose SSE-KMS when you need your own keys and key-usage audit.

Q38.

You want to allow users to log in using Google or Facebook credentials. Which AWS service supports this?

A. IAM
B. AWS Directory Service
C. Amazon Cognito
D. AWS SSO

βœ… Correct Answer: C

Reasoning:
Amazon Cognito
supports federated identity providers like Google and Facebook.

Q39.

Which AWS service helps you perform automated security assessments on EC2 instances?

A. AWS GuardDuty
B. AWS Inspector
C. AWS Shield
D. AWS Config

βœ… Correct Answer: B

Reasoning:
AWS Inspector
scans EC2 instances for vulnerabilities and security issues.

Q40.

You want to deploy application code automatically when a new commit is pushed to Git. Which service should you use?

A. AWS CodeCommit
B. AWS CodeBuild
C. AWS CodeDeploy
D. AWS CodePipeline

βœ… Correct Answer: D

Reasoning:
CodePipeline
orchestrates CI/CD workflows and integrates with Git repositories.

Q41.

Your application needs to process large data files in parallel. Which AWS service is best suited?

A. AWS Lambda
B. AWS Batch
C. Amazon EC2 (single instance)
D. Amazon Lightsail

βœ… Correct Answer: B

Reasoning:
AWS Batch
efficiently runs large-scale parallel and batch computing jobs.

Q42.

You want to create private connectivity between your on-prem data center and AWS with consistent performance. What should you use?

A. VPN
B. AWS Direct Connect
C. VPC Peering
D. Transit Gateway

βœ… Correct Answer: B

Reasoning:
Direct Connect
provides a dedicated private connection with predictable performance.

Q43.

Which service allows you to stream real-time data from multiple producers?

A. Amazon SQS
B. Amazon SNS
C. Amazon Kinesis Data Streams
D. AWS Step Functions

βœ… Correct Answer: C

Reasoning:
Kinesis Data Streams
is designed for real-time data ingestion and processing.

Q44.

Your EC2 instance must automatically recover if it becomes impaired. What should you configure?

A. Auto Scaling
B. EC2 Auto Recovery
C. CloudWatch Logs
D. AWS Backup

βœ… Correct Answer: B

Reasoning:
EC2 Auto Recovery
automatically recovers the instance on hardware failure.

Q45.

You want to enforce least privilege access across your AWS environment. What is the best practice?

A. Use root account
B. Grant admin access to all users
C. Use IAM roles and scoped policies
D. Share credentials

βœ… Correct Answer: C

Reasoning:
Least privilege is achieved by scoping IAM policies and using roles instead of users.

Q46.

Your Lambda function needs to access resources inside a VPC. What is required?

A. Internet Gateway
B. NAT Gateway
C. VPC Configuration for Lambda
D. Elastic IP

βœ… Correct Answer: C

Reasoning:
Lambda must be configured with VPC subnets and security groups to access private resources.

Q47.

Which AWS service provides fully managed GraphQL APIs?

A. API Gateway
B. AWS AppSync
C. AWS Lambda
D. Amazon Cognito

βœ… Correct Answer: B

Reasoning:
AWS AppSync
is a fully managed service for GraphQL APIs.

Q48.

You want to automatically back up EC2 and RDS resources. Which service should you use?

A. AWS Backup
B. Amazon S3
C. AWS CloudFormation
D. AWS Config

βœ… Correct Answer: A

Reasoning:
AWS Backup
centralizes and automates backups across AWS services.

Q49.

Your company wants to prevent accidental deletion of S3 objects. What should you enable?

A. Encryption
B. Versioning
C. Lifecycle Policy
D. Cross-Region Replication

βœ… Correct Answer: B

Reasoning:
S3 Versioning
keeps multiple versions of objects, allowing recovery from accidental deletions.

Q50.

Which AWS service helps you visualize and analyze AWS spending trends?

A. AWS Budgets
B. Trusted Advisor
C. AWS Cost Explorer
D. AWS Organizations

βœ… Correct Answer: C

Reasoning:
Cost Explorer
provides detailed cost analysis, trends, and forecasting.

Q51.

Your application needs to coordinate multiple Lambda functions with retries and error handling. Which AWS service should you use?

A. Amazon SNS
B. Amazon SQS
C. AWS Step Functions
D. AWS Batch

βœ… Correct Answer: C

Reasoning:
AWS Step Functions
orchestrates workflows with retries, parallel execution, and error handling.

Q52.

You want to protect sensitive data stored in S3 using customer-managed encryption keys. Which service should you use?

A. SSE-S3
B. SSE-KMS
C. Client-side encryption only
D. SSL

βœ… Correct Answer: B

Reasoning:
SSE-KMS
allows encryption using customer-managed KMS keys with audit and control.

Q53.

Your application must handle millions of API requests per second globally. Which service is best suited?

A. Application Load Balancer
B. Amazon CloudFront + API Gateway
C. Network Load Balancer
D. EC2 behind ALB

βœ… Correct Answer: B

Reasoning:
CloudFront + API Gateway
provides global edge caching and massive scalability.

Q54.

Which AWS service allows you to centrally manage network connectivity across multiple VPCs and on-prem networks?

A. VPC Peering
B. AWS Transit Gateway
C. Internet Gateway
D. NAT Gateway

βœ… Correct Answer: B

Reasoning:
Transit Gateway
acts as a hub for scalable, centralized network connectivity.

Q55.

You want to throttle API requests and protect backend services. Which AWS service feature should you use?

A. Lambda timeout
B. API Gateway usage plans
C. Auto Scaling
D. CloudWatch Logs

βœ… Correct Answer: B

Reasoning:
API Gateway usage plans
enable rate limiting and throttling.

Q56.

Your EC2 instances require patch management and compliance reporting. Which AWS service should you use?

A. AWS Config
B. AWS Systems Manager
C. AWS Inspector
D. CloudWatch

βœ… Correct Answer: B

Reasoning:
AWS Systems Manager
provides patching, automation, and compliance reporting.

Q57.

You want to replicate data across regions automatically for disaster recovery. Which service should you use?

A. S3 Versioning
B. S3 Cross-Region Replication
C. AWS Backup
D. CloudFront

βœ… Correct Answer: B

Reasoning:
Cross-Region Replication (CRR)
automatically copies S3 objects to another region.

Q58.

Which AWS service provides managed secrets rotation for databases?

A. AWS KMS
B. AWS Secrets Manager
C. AWS Parameter Store
D. AWS IAM

βœ… Correct Answer: B

Reasoning:
Secrets Manager
securely stores secrets and supports automatic rotation.

Q59.

Your application requires exactly-once workflow execution and state tracking. Which service fits best?

A. AWS Lambda
B. Amazon SQS
C. AWS Step Functions
D. Amazon SNS

βœ… Correct Answer: C

Reasoning:
Step Functions Standard workflows run exactly once and manage state, retries, and execution history (Express workflows are at-least-once).

Q60.

You want to automatically scale Kubernetes pods based on CPU usage in EKS. What should you configure?

A. Cluster Autoscaler
B. Horizontal Pod Autoscaler
C. Karpenter
D. Auto Scaling Group

βœ… Correct Answer: B

Reasoning:
HPA
scales pods based on metrics like CPU and memory usage.

Q61.

You want to automatically provision EC2 capacity for Kubernetes pods based on workload demand in EKS. Which service should you use?

A. Auto Scaling Groups
B. Cluster Autoscaler
C. Karpenter
D. Horizontal Pod Autoscaler

βœ… Correct Answer: C

Reasoning:
Karpenter
dynamically provisions right-sized EC2 instances for EKS workloads based on pod requirements.

Q62.

Your application needs read scalability and low-latency global access for DynamoDB. What should you enable?

A. DynamoDB Streams
B. On-demand capacity
C. DynamoDB Global Tables
D. DAX

βœ… Correct Answer: C

Reasoning:
Global Tables
replicate DynamoDB data across regions for low-latency global reads.

Q63.

Which AWS service provides centralized logging for VPC network traffic?

A. CloudTrail
B. VPC Flow Logs
C. AWS X-Ray
D. GuardDuty

βœ… Correct Answer: B

Reasoning:
VPC Flow Logs
capture IP traffic metadata for network monitoring and troubleshooting.

Q64.

You want to restrict outbound internet access from a private subnet while allowing AWS service access. What should you use?

A. Internet Gateway
B. NAT Gateway
C. VPC Endpoint
D. VPC Peering

βœ… Correct Answer: C

Reasoning:
VPC Endpoints
allow private access to AWS services without internet exposure.

Q65.

Your workload requires GPU acceleration with minimal operational overhead. Which service is best?

A. EC2 GPU instances
B. EKS Auto Mode
C. ECS on EC2
D. Lambda

βœ… Correct Answer: B

Reasoning:
EKS Auto Mode
simplifies running GPU workloads by automating infrastructure management.

Q66.

Which AWS service helps you centrally manage DNS across multiple domains?

A. AWS CloudFront
B. Amazon Route 53
C. AWS Global Accelerator
D. AWS Direct Connect

βœ… Correct Answer: B

Reasoning:
Route 53
provides scalable and highly available DNS management.

Q67.

You want to enforce service-to-service authentication inside EKS using mutual TLS. What should you use?

A. AWS WAF
B. IAM Roles for Service Accounts
C. Istio Service Mesh
D. Security Groups

βœ… Correct Answer: C

Reasoning:
Istio
provides mTLS, traffic management, and observability for microservices.

Q68.

Which AWS service automatically detects compromised IAM credentials?

A. AWS Inspector
B. AWS Shield
C. Amazon GuardDuty
D. AWS Config

βœ… Correct Answer: C

Reasoning:
GuardDuty uses ML to detect anomalous API behavior indicating compromised credentials.

Q69.

Your organization wants fine-grained access control to S3 objects. What should you use?

A. Bucket Policies only
B. IAM Policies only
C. S3 Access Points
D. ACLs

βœ… Correct Answer: C

Reasoning:
S3 Access Points
simplify managing access policies at scale with fine-grained controls.

Q70.

You want to automate infrastructure drift detection. Which AWS service should you use?

A. AWS CloudTrail
B. AWS Config
C. AWS CloudFormation Drift Detection
D. AWS Systems Manager

βœ… Correct Answer: C

Reasoning:
CloudFormation Drift Detection
identifies configuration changes made outside templates.

Q71.

Your application needs a fully managed message fan-out system to notify multiple subscribers simultaneously. Which AWS service should you use?

A. Amazon SQS
B. Amazon SNS
C. Amazon EventBridge
D. AWS Step Functions

βœ… Correct Answer: B

Reasoning:
SNS
supports fan-out messaging, pushing messages to multiple subscribers (SQS, Lambda, HTTP, email).

Q72.

You want to detect configuration changes to AWS resources and maintain a history. Which service should you use?

A. AWS CloudTrail
B. AWS Config
C. Amazon Inspector
D. AWS Trusted Advisor

βœ… Correct Answer: B

Reasoning:
AWS Config
tracks resource configuration changes and maintains historical records.

Q73.

Your application must perform long-running background jobs (up to several hours). Which service is best suited?

A. AWS Lambda
B. Amazon ECS / AWS Batch
C. Amazon SNS
D. API Gateway

βœ… Correct Answer: B

Reasoning:
ECS or AWS Batch
supports long-running jobs, unlike Lambda’s 15-minute limit.

Q74.

You want to route traffic only to healthy resources across regions. Which Route 53 feature enables this?

A. Weighted Routing
B. Latency Routing
C. Health Checks
D. Geolocation Routing

βœ… Correct Answer: C

Reasoning:
Route 53 Health Checks
ensure traffic is routed only to healthy endpoints.

Q75.

Which AWS service helps you analyze security posture and get compliance recommendations?

A. Amazon GuardDuty
B. AWS Security Hub
C. AWS Shield
D. AWS Inspector

βœ… Correct Answer: B

Reasoning:
Security Hub
aggregates findings from multiple services and provides compliance insights.

Q76.

Your application needs event-driven integration between AWS services without managing infrastructure. Which service fits best?

A. Amazon SNS
B. Amazon SQS
C. Amazon EventBridge
D. AWS Step Functions

βœ… Correct Answer: C

Reasoning:
EventBridge
enables event-driven architectures with native AWS service integrations.

Q77.

You want to store and retrieve Docker images securely in AWS. Which service should you use?

A. Amazon S3
B. AWS CodeCommit
C. Amazon ECR
D. Amazon ECS

βœ… Correct Answer: C

Reasoning:
Amazon ECR
is a fully managed container image registry.

Q78.

Your EC2 instances should automatically join a domain and authenticate centrally. Which service should you use?

A. IAM
B. AWS Directory Service
C. Amazon Cognito
D. AWS SSO

βœ… Correct Answer: B

Reasoning:
AWS Directory Service
integrates EC2 instances with Microsoft AD or managed directories.

Q79.

Which AWS service helps you query data directly from S3 using SQL?

A. Amazon Redshift
B. Amazon Athena
C. AWS Glue
D. Amazon EMR

βœ… Correct Answer: B

Reasoning:
Athena
allows serverless SQL queries directly on S3 data.

Q80.

You want to limit blast radius by isolating workloads within AWS. What is the best approach?

A. Single VPC
B. Multiple Availability Zones
C. Multiple AWS Accounts
D. Single Region

βœ… Correct Answer: C

Reasoning:
Using multiple AWS accounts provides strong isolation and reduces blast radius.

Q81.

Your application needs to store secrets like DB passwords and retrieve them securely at runtime. What is the best service?

A. Environment variables
B. AWS KMS
C. AWS Secrets Manager
D. S3

βœ… Correct Answer: C

Reasoning:
Secrets Manager
securely stores secrets, integrates with services, and supports automatic rotation.

Q82.

You want to automatically rollback a deployment if health checks fail. Which AWS service supports this?

A. AWS CodeBuild
B. AWS CodeDeploy
C. AWS CodeCommit
D. AWS CloudFormation

βœ… Correct Answer: B

Reasoning:
CodeDeploy
supports automatic rollback based on deployment health checks.

Q83.

Your workload requires high-throughput, low-latency networking between EC2 instances. Which feature should you use?

A. Elastic IP
B. Placement Group (Cluster)
C. NAT Gateway
D. Internet Gateway

βœ… Correct Answer: B

Reasoning:
Cluster Placement Groups
provide low-latency, high-bandwidth networking between instances.

Q84.

You want to control outbound traffic from EC2 instances to the internet. Where should you configure this?

A. IAM Policy
B. Security Group
C. Network ACL
D. Route Table

βœ… Correct Answer: B

Reasoning:
Security Groups
control both inbound and outbound traffic at the instance level.

Q85.

Which AWS service helps you automatically scale read traffic for relational databases?

A. RDS Multi-AZ
B. RDS Read Replicas
C. DynamoDB
D. Aurora Serverless

βœ… Correct Answer: B

Reasoning:
Read Replicas
offload read traffic and improve scalability for relational databases.

Q86.

Your organization wants to centrally manage IAM access across accounts. Which service should you use?

A. AWS IAM
B. AWS Organizations
C. AWS IAM Identity Center (SSO)
D. AWS Control Tower

βœ… Correct Answer: C

Reasoning:
IAM Identity Center (SSO)
provides centralized identity and access management across accounts.

Q87.

You want to ensure EC2 instances use the latest approved AMIs automatically. Which service helps with this?

A. AWS Config
B. AWS Systems Manager Automation
C. AWS Inspector
D. AWS CloudTrail

βœ… Correct Answer: B

Reasoning:
Systems Manager Automation
can enforce AMI usage and automate updates.

Q88.

Your application needs event replay and schema validation for events. Which service supports this?

A. Amazon SNS
B. Amazon SQS
C. Amazon EventBridge
D. AWS Step Functions

βœ… Correct Answer: C

Reasoning:
EventBridge
supports event schemas, replay, and event-driven architectures.

Q89.

You want to automatically archive old logs to a cheaper storage tier. What should you use?

A. CloudWatch Alarms
B. S3 Lifecycle Policies
C. AWS Backup
D. CloudTrail

βœ… Correct Answer: B

Reasoning:
Lifecycle policies
move data to lower-cost storage automatically based on age.

Q90.

Which AWS service helps you optimize EC2 instance pricing by committing to usage?

A. Spot Instances
B. Reserved Instances / Savings Plans
C. On-Demand Instances
D. Dedicated Hosts

βœ… Correct Answer: B

Reasoning:
Reserved Instances and Savings Plans
reduce cost by committing to long-term usage.

Q91.

Your application needs automatic failover for a global application. Which AWS service helps route traffic during failures?

A. Application Load Balancer
B. Amazon CloudFront
C. Amazon Route 53
D. AWS Global Accelerator

βœ… Correct Answer: C

Reasoning:
Route 53
supports DNS failover using health checks to route traffic away from unhealthy endpoints.

Q92.

You want to analyze application performance bottlenecks across distributed services. Which service should you use?

A. AWS CloudTrail
B. Amazon GuardDuty
C. AWS X-Ray
D. AWS Config

βœ… Correct Answer: C

Reasoning:
X-Ray
provides end-to-end tracing to identify latency and errors in distributed applications.

Q93.

Your organization wants to standardize and automate account setup with security guardrails. Which service is best?

A. AWS Organizations
B. AWS IAM
C. AWS Control Tower
D. AWS Config

βœ… Correct Answer: C

Reasoning:
AWS Control Tower
sets up and governs multi-account environments with best practices.

Q94.

You need to filter and transform streaming data in real time. Which AWS service is ideal?

A. Amazon Kinesis Data Streams
B. Amazon Data Firehose
C. Amazon Managed Service for Apache Flink (formerly Kinesis Data Analytics)
D. Amazon SQS

βœ… Correct Answer: C

Reasoning:
Managed Service for Apache Flink runs Flink applications that filter and transform streams in real time. The SQL-based Kinesis Data Analytics applications were retired in January 2026.

Q95.

Your Lambda function needs to access AWS resources across multiple accounts securely. What should you use?

A. Access Keys
B. Cross-account IAM Role
C. Root account
D. VPC Peering

βœ… Correct Answer: B

Reasoning:
Cross-account IAM roles
allow secure, temporary access without sharing credentials.

Q96.

You want to ensure compliance with encryption policies across AWS resources. Which service helps enforce this?

A. AWS CloudTrail
B. AWS Config
C. Amazon Inspector
D. AWS Shield

βœ… Correct Answer: B

Reasoning:
AWS Config
evaluates resources against compliance rules like encryption requirements.

Q97.

Your application requires sub-millisecond latency for read-heavy workloads. Which service is best?

A. Amazon RDS
B. Amazon DynamoDB
C. Amazon ElastiCache
D. Amazon Aurora

βœ… Correct Answer: C

Reasoning:
ElastiCache
(Redis/Memcached) provides in-memory access with extremely low latency.

Q98.

You want to audit all API activity across your AWS account. Which service provides this?

A. CloudWatch
B. AWS Config
C. AWS CloudTrail
D. AWS X-Ray

βœ… Correct Answer: C

Reasoning:
CloudTrail
records all AWS API calls for auditing and compliance.

Q99.

Your application must be highly available within a region. What is the minimum recommended setup?

A. Single EC2 instance
B. Multiple EC2 instances in one AZ
C. Multiple EC2 instances across multiple AZs
D. Single AZ with Auto Scaling

βœ… Correct Answer: C

Reasoning:
Deploying across multiple AZs protects against AZ-level failures.

Q100.

You want to design AWS workloads following best practices for reliability, security, and cost. Which framework should you follow?

A. AWS CAF
B. AWS Shared Responsibility Model
C. AWS Well-Architected Framework
D. AWS Landing Zone

βœ… Correct Answer: C

Reasoning:
The AWS Well-Architected Framework provides best practices across core pillars.


Challenges

  • Submit answers for below questions in the comment section

Q1.

Your application runs on EC2 instances in a private subnet and must securely access Amazon S3 without using the public internet.
Which solution would you choose?

A. Internet Gateway + Security Group
B. NAT Gateway in a public subnet
C. VPC Gateway Endpoint for S3
D. VPC Peering with S3


Q2.

A production API starts returning 5xx errors during traffic spikes.
Which AWS components should you investigate first?

A. CloudTrail logs and IAM policies
B. ALB target health, Auto Scaling metrics, and CloudWatch alarms
C. S3 access logs and bucket policies
D. Route 53 hosted zones


Q3.

You need a cost-optimized compute solution for a workload that runs 4 hours per day and can tolerate interruptions.
Which option is most suitable?

A. On-Demand EC2
B. Reserved Instances
C. Spot Instances
D. Dedicated Hosts


Q4.

An organization wants to enforce:

β€œAll S3 buckets must be encrypted and must not be public.”
Which AWS services would best achieve this?

A. CloudTrail only
B. AWS Config rules + IAM policies
C. AWS Shield + WAF
D. Trusted Advisor only


Q5.

A serverless application must process messages in order and exactly once.
Which service should you use?

A. Amazon SNS
B. Amazon SQS Standard Queue
C. Amazon SQS FIFO Queue
D. Amazon EventBridge


Q6.

Your EKS cluster experiences node shortages during sudden traffic spikes.
Which solution best addresses this issue?

A. Horizontal Pod Autoscaler only
B. Cluster Autoscaler with fixed node groups
C. Karpenter with dynamic provisioning
D. Manual node scaling


Q7.

The security team detects unusual API calls from an IAM role.
Which services would help you investigate?

A. AWS CloudTrail and Amazon GuardDuty
B. AWS Config and Trusted Advisor
C. AWS WAF and Shield
D. Amazon Inspector only


Q8.

You need zero-downtime deployments with instant rollback for an EC2-based application.
Which approach is best?

A. In-place deployment
B. Blue/Green deployment using CodeDeploy
C. Manual deployment
D. Stop and replace instances


Q9.

Your application must provide low-latency global access and remain available even if an entire AWS region fails.
Which architecture would you choose?

A. Single-region Multi-AZ
B. Multi-region active-active with Route 53
C. Single-region Auto Scaling
D. CloudFront only


Q10.

Your AWS bill increased unexpectedly.
Which tools would help you identify the exact resource and usage pattern?

A. AWS Budgets only
B. AWS Cost Explorer and CloudWatch
C. AWS Shield and GuardDuty
D. AWS Config only


🀷🏻 How to Participate?

βœ… Complete the tasks and challenges.
βœ… Document your progress and key takeaways on GitHub ReadMe, Medium, or Hashnode.
βœ… Share the above in a LinkedIn post tagging me (Sandip Das), and use #90DaysOfCloud to engage with the community!


⚑ Quick Reference

Keep the momentum going β€” everything you need on LearnXOps in one place:

Share this post