AWS Certified DevOps Engineer – Professional practice questions

209 free questions with answers and explanations.

Practice test
  1. 201.A company uses AWS CodePipeline for its CI/CD workflows. They have implemented automated testing, but occasionally, a faulty deployment still makes it to production, causing critical application failures. The DevOps team needs to implement a mechanism that automatically reverts the application to the last known good state if specific CloudWatch Alarms are triggered shortly after a production deployment. Which CodePipeline feature should they configure to achieve this?Incident and Event Response
  2. 202.A global e-commerce company uses AWS Lambda functions for its serverless backend. During peak sales events, they observe occasional spikes in error rates for specific Lambda functions. They need an automated solution to detect these anomalies in real-time and trigger an alert to the operations team without setting static thresholds, which are difficult to maintain due to fluctuating traffic patterns. Which AWS service should the DevOps team implement for this purpose?Incident and Event Response
  3. 203.A DevOps team manages a critical microservices application deployed on Amazon EKS. They are experiencing intermittent performance degradation, and the root cause is difficult to pinpoint due to the distributed nature of the services. The team needs a solution that can trace requests across multiple microservices, identify bottlenecks, and visualize the service dependencies in real-time. Which AWS service would be most effective for this requirement?Incident and Event Response
  4. 204.A media streaming company uses Amazon EC2 instances to transcode video files. These instances are part of an Auto Scaling group. The transcoding jobs are published to an Amazon SQS queue, and the EC2 instances pull messages from this queue. The company observes that during peak hours, the queue backlog grows rapidly, leading to increased processing latency. During off-peak hours, many instances are idle, leading to unnecessary costs. The company needs a solution that automatically scales the EC2 instances based on the number of messages in the SQS queue to optimize costs and maintain low processing latency. Which Auto Scaling policy type should be configured?Resilient Cloud Solutions
  5. 205.A financial services company utilizes AWS for its critical applications and has strict regulatory requirements for data integrity and immutability. They need to ensure that once an object is written to an Amazon S3 bucket, it cannot be altered or deleted for a specific retention period. This requirement applies to all new objects uploaded to a particular S3 bucket. Which S3 feature should the DevOps team implement to meet this requirement with the LEAST operational overhead?Incident and Event Response
  6. 206.A DevOps team manages a fleet of Amazon EC2 instances running a critical web application. They need to ensure that all EC2 instances automatically have specific security agents installed and are configured correctly upon launch and throughout their lifecycle. Manual intervention for each instance is not scalable or compliant. Which AWS service combination should the team use to achieve this automated, continuous enforcement?Incident and Event Response
  7. 207.A global media company uses Amazon S3 for storing large video files that are accessed by a global audience. The company wants to optimize content delivery by caching frequently accessed content closer to users to reduce latency and offload requests from the origin S3 bucket. They also need to ensure that dynamic content, such as personalized user manifests, is served fresh, while static assets benefit from aggressive caching. Which AWS service should they use to achieve these requirements?Resilient Cloud Solutions
  8. 208.A global e-commerce company uses Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer (ALB) for its product catalog service. During peak sales events, the service experiences intermittent latency spikes and occasional errors, even though CPU utilization on the EC2 instances remains low. Further investigation reveals that the latency spikes correlate with a rapid increase in traffic, and the Auto Scaling group often takes several minutes to launch new instances and register them with the ALB. Which configuration adjustment would most effectively mitigate these latency spikes and improve responsiveness during traffic surges?Resilient Cloud Solutions
  9. 209.A global e-commerce company operates a highly available web application across multiple AWS Regions. The application uses Amazon EC2 instances in Auto Scaling groups behind Application Load Balancers (ALBs). The company wants to implement a disaster recovery strategy that ensures minimal downtime and data loss in the event of a regional outage. They need to be able to quickly switch all user traffic to a healthy region and restore database functionality without manual intervention. Which disaster recovery strategy should the company implement?Resilient Cloud Solutions