Question 1060

An engineer will implement the following change: Deliver S3 server access logs or application exports through lifecycle-managed buckets. Which operational boundary most directly applies to the intended outcome to retain bulk historical logs at lower long-term storage cost?

  1. The response must support a query language over centrally stored log events
  2. The log service principal and key policy need the required encrypt and decrypt permissions
  3. Writers and readers must be authorized by both storage and KMS policies
  4. Storage classes and retention controls should fit audit-access frequency

Explanation

Correct Answer

D:

The implementation has to honor the exact constraint: storage classes and retention controls should fit audit-access frequency; S3 lifecycle rules transition or expire suitable log objects based on approved retention requirements.

Incorrect Answers

A:

This condition governs the different mechanism used to query structured error events across log groups during incidents. CloudWatch Logs Insights runs interactive queries over selected CloudWatch log groups. For the selected control, the relevant boundary is instead that storage classes and retention controls should fit audit-access frequency.

B:

CloudWatch Logs supports customer-managed KMS key association for eligible log groups. Its own dependency is that the log service principal and key policy need the required encrypt and decrypt permissions; those details concern the separate objective of being able to control at-rest log encryption under an explicitly governed encryption key, rather than to the named control required to retain bulk historical logs at lower long-term storage cost.

C:

The proposed condition makes sense in an implementation designed to protect exported audit objects with a controlled at-rest encryption boundary; it concerns S3 SSE-KMS encrypts objects using AWS KMS keys with separate data and key-access controls, whereas this question tests the prerequisite of the named control; the specified requirement instead is to retain bulk historical logs at lower long-term storage cost.

Question 1061

A production ticket contains this symptom: A stress test in the live environment causes customer-facing saturation. The desired behavior is to measure throughput and latency under expected concurrency without degrading production. What should be fixed?

  1. Use AWS Fault Injection Service in a controlled resilience test
  2. Execute integration tests against an isolated ephemeral test stack
  3. Run controlled load tests in a dedicated performance environment
  4. Run acceptance tests after staging deployment and before approval

Explanation

Correct Answer

C:

Dedicated performance testing reveals scale and bottleneck behavior while isolating intentional high load; it restores the ability to measure throughput and latency under expected concurrency without degrading production, provided the implementation also observes that representative load must be applied without competing with customer traffic.

Incorrect Answers

A:

Although fault Injection Service can inject supported disruptions so teams can measure actual resilience behavior, the scenario does not ask for validate that a multi-AZ application survives a deliberately introduced infrastructure fault; it requires the ability to measure throughput and latency under expected concurrency without degrading production, which is a separate responsibility.

B:

An integration environment exercises actual API and infrastructure interactions that unit mocks do not cover; this can help teams validate service-to-service interactions against real deployed dependencies before approval, but the reported workflow needs to measure throughput and latency under expected concurrency without degrading production. It does not perform that required function.

D:

The choice is useful when engineers need to verify business workflows on a deployed candidate before production promotion: acceptance checks validate end-to-end expected behavior and can fail the pipeline before production. It would not establish the control needed to measure throughput and latency under expected concurrency without degrading production.

Question 1062

Investigators observe: A release dashboard shows a failed pipeline but provides no clue which stage stopped. Engineers still need to find which pipeline action failed and review its detailed external execution link. Which corrective action is most appropriate?

  1. Use CloudTrail events to identify the caller behind an AccessDenied API action
  2. Inspect EKS pod events and describe output for Pending pods
  3. Inspect CodePipeline stage and action execution history
  4. Inspect ECS service events and stopped-task reasons
  5. Review CodeBuild CloudWatch logs and build phase status
  6. Review CodeDeploy lifecycle hook logs and agent logs on target EC2 instances

Explanation

Correct Answer

C:

CodePipeline records stage and action execution statuses and detailed links for troubleshooting; it enables the necessary capability to find which pipeline action failed and review its detailed external execution link rather than only providing an adjacent operational control. The diagnosis must start from the failed action and its provider output.

Incorrect Answers

A:

CloudTrail supported management events can show the assumed role, action, and error context. This can help teams trace which principal and resource action caused a failed automation request, but the reported workflow needs to find which pipeline action failed and review its detailed external execution link. It does not perform that required function.

B:

That service solves a different operating problem: the need to diagnose Kubernetes scheduling constraints rather than application code failure. Its behavior is that kubernetes scheduling events explain why pending pods cannot be assigned to nodes. The requested outcome remains find which pipeline action failed and review its detailed external execution link.

D:

ECS service events and stopped task metadata describe placement and startup failures. This is a reasonable option when the requirement is to diagnose an ECS service unable to reach steady state, but it operates at a different workflow boundary from the stated need to find which pipeline action failed and review its detailed external execution link.

E:

Choosing this would aim to identify the first shell command or dependency failure in a failing build instead of find which pipeline action failed and review its detailed external execution link; CodeBuild build logs and phase contexts expose command errors and environment failures; it cannot replace the mechanism specified by the incident evidence.

F:

Although CodeDeploy agent and deployment logs record instance-level lifecycle command behavior, the scenario does not ask for diagnose why an instance deployment fails during a lifecycle hook. It requires the ability to find which pipeline action failed and review its detailed external execution link, which is a separate responsibility.

Question 1063

After a configuration change, the production support team sees this issue: A CDN distribution returns origin errors even though a backup origin is available. What best restores the ability to keep cacheable web content reachable if the primary origin fails?

  1. Configure Route 53 failover records with appropriate health checks
  2. Implement stateless application nodes with session state in a shared store
  3. Use CloudFront origins with origin failover for eligible requests
  4. Enable Amazon RDS Multi-AZ high availability for a supported DB engine

Explanation

Correct Answer

C:

CloudFront origin groups can switch eligible requests to a secondary origin on configured primary failures; in this case the control is appropriate because it supports keep cacheable web content reachable if the primary origin fails. Failover should work within the supported origin group request types and status codes.

Incorrect Answers

A:

That service solves a different operating problem: the need to route clients to a standby endpoint when the primary endpoint becomes unhealthy. Its behavior is that Route 53 failover routing selects primary or secondary records according to configured health status. The requested outcome remains keep cacheable web content reachable if the primary origin fails.

B:

The choice is useful when engineers need to allow requests to move among instances without losing user session context: externalizing session data removes per-instance affinity as a correctness requirement for request handling. It would not establish the control needed to keep cacheable web content reachable if the primary origin fails.

D:

Choosing this would aim to provide automatic database failover after a primary Availability Zone outage instead of keep cacheable web content reachable if the primary origin fails; RDS Multi-AZ deployments maintain a standby or multi-instance arrangement for managed failover; it cannot replace the mechanism specified by the incident evidence.

Question 1064

The current plan covers only one side of the reliability operating model. It needs to preprovision EC2 capacity before a known daily traffic increase as well as anticipate regular load variations using observed historical demand. Which paired changes complete the design?

  1. Use SQS backlog per worker as a target tracking metric; use Lambda reserved concurrency to protect a downstream dependency
  2. Use scheduled scaling for recurring predictable demand; configure RDS storage autoscaling with a maximum threshold
  3. Configure EC2 target tracking scaling on an application-relevant metric; use predictive scaling with EC2 Auto Scaling for suitable historical patterns
  4. Use scheduled scaling for recurring predictable demand; use DynamoDB auto scaling for provisioned read and write capacity
  5. Use scheduled scaling for recurring predictable demand; use predictive scaling with EC2 Auto Scaling for suitable historical patterns
  6. Use an ECS capacity provider strategy for EC2 cluster capacity; use predictive scaling with EC2 Auto Scaling for suitable historical patterns

Explanation

Correct Answer

E:

Scheduled actions change Auto Scaling desired or min and max capacity at specified times; predictive scaling forecasts capacity demand from load history and can schedule scaling ahead of it. The first control satisfies the need to preprovision EC2 capacity before a known daily traffic increase; the second addresses the need to anticipate regular load variations using observed historical demand. Capacity must be ready shortly before the recurring workload starts; the feature must have suitable load history and an appropriate forecasting configuration.

Incorrect Answers

A:

These are legitimate AWS controls for different outcomes: backlog per instance estimates the pressure on worker capacity for queue-driven scaling, whereas reserved concurrency caps simultaneously executing Lambda instances for the configured function. The problem instead requires the ability to preprovision EC2 capacity before a known daily traffic increase and to anticipate regular load variations using observed historical demand.

B:

Combining a suitable first control with this second one misses the secondary acceptance criterion; RDS storage autoscaling grows allocated storage under supported conditions up to its configured maximum; it helps grow database storage as data expands without frequent manual storage modifications rather than anticipate regular load variations using observed historical demand.

C:

Target tracking policies adjust desired capacity around a configured metric target. That is intended to automatically change fleet capacity to maintain a target utilization level, not to preprovision EC2 capacity before a known daily traffic increase; the second half can meet the requirement to anticipate regular load variations using observed historical demand, but the first is still missing.

D:

DynamoDB Application Auto Scaling can change provisioned read or write capacity based on utilization targets; that alternative supports the ability to adapt provisioned throughput targets to changing demand, but it is not the requested second outcome (anticipate regular load variations using observed historical demand). Even though the first half addresses preprovision EC2 capacity before a known daily traffic increase, this pair is incomplete.

F:

ECS capacity providers can couple task placement and managed scaling of EC2 Auto Scaling capacity; that is intended to coordinate ECS service task placement with managed EC2 capacity, not to preprovision EC2 capacity before a known daily traffic increase. The second half can meet the requirement to anticipate regular load variations using observed historical demand, but the first is still missing.

Question 1065

An incident record says: A security trail records bucket configuration but not a suspicious GetObject request. To restore the capability to attribute reads or deletes of sensitive bucket objects to a principal, which change addresses the root cause?

  1. Enable CloudTrail data events for selected S3 object operations
  2. Create an organization CloudTrail trail to a separately secured S3 logging bucket
  3. Run SQL queries against existing CloudTrail Lake event data stores
  4. Use Amazon Macie sensitive-data findings for S3 exposure investigations

Explanation

Correct Answer

A:

CloudTrail data event selectors record eligible object-level activity beyond management events; in this case the control is appropriate because it supports attribute reads or deletes of sensitive bucket objects to a principal. Event selection must include the specific bucket data-plane API activity.

Incorrect Answers

B:

Choosing this would aim to retain management API events from all AWS Organizations member accounts instead of attribute reads or deletes of sensitive bucket objects to a principal. An organization trail delivers supported account activity events centrally for member accounts; it cannot replace the mechanism specified by the incident evidence.

C:

Although CloudTrail Lake ingests supported events into queryable event data stores, the scenario does not ask for query retained CloudTrail events without first building a custom S3 query pipeline. It requires the ability to attribute reads or deletes of sensitive bucket objects to a principal, which is a separate responsibility.

D:

Macie analyzes supported S3 objects and reports sensitive-data discovery findings. This can help teams identify buckets and objects that contain potentially regulated data, but the reported workflow needs to attribute reads or deletes of sensitive bucket objects to a principal. It does not perform that required function.

Question 1066

One team is accountable for the AWS workflow to run a repeatable remediation step against multiple independent work items. A second acceptance condition requires it to combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook. Which combination should be approved?

  1. Use a Step Functions Map state for bounded parallel processing; use Systems Manager Inventory to collect managed-node software metadata
  2. Use EventBridge Scheduler for per-task scheduled API invocations; use Systems Manager Automation runbooks for multi-step operational remediation
  3. Use a Step Functions Map state for bounded parallel processing; use Lambda reserved concurrency to limit simultaneous remediation functions
  4. Use a Step Functions Map state for bounded parallel processing; use Systems Manager Automation runbooks for multi-step operational remediation
  5. Attach an SSM Automation remediation action to an AWS Config rule; use Systems Manager OpsCenter OpsItems for operational work tracking

Explanation

Correct Answer

D:

The first outcome depends on the behavior that map states can apply a defined workflow to collections with configurable concurrency. Separately, automation runbooks execute structured steps and AWS service operations with defined permissions. Together these meet the two requested outcomes, with the operational limits that parallelism must be controlled and failures handled per workflow item and the workflow needs controlled execution steps and an assumable automation role.

Incorrect Answers

A:

Combining a suitable first control with this second one misses the secondary acceptance criterion; Systems Manager Inventory collects supported software and configuration metadata for fleet reporting; it helps report installed applications and instance configuration across the managed fleet rather than combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook.

B:

EventBridge Scheduler manages time-based invocation schedules with supported targets and retry policies; that is intended to invoke a service API at a one-time or recurring schedule without hosting a cron instance, not to run a repeatable remediation step against multiple independent work items; the second half can meet the requirement to combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook, but the first is still missing.

C:

Reserved concurrency sets a function-level limit and allocation of simultaneous Lambda executions; that alternative supports the ability to cap the number of concurrent handlers acting on a sensitive downstream API, 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 run a repeatable remediation step against multiple independent work items, this pair is incomplete.

E:

Neither control directly supplies both requested behaviors. Config remediation configurations can invoke Systems Manager Automation documents for matching findings; OpsCenter OpsItems group investigation context and operational metadata for issue management. Those mechanisms address different objectives. The specified capabilities are to run a repeatable remediation step against multiple independent work items and to combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook.

Question 1067

The cloud operations group selects this control: Use CloudHSM when exclusive customer control of HSM key management is required. What associated scope or dependency matters most when using it to meet a specialized cryptographic requirement needing dedicated customer-managed HSMs?

  1. Key replication, key policy, and regional resource configuration still require explicit management
  2. The corrective runbook must execute with narrowly authorized permissions
  3. The team accepts the operational burden of key management and cluster availability
  4. Routing and endpoint policy must match the supported S3 gateway endpoint model

Explanation

Correct Answer

C:

The requested behavior is to meet a specialized cryptographic requirement needing dedicated customer-managed HSMs, and the team accepts the operational burden of key management and cluster availability. The underlying AWS behavior is that cloudHSM offers dedicated hardware security modules operated under the customer's control plane.

Incorrect Answers

A:

This proposed constraint belongs to a separate objective: key replication, key policy, and regional resource configuration still require explicit management. The corresponding goal is to manage related KMS key material for supported multi-Region cryptographic operations, not the selected architecture's goal to meet a specialized cryptographic requirement needing dedicated customer-managed HSMs.

B:

This condition governs the different mechanism used to restore supported misconfigured resource settings when drift is detected. AWS Config rules evaluate configurations and can integrate with Systems Manager remediation. For the selected control, the relevant boundary is instead that the team accepts the operational burden of key management and cluster availability.

D:

The proposed condition makes sense in an implementation designed to allow private subnet workloads to reach S3 without NAT for supported traffic; it concerns S3 gateway endpoints use VPC route entries to access S3 privately from eligible subnets, whereas this question tests the prerequisite of the named control; the specified requirement instead is to meet a specialized cryptographic requirement needing dedicated customer-managed HSMs.

Question 1068

An operations runbook has 3 acceptance criteria: (1) investigate historical audit events across a large retained log archive; (2) page operators only when multiple correlated alarms indicate a real incident; (3) detect external failures in a multi-step website journey before users report them. Which THREE AWS actions satisfy these requirements? Choose THREE.

  1. Propagate trace context between microservices
  2. Use Athena to query partitioned CloudTrail records stored in S3
  3. Configure CloudWatch composite alarms to combine related signal states
  4. Enable Amazon Inspector findings for supported compute workloads
  5. Configure a CloudWatch anomaly detection band on a seasonal metric
  6. Use CloudWatch Synthetics canaries to validate a customer workflow

Explanation

Correct Answers

B:

The corresponding obligation is to investigate historical audit events across a large retained log archive. Athena can query compatible S3-based log data using SQL and suitable tables or partitions; that behavior is the reason this action belongs in the selected answer set.

C:

Composite alarms evaluate the Boolean state of underlying alarms before transitioning. Among the listed outcomes, it addresses page operators only when multiple correlated alarms indicate a real incident, rather than merely contributing a related signal or support step.

F:

The corresponding obligation is to detect external failures in a multi-step website journey before users report them. Synthetics canaries execute scripts and publish availability and step-level results; that behavior is the reason this action belongs in the selected answer set.

Incorrect Answers

A:

Trace context propagation relates spans across a distributed request path; that would be appropriate to link asynchronous or downstream operations to the originating request trace, but this is a different objective from the numbered obligations in the stem; the specified requirement instead is to investigate historical audit events across a large retained log archive.

D:

Inspector assesses supported workloads and produces vulnerability findings with affected-resource context; if the requirement were to identify software package vulnerabilities affecting deployed EC2 or container workloads, that would matter. The requested outcomes are separate from the one this option addresses.

E:

CloudWatch anomaly detection models expected patterns and allows alarms on deviations from the band; that would be appropriate to alert on unexpected deviations without relying on a single fixed threshold, but this is a different objective from the numbered obligations in the stem; the specified requirement instead is to investigate historical audit events across a large retained log archive.

Question 1069

A platform engineer is responsible for a compound requirement: (1) troubleshoot managed EC2 hosts without opening SSH ports or distributing key pairs; (2) collect recurring operational issues with linked resource context and status. Which TWO controls provide the requested functions? Choose TWO.

  1. Use Systems Manager Inventory to collect managed-node software metadata
  2. Use Systems Manager Automation runbooks for multi-step operational remediation
  3. Use Systems Manager Patch Manager and patch baselines
  4. Use Systems Manager Session Manager for audited interactive access
  5. Use Systems Manager OpsCenter OpsItems for operational work tracking

Explanation

Correct Answers

D:

Session Manager provides managed interactive sessions through Systems Manager connectivity and IAM controls; this fulfills the stated requirement to troubleshoot managed EC2 hosts without opening SSH ports or distributing key pairs. The operational limitation is that connection authorization should be IAM-based and session activity governed.

E:

The corresponding obligation is to collect recurring operational issues with linked resource context and status. OpsCenter OpsItems group investigation context and operational metadata for issue management; that behavior is the reason this action belongs in the selected answer set.

Incorrect Answers

A:

This mechanism supports the ability to report installed applications and instance configuration across the managed fleet: Systems Manager Inventory collects supported software and configuration metadata for fleet reporting. It would not satisfy a different obligation just by appearing in the same workflow.

B:

It supports a separate administrative task, namely 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; the prompt's required outcomes are not achieved by substituting this control; the specified requirement instead is to troubleshoot managed EC2 hosts without opening SSH ports or distributing key pairs.

C:

Patch Manager applies selected baselines to supported managed nodes for scan or install operations; if the requirement were to scan and install operating-system updates according to approved patch classifications, that would matter. The requested outcomes are separate from the one this option addresses.

Question 1070

The production support team proposes this implementation: Apply S3 Object Lock retention when required by evidence policy. Its intended result is to prevent modification or deletion of archived release artifacts for a mandated period. Which implementation consideration is most specific to that choice?

  1. Retention must be tamper-resistant rather than merely a lifecycle policy
  2. Release identity must be immutable even when friendly tags are moved
  3. The verifier must trust the signing identity rather than a filename or tag
  4. Approved deployment references must not be retargeted through tag updates

Explanation

Correct Answer

A:

Retention must be tamper-resistant rather than merely a lifecycle policy. Without this, choosing the named service is not enough to produce the promised outcome; S3 Object Lock protects eligible versioned objects under governance or compliance retention modes.

Incorrect Answers

B:

This proposed constraint belongs to a separate objective: release identity must be immutable even when friendly tags are moved; the corresponding goal is to deploy exactly the image bytes tested during CI, not the selected architecture's goal to prevent modification or deletion of archived release artifacts for a mandated period.

C:

This condition governs the different mechanism used to detect tampering between build completion and production deployment. Cryptographic signatures and trusted verification bind an approved artifact to its signing provenance; for the selected control, the relevant boundary is instead that retention must be tamper-resistant rather than merely a lifecycle policy.

D:

ECR tag immutability prevents image tags from being overwritten in repositories configured for it; its own dependency is that approved deployment references must not be retargeted through tag updates. Those details concern the separate objective of being able to prevent existing release tags from silently being overwritten, rather than to the named control required to prevent modification or deletion of archived release artifacts for a mandated period.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests