Question 80

A cross-team infrastructure plan specifies 2 measurable outcomes: (1) keep cacheable web content reachable if the primary origin fails; (2) allow Linux application instances in multiple zones to access a common managed file system. Which TWO solutions address them? Choose TWO.

  1. Use an Aurora Global Database with secondary Region clusters
  2. Use ElastiCache replication groups spanning multiple Availability Zones
  3. Use EFS mount targets in each client Availability Zone
  4. Configure DynamoDB global tables for multi-Region active-active access
  5. Use an RDS cross-Region read replica where the engine supports it
  6. Use CloudFront origins with origin failover for eligible requests

Explanation

Correct Answers

C:

EFS mount targets provide VPC network access to a Regional shared file system from selected zones; among the listed outcomes, it addresses allow Linux application instances in multiple zones to access a common managed file system, rather than merely contributing a related signal or support step.

F:

The corresponding obligation is to keep cacheable web content reachable if the primary origin fails. CloudFront origin groups can switch eligible requests to a secondary origin on configured primary failures; that behavior is the reason this action belongs in the selected answer set.

Incorrect Answers

A:

Aurora Global Database replicates from a primary cluster to secondary regional clusters for reads and recovery; that would be appropriate to provide low-latency cross-Region database reads and a regional recovery path, but this is a different objective from the numbered obligations in the stem.

B:

This mechanism supports the ability to improve availability of supported Redis or Valkey cache workloads: supported ElastiCache replication groups use replicas and automatic failover to recover from primary loss; it would not satisfy a different obligation just by appearing in the same workflow.

D:

DynamoDB global tables replicate data among participating Regions and support multi-Region writes; if the requirement were to allow application writes in more than one AWS Region with replication, that would matter; the requested outcomes are separate from the one this option addresses.

E:

Cross-Region read replicas copy database changes asynchronously and can be promoted under supported conditions; that would be appropriate to provide off-Region read capacity and a possible promotion-based recovery option, but this is a different objective from the numbered obligations in the stem.

Question 81

The cloud operations group selects this control: Enable Secrets Manager rotation with a supported rotation strategy. What associated scope or dependency matters most when using it to rotate an application database password without manual quarterly updates?

  1. Consumers must retrieve the current secret value and rotation must preserve application availability
  2. The customer role should verify an agreed external identifier supplied by the trusted provider
  3. Trusted principal tags and resource tags must use consistent authorized values
  4. Corporate authentication and AWS account assignments must work together

Explanation

Correct Answer

A:

The requested behavior is to rotate an application database password without manual quarterly updates, and consumers must retrieve the current secret value and rotation must preserve application availability. The underlying AWS behavior is that Secrets Manager rotation workflows update stored credentials and, with integration, the underlying service credential.

Incorrect Answers

B:

The proposed condition makes sense in an implementation designed to reduce confused-deputy risk when a SaaS vendor assumes customer roles. It concerns the sts:ExternalId condition helps a provider distinguish authorized cross-account assume-role requests, whereas this question tests the prerequisite of the named control.

C:

This proposed constraint belongs to a separate objective: trusted principal tags and resource tags must use consistent authorized values; the corresponding goal is to grant access to project-matching resources without enumerating every resource ARN, not the selected architecture's goal to rotate an application database password without manual quarterly updates.

D:

This condition governs the different mechanism used to centralize workforce lifecycle while retaining the corporate identity provider; IAM Identity Center integrates with supported identity providers for federated workforce access; for the selected control, the relevant boundary is instead that consumers must retrieve the current secret value and rotation must preserve application availability.

Question 82

A production-readiness assessment calls out two missing capabilities: collect recurring operational issues with linked resource context and status and combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook. Choose the AWS implementation that explicitly addresses both.

  1. Use Systems Manager Session Manager for audited interactive access; use Lambda reserved concurrency to limit simultaneous remediation functions
  2. Use Systems Manager OpsCenter OpsItems for operational work tracking; use conditional writes or deduplication keys to make a remediation handler idempotent
  3. Use Systems Manager OpsCenter OpsItems for operational work tracking; use a Step Functions Map state for bounded parallel processing
  4. Use EventBridge Scheduler for per-task scheduled API invocations; use Systems Manager Automation runbooks for multi-step operational remediation
  5. Use Systems Manager OpsCenter OpsItems for operational work tracking; use Systems Manager Automation runbooks for multi-step operational remediation

Explanation

Correct Answer

E:

For the requirement to collect recurring operational issues with linked resource context and status, OpsCenter OpsItems group investigation context and operational metadata for issue management. For the requirement to combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook, automation runbooks execute structured steps and AWS service operations with defined permissions. Both mechanisms are necessary; implementing only the first would leave the second unsatisfied.

Incorrect Answers

A:

The pair changes the problem instead of completing it. One option addresses troubleshoot managed EC2 hosts without opening SSH ports or distributing key pairs; the other addresses cap the number of concurrent handlers acting on a sensitive downstream API. The release, however, needs to collect recurring operational issues with linked resource context and status as well as combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook.

B:

The first half is appropriate: OpsCenter OpsItems group investigation context and operational metadata for issue management. However, idempotency controls make repeated executions converge on the same intended side effect; that serves a different objective (prevent repeated event delivery from causing duplicate infrastructure changes) and leaves the explicit need to combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook unmet.

C:

Map states can apply a defined workflow to collections with configurable concurrency. That alternative supports the ability to run a repeatable remediation step against multiple independent work items, but it is not the requested second outcome (combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook). Even though the first half addresses collect recurring operational issues with linked resource context and status, this pair is incomplete.

D:

This combination solves only the latter acceptance test. The substituted first control supports invoke a service API at a one-time or recurring schedule without hosting a cron instance: EventBridge Scheduler manages time-based invocation schedules with supported targets and retry policies. It does not implement collect recurring operational issues with linked resource context and status.

Question 83

The security engineering team selects this control: Pin image promotion to an ECR image digest instead of a mutable tag. What associated scope or dependency matters most when using it to deploy exactly the image bytes tested during CI?

  1. Published instance images must undergo defined components and tests
  2. Artifact durability and version history must support restoration of approved revisions
  3. The downstream action must receive the files produced by build commands
  4. Release identity must be immutable even when friendly tags are moved
  5. Approved deployment references must not be retargeted through tag updates

Explanation

Correct Answer

D:

Release identity must be immutable even when friendly tags are moved. Without this, choosing the named service is not enough to produce the promised outcome; image digests identify content; mutable tags can be repointed and are unsuitable as sole provenance.

Incorrect Answers

A:

This proposed constraint belongs to a separate objective: published instance images must undergo defined components and tests; the corresponding goal is to automate repeatable golden-image builds with validation tests, not the selected architecture's goal to deploy exactly the image bytes tested during CI.

B:

This condition governs the different mechanism used to retain retrievable, auditable application bundles for instance deployments. S3 versioning preserves object versions; bucket encryption and scoped policies protect deployment bundles; for the selected control, the relevant boundary is instead that release identity must be immutable even when friendly tags are moved.

C:

The buildspec artifacts section chooses files to package and publish as build outputs. Its own dependency is that the downstream action must receive the files produced by build commands; those details concern the separate objective of being able to include compiled outputs rather than the entire source tree in a pipeline artifact, rather than to the named control required to deploy exactly the image bytes tested during CI.

E:

This proposed constraint belongs to a separate objective: approved deployment references must not be retargeted through tag updates; the corresponding goal is to prevent existing release tags from silently being overwritten, not the selected architecture's goal to deploy exactly the image bytes tested during CI.

Question 84

A production ticket contains this symptom: Two services pass their own unit tests but fail when one changes a response field. The desired behavior is to detect incompatible API schema changes without requiring full production rollout. What should be fixed?

  1. Separate performance threshold checks from functional correctness tests
  2. Use AWS IAM policy evaluation tests for deployment-role assumptions
  3. Use contract tests to validate interface compatibility between independently deployed services
  4. Run acceptance tests after staging deployment and before approval

Explanation

Correct Answer

C:

To detect incompatible API schema changes without requiring full production rollout, the architecture relies on this AWS behavior: contract tests assert expected interface behavior, revealing breaking integration changes before both services ship. Compatibility must be verified at the producer-consumer boundary.

Incorrect Answers

A:

Performance testing assesses response-time and throughput targets distinct from pass or fail functionality; this can help teams fail a release when latency regresses even though all APIs still return successful status codes, but the reported workflow needs to detect incompatible API schema changes without requiring full production rollout. It does not perform that required function.

B:

That service solves a different operating problem: the need to verify the release role cannot perform actions outside its approved scope. Its behavior is that IAM policy simulation and access analysis can help test whether planned principal actions are allowed. The requested outcome remains detect incompatible API schema changes without requiring full production rollout.

D:

Acceptance checks validate end-to-end expected behavior and can fail the pipeline before production; this is a reasonable option when the requirement is to verify business workflows on a deployed candidate before production promotion, but it operates at a different workflow boundary from the stated need to detect incompatible API schema changes without requiring full production rollout.

Question 85

During root-cause analysis, the team identifies the following: An administrator role in a production account can perform a prohibited region-level action. To set a maximum permission boundary for member-account principals, what should be configured?

  1. Create an organization-wide CloudTrail trail to a protected logging account
  2. Attach an Organizations SCP to a production OU
  3. Use Organizations tag policies to standardize supported resource tags
  4. Use delegated administrator registration for supported organization-wide services

Explanation

Correct Answer

B:

To set a maximum permission boundary for member-account principals, the architecture relies on this AWS behavior: service control policies limit the maximum permissions of affected account principals but do not grant rights. The restriction must apply above individual IAM identity policy grants.

Incorrect Answers

A:

That service solves a different operating problem: the need to collect supported account activity centrally across an AWS organization. Its behavior is that an organization trail covers member accounts with centralized delivery and separately controlled storage. The requested outcome remains set a maximum permission boundary for member-account principals.

C:

Tag policies define permitted capitalization and values and can enforce supported tagging operations; this is a reasonable option when the requirement is to report and enforce valid tag keys or values across organizational accounts where supported, but it operates at a different workflow boundary from the stated need to set a maximum permission boundary for member-account principals.

D:

Choosing this would aim to let a security account administer a supported service for organization members instead of set a maximum permission boundary for member-account principals. Delegated administration allows a registered member account to manage eligible service functions organization-wide; it cannot replace the mechanism specified by the incident evidence.

Question 86

A service owner needs to decouple transient producer spikes from a bounded worker fleet and protect Lambda and downstream systems from excessive caller traffic. Which paired controls deliver the requested behavior across both workstreams?

  1. Place CloudFront caching ahead of read-heavy static content origins; use API Gateway throttling to bound request rates to a serverless backend
  2. Use SQS to buffer bursts between request intake and worker processing; use scheduled scaling for recurring predictable demand
  3. Use SQS backlog per worker as a target tracking metric; configure Kubernetes Horizontal Pod Autoscaler with relevant metrics
  4. Use SQS to buffer bursts between request intake and worker processing; use API Gateway throttling to bound request rates to a serverless backend

Explanation

Correct Answer

D:

The first outcome depends on the behavior that SQS queues hold pending work and let consumers process it asynchronously with retry semantics. Separately, API Gateway throttling controls supported request rates and can return 429 responses when limits are exceeded. Together these meet the two requested outcomes, with the operational limits that messages must remain durable while consumers scale at a sustainable rate and rate and burst limits must be enforced at the API entry point.

Incorrect Answers

A:

The second implementation is relevant; the problem is the first. CloudFront caches eligible objects at edge locations to reduce repeated origin requests and user latency; it can help offload geographically distributed static requests from the origin, whereas the stated first requirement is to decouple transient producer spikes from a bounded worker fleet.

B:

Combining a suitable first control with this second one misses the secondary acceptance criterion; scheduled actions change Auto Scaling desired or min and max capacity at specified times; it helps preprovision EC2 capacity before a known daily traffic increase rather than protect Lambda and downstream systems from excessive caller traffic.

C:

Neither control directly supplies both requested behaviors. Backlog per instance estimates the pressure on worker capacity for queue-driven scaling; HPA adjusts the replica count of supported Kubernetes workloads from configured metrics. Those mechanisms address different objectives. The specified capabilities are to decouple transient producer spikes from a bounded worker fleet and to protect Lambda and downstream systems from excessive caller traffic.

Question 87

A security architecture decision must satisfy two different outcomes, not just choose one AWS feature: apply explicit allow and deny network rules at a subnet boundary and enforce centralized network-layer filtering across selected VPC traffic paths. Which implementation does that?

  1. Use subnet network ACL rules for stateless subnet-edge filtering; request an ACM-issued public certificate for a supported HTTPS endpoint
  2. Use subnet network ACL rules for stateless subnet-edge filtering; deploy AWS Network Firewall for stateful VPC traffic inspection
  3. Use subnet network ACL rules for stateless subnet-edge filtering; use AWS Config rule evaluations with automatic remediation for policy violations
  4. Use CloudHSM when exclusive customer control of HSM key management is required; deploy AWS Network Firewall for stateful VPC traffic inspection
  5. Use AWS Private CA for an organization-managed private certificate authority; use AWS WAF managed rules on the web-facing ALB

Explanation

Correct Answer

B:

Network ACLs are stateless ordered rules applied to traffic entering and leaving subnets; network Firewall inspects routed VPC traffic using stateless and stateful rule groups. The first control satisfies the need to apply explicit allow and deny network rules at a subnet boundary; the second addresses the need to enforce centralized network-layer filtering across selected VPC traffic paths. Return traffic requires matching stateless rules for ephemeral ports where applicable; traffic must actually traverse the configured firewall endpoints by appropriate routing.

Incorrect Answers

A:

The first half is appropriate: Network ACLs are stateless ordered rules applied to traffic entering and leaving subnets. However, AWS Certificate Manager provisions and renews eligible certificates for integrated AWS services; that serves a different objective (automate TLS certificate provisioning for an AWS-managed load balancer) and leaves the explicit need to enforce centralized network-layer filtering across selected VPC traffic paths unmet.

C:

Combining a suitable first control with this second one misses the secondary acceptance criterion; AWS Config rules evaluate configurations and can integrate with Systems Manager remediation; it helps restore supported misconfigured resource settings when drift is detected rather than enforce centralized network-layer filtering across selected VPC traffic paths.

D:

CloudHSM offers dedicated hardware security modules operated under the customer's control plane; that is intended to meet a specialized cryptographic requirement needing dedicated customer-managed HSMs, not to apply explicit allow and deny network rules at a subnet boundary. The second half can meet the requirement to enforce centralized network-layer filtering across selected VPC traffic paths, but the first is still missing.

E:

These are legitimate AWS controls for different outcomes: AWS Private CA creates and operates private certificate authorities for issuing and managing private certificates, whereas AWS WAF web ACLs evaluate HTTP requests against configured rules and can block matching traffic. The problem instead requires the ability to apply explicit allow and deny network rules at a subnet boundary and to enforce centralized network-layer filtering across selected VPC traffic paths.

Question 88

The production plan uses this approach: Attach an instance profile with a scoped IAM role to EC2. The goal is to give an EC2 application temporary credentials to call an AWS API. Which prerequisite or limitation should receive focused review?

  1. The build project role should authorize only required artifact and deployment operations
  2. Per-workload identity should restrict permissions to the required AWS APIs
  3. The function's execution identity should avoid global administrator actions
  4. Trust and permission policies must explicitly govern the destination role
  5. Credentials must rotate automatically and be available through supported instance metadata

Explanation

Correct Answer

E:

Credentials must rotate automatically and be available through supported instance metadata. That is the governing deployment boundary for the selected control: an EC2 instance profile provides temporary role credentials to applications running on the instance. If the boundary is missed, the design can fail to give an EC2 application temporary credentials to call an AWS API.

Incorrect Answers

A:

This condition governs the different mechanism used to prevent CI workers from embedding persistent AWS keys in build scripts; CodeBuild obtains temporary service-role credentials to call authorized AWS APIs during builds; for the selected control, the relevant boundary is instead that credentials must rotate automatically and be available through supported instance metadata.

B:

EKS workload identity mechanisms associate an AWS IAM role with a Kubernetes service account or pod; its own dependency is that per-workload identity should restrict permissions to the required AWS APIs; those details concern the separate objective of being able to grant a Kubernetes workload AWS permissions without using the node IAM role, rather than to the named control required to give an EC2 application temporary credentials to call an AWS API.

C:

The proposed condition makes sense in an implementation designed to allow a Lambda handler to read a specific secret and publish required logs. It concerns Lambda execution roles grant the AWS API permissions used by the running function, whereas this question tests the prerequisite of the named control.

D:

This proposed constraint belongs to a separate objective: trust and permission policies must explicitly govern the destination role; the corresponding goal is to avoid distributing durable access keys for central administration in member accounts, not the selected architecture's goal to give an EC2 application temporary credentials to call an AWS API.

Question 89

The next AWS platform release needs to automate account creation and consolidate billing within an organization while also being able to set a maximum permission boundary for member-account principals. Which pairing best supports that release?

  1. Use AWS Organizations CreateAccount automation for programmatic member creation; attach an Organizations SCP to a production OU
  2. Use Control Tower landing-zone controls for preventive and detective governance; place accounts into purpose-specific organizational units
  3. Use AWS Organizations CreateAccount automation for programmatic member creation; create an organization-wide CloudTrail trail to a protected logging account
  4. Configure Security Hub organization integration and central settings policies; attach an Organizations SCP to a production OU

Explanation

Correct Answer

A:

The first outcome depends on the behavior that organizations supports asynchronous member account creation through its account APIs. Separately, service control policies limit the maximum permissions of affected account principals but do not grant rights. Together these meet the two requested outcomes, with the operational limits that the process must create member accounts under the organization's management structure and the restriction must apply above individual IAM identity policy grants.

Incorrect Answers

B:

The pair changes the problem instead of completing it. One option addresses establish managed governance expectations when onboarding accounts; the other addresses separate development and production accounts into different policy inheritance scopes. The release, however, needs to automate account creation and consolidate billing within an organization as well as set a maximum permission boundary for member-account principals.

C:

The first half is appropriate: Organizations supports asynchronous member account creation through its account APIs. However, an organization trail covers member accounts with centralized delivery and separately controlled storage; that serves a different objective (collect supported account activity centrally across an AWS organization) and leaves the explicit need to set a maximum permission boundary for member-account principals unmet.

D:

The second implementation is relevant; the problem is the first. Security Hub central configuration can apply supported policies across an organization hierarchy; it can help standardize security finding aggregation and enabled standards across accounts, whereas the stated first requirement is to automate account creation and consolidate billing within an organization.

Question 90

An incident-response review exposes two requirements in the same release: restore a resource's intended IaC state after manual infrastructure changes; in addition, roll out a corrected launch template to already-running fleet instances. Which paired set of AWS controls meets both requirements?

  1. Use EC2 Auto Scaling health replacement for unhealthy fleet members; perform an Auto Scaling instance refresh after updating a launch template
  2. Apply CloudFormation drift remediation through a reviewed template update; perform an Auto Scaling instance refresh after updating a launch template
  3. Use a CloudFormation Change Set for emergency infrastructure adjustments; use an SSM Automation role with a permissions boundary or narrow IAM policy
  4. Apply CloudFormation drift remediation through a reviewed template update; use CodeDeploy CloudWatch-alarm integration for automatic deployment rollback

Explanation

Correct Answer

B:

A reviewed stack update can bring supported drifted resources back toward declared template state; this handles the first acceptance condition, subject to the boundary that the change process should reconcile desired and actual supported configuration; the remaining condition is handled separately: instance refresh gradually replaces existing Auto Scaling instances according to updated configuration, with the fleet must converge through controlled replacement rather than only updating the template.

Incorrect Answers

A:

EC2 Auto Scaling can terminate and replace unhealthy instances to meet desired capacity. That is intended to automatically replace failed instances without requiring manual restarts, not to restore a resource's intended IaC state after manual infrastructure changes; the second half can meet the requirement to roll out a corrected launch template to already-running fleet instances, but the first is still missing.

C:

The pair changes the problem instead of completing it. One option addresses review the actual resource mutations before applying a critical IaC patch; the other addresses limit the changes an automated incident runbook can make. The release, however, needs to restore a resource's intended IaC state after manual infrastructure changes as well as roll out a corrected launch template to already-running fleet instances.

D:

The first half is appropriate: A reviewed stack update can bring supported drifted resources back toward declared template state. However, CodeDeploy can stop and roll back eligible deployments when configured CloudWatch alarms enter ALARM; that serves a different objective (reverse a release that triggers the defined customer error alarm) and leaves the explicit need to roll out a corrected launch template to already-running fleet instances unmet.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests