Implement deployment strategies for instance, container, and serverless environments.
20 practice questions under this official exam objective (DOP-C02), each with the answer key, an option-by-option explanation and instant feedback.
Questions under this objective
20 total · page 1 of 1Automating Dedicated License Allocation at Scale
This solution establishes that Amazon DynamoDB is the most effective service for automating dedicated license allocation at scale while supporting a d
AWS S3 Cross-Region Replication for Multi-Region HA
This question tests the configuration of bidirectional Amazon S3 replication to ensure zero data loss during multi-region failover, requiring IAM role
Refactor user data to cfn-init with cfn-hup, and enforce the SSM document with a State Man
User data only runs when an instance boots, so editing it in the CloudFormation template does not update already-running EC2 instances. Refactoring th
Restrict CodeConnections Provider and HA Regions
This guide explains how to restrict AWS CodeConnections to a specific Git provider using SCPs and ensure high availability across Regions by creating
Build the base image in an EC2 Image Builder container recipe and distribute to ECR in all
A standard base image for containers must be built and published weekly to us-west-2, us-east-2, and eu-central-1. EC2 Image Builder is purpose-built
Enable failed batch item reporting on the Lambda function and add an SQS dead-letter queue
Because one invalid message causes an entire batch of ten to fail and return to the queue, the invalid messages are repeatedly retried and block valid
Split the deployment group into an Environment tag group and a Name tag group to require b
Within a single tag group, CodeDeploy treats the listed tags as alternatives, so the existing group matching Environment=Production or Name=Applicatio
Troubleshooting ECS ALB Health Check Failures
Learn how to resolve Amazon ECS service instability caused by premature ALB health check failures during new task deployments using the health check g
Reduce Latency for Lambda Processing Kinesis Logs
This question addresses high latency in an AWS Lambda consumer processing Amazon Kinesis Data Streams logs. The correct steps involve enabling Enhance
Use a Standard workflow with a parallel state started directly by an EventBridge rule on S
The S3 bucket already emits event notifications and the pipeline must orchestrate several processing tasks that run simultaneously for each object. An
Deploy Lambda with a canary configuration and automatic rollback triggered by API Gateway
Because the API and Lambda tiers must be rolled back to the last stable version as soon as errors appear, and customer impact must be minimized, the d
Create the us-east-1 artifact store bucket for CodePipeline and add a deploy action using
The pipeline already produces an additional artifact for us-east-1, so the Region-specific work is the artifact store and the deploy action. Creating
Implement the token check in a CloudFront Function with CloudWatch logging and continuous
The authorization token check must happen at the edge so that CloudFront and S3 can both be protected from direct access, the check activity must be l
Roll the green Auto Scaling group to the new version first, then switch the ALB to the gre
The blue and green environments are represented by separate Auto Scaling groups and ALB target groups, and the deployment must shift traffic all at on
Export the database stack and import its outputs as references in the web application temp
Both teams must keep their own review and lifecycle processes and both need resource-level change-set review, and the software team wants to deploy th
Use a blue/green deployment with the HalfAtATime configuration and the BeforeAllowTraffic
The requirements describe a blue/green deployment on an Application Load Balancer: a replacement fleet is launched automatically with no manual provis
Move containers to AWS Fargate and replace MySQL with the MySQL-compatible Aurora Serverle
The application runs Docker containers on EC2 behind an ALB and talks to a self-managed MySQL database. The fewest-changes path to a serverless archit
Export the bucket name as a CloudFormation output with the StackVariables namespace and de
The S3 bucket is created by a CloudFormation deploy action, so the later S3 deploy action needs the bucket name without it being hard-coded. Adding an
CodeDeploy AppSpec File Mapping Rules
This question tests understanding of AWS CodeDeploy appspec.yml file mapping rules and how multiple entries are processed to determine deployment dest
Point CodeUri at the local folder and deploy with sam deploy, or package the folder and us
The sam deploy command reports no changes because the CodeUri points at an S3 location whose contents are unchanged as far as CloudFormation is concer