AWS Certified Solutions Architect Professional SAP-C02 Practice Question

A media-analytics company runs a stateless REST API on Amazon EC2 instances that belong to an Auto Scaling group spread across two Availability Zones and fronted by an Application Load Balancer. Deployments are performed in-place with AWS CodeDeploy, using the default OneAtATime deployment configuration. Product management now mandates that production releases finish in under 1 minute. Brief downtime is acceptable, but every deployment must still roll back automatically if an Amazon CloudWatch alarm reports that more than 5 % of HTTP requests return 5xx errors.

As the lead solutions architect, which change to the deployment strategy will best satisfy the new release-time objective while requiring the least modification to the existing pipeline and still providing automatic rollback?

  • Switch the deployment type to a blue/green deployment that shifts traffic after the new version passes health checks.

  • Replace CodeDeploy with AWS Systems Manager Run Command to execute the installation script on every instance simultaneously and handle any rollback manually.

  • Update the CodeDeploy deployment group to use the predefined configuration CodeDeployDefault.AllAtOnce and retain the existing CloudWatch alarm-based automatic rollback.

  • Create a custom rolling deployment configuration that updates 25 % of instances at a time to reduce risk while shortening overall deployment duration.

AWS Certified Solutions Architect Professional SAP-C02
Continuous Improvement for Existing Solutions
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot