Lesson 2 of 2 Approaching DOP-C02 Exam Scenarios

Recognising Recurring Decision Patterns

Many exam questions turn on the same distinctions between similar services or features. This lesson collects the most frequent distinctions from across the guide, grouped by domain, as a structured review. Each entry points to the requirement that decides between the options; the full explanations are in the lessons named in each group.

Learning outcomes

After completing this lesson, you will be able to:

  • Recall the decisive distinctions between similar deployment, pipeline and artifact features.
  • Recall the decisive distinctions between IaC, configuration and governance services.
  • Recall the decisive distinctions in resilience, monitoring and event-response designs.
  • Recall the decisive distinctions between security services and controls.

SDLC Automation

The following distinctions come from the CodeBuild, CodePipeline, CodeDeploy, artifacts and deployment strategy modules.

If the scenario requiresChooseRather than
Human sign-off before productionCodePipeline manual approval (continuous delivery)Continuous deployment
Every change deployed in orderV2 pipeline in QUEUED modeSUPERSEDED mode
Blocking releases outside hours or during alarmsStage entry conditions (deployment window, CloudWatch alarm rules)Custom Lambda checks
Cross-account deploymentTarget-account role, customer managed KMS key, bucket policyAWS managed artifact encryption
Fastest rollback on EC2CodeDeploy blue/greenIn-place deployment
Fewest users exposed to a bad Lambda releaseCodeDeploy canary with alarms (SAM DeploymentPreference)All-at-once
Builds unaffected by public registry outagesCodeArtifact external connectionDirect downloads
Reliable image rollbacksECR tag immutability with unique tagsMutable latest tags
Golden AMIs rebuilt when base images updateEC2 Image Builder pipeline with dependency-update scheduleManual AMI creation
Separating deployment from releaseAppConfig feature flagsLong-lived branches

Configuration Management and IaC

The following distinctions come from the CloudFormation, SAM and CDK, governance, multi-account, Systems Manager and Config modules.

If the scenario requiresChooseRather than
Reviewing changes before applying themCloudFormation change setsDirect updates
Preventing replacement of a database during updatesStack policy, UpdateReplacePolicy and DeletionPolicyTermination protection alone
The same baseline in every account, including new onesService-managed StackSets with automatic deployment, or Control TowerSelf-managed StackSets per account
Blocking non-compliant resources in every stackCloudFormation Hooks or Control Tower proactive controlsPipeline checks only
Self-service with governanceService Catalog with launch constraintsGranting developers broad IAM permissions
Organisation-wide maximum permissionsSCPs (principals) and RCPs (resources)IAM policies per account
Desired-state configuration on instancesState Manager associationsOpsWorks (end of life) or cron scripts
Patching across an organisationPatch Manager patch policies through Quick SetupPer-account maintenance scripts
Central software inventory queryable with SQLInventory with Resource Data Sync and AthenaScripts that log in to instances
Automatic fix of non-compliant resourcesConfig rule remediation with SSM AutomationManual review of reports

Resilience, Monitoring and Event Response

The following distinctions come from the resilience, data, traffic, backup, scaling, monitoring, logging and event modules.

If the scenario requiresChooseRather than
RTO of minutes in another RegionWarm standby (or active/active)Backup and restore
RPO of about one second for a relational database across RegionsAurora Global DatabaseCross-Region snapshots
Multi-Region writes for key-value dataDynamoDB global tablesCustom replication
Replacing instances that fail load balancer checksAuto Scaling health check type ELBEC2 status checks only
Isolating an impaired Availability ZoneARC zonal shift or autoshiftChanging DNS records manually
Backups that survive account compromiseAWS Backup cross-account copy with Vault LockSame-account snapshots
Memory or disk metrics on EC2CloudWatch agentDefault EC2 metrics
Metrics continuously to a third-party tool or S3Metric streams through FirehoseScheduled API polling
Alerting on a log patternMetric filter with an alarmLogs Insights queries run manually
Logs from many accounts in near real timeSubscription filters to a cross-account destinationExport tasks
Reacting to API calls immediatelyEventBridge rule on CloudTrail API call events (IAM in us-east-1)Polling CloudTrail files
Fan-out of one event to several durable consumersSNS to multiple SQS queuesOne queue shared by consumers

Security and Compliance

The following distinctions come from the IAM, security controls, data protection and auditing modules.

If the scenario requiresChooseRather than
Developers creating roles without escalationPermissions boundaries with iam:PermissionsBoundarySCPs alone
Access that scales with many teamsABAC with principal and resource tagsOne role per team
CI/CD from GitHub without stored keysOIDC federation with claim conditionsIAM user access keys
Rotating database credentials without errorsSecrets Manager alternating-users rotation or managed rotationManual password changes
Single view of findings across accounts and RegionsSecurity Hub delegated administrator with aggregationPer-account consoles
Detecting compromised credentials and threatsGuardDutyConfig rules
Investigating scope after a findingAmazon DetectiveGuardDuty alone
Finding personal data in S3Amazon MacieManual sampling
WAF on every ALB in every accountFirewall Manager policyPer-account WAF configuration
Dedicated single-tenant HSMsAWS CloudHSM (optionally as a KMS custom key store)KMS standard keys
Proof that audit logs were not alteredCloudTrail log file integrity validationBucket versioning alone
Detecting unusual API activityCloudTrail Insights and GuardDutyStatic metric filters

Service status

Several services named in older exam material are retired or closed to new customers, including AWS OpsWorks, AWS CodeStar, Amazon DevOps Guru, Systems Manager Incident Manager, AWS App Runner and CloudTrail Lake. Recognise them, but prefer current alternatives when an option offers one.

Scenario questions

Recall the decisive pattern

Exam skills 6.1.1 · 6.1.2 · 6.1.4

Practise the security decisions that recur in DOP-C02 scenarios.

Log in to try this activity Interactive activities are free with an account.

Using This Review

Use these tables as a self-test: cover the Choose column and state the answer and the reason for each requirement. Where the reason is unclear, return to the lesson that covers the topic. Practice exams then show whether the distinctions can be applied under time pressure.

Check yourself

A scenario requires that no account in the organisation can create an unencrypted EBS volume. Which combination is preventive?

Show answer

EBS encryption by default in every account and Region plus an SCP that denies creating volumes when ec2:Encrypted is false. A Config rule would only detect such volumes after creation.

Exam Tips

Remember for the exam

  • Most questions turn on one decisive requirement: ordering, prevention versus detection, RTO and RPO values, scope (organisation, account, Region) or operational overhead.
  • Prefer current services to retired ones (OpsWorks, CodeStar, DevOps Guru, Incident Manager, App Runner, CloudTrail Lake).
  • Use the review tables to test recall, and revisit the relevant lessons for any distinction you cannot explain.