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.

Question 1071

An observability change request has linked acceptance tests: the system must retain bulk historical logs at lower long-term storage cost, and it must protect exported audit objects with a controlled at-rest encryption boundary. Which two controls should the engineers combine?

  1. Deliver S3 server access logs or application exports through lifecycle-managed buckets; encrypt long-term S3 log objects with a customer managed KMS key
  2. Enable CloudTrail log file integrity validation for audit log chains; configure HTTPS or TLS for log delivery clients
  3. Publish application logs in structured JSON with stable correlation identifiers; encrypt long-term S3 log objects with a customer managed KMS key
  4. Deliver S3 server access logs or application exports through lifecycle-managed buckets; use CloudWatch Logs Insights for interactive log analysis

Explanation

Correct Answer

A:

S3 lifecycle rules transition or expire suitable log objects based on approved retention requirements; this handles the first acceptance condition, subject to the boundary that storage classes and retention controls should fit audit-access frequency. The remaining condition is handled separately: S3 SSE-KMS encrypts objects using AWS KMS keys with separate data and key-access controls, with writers and readers must be authorized by both storage and KMS policies.

Incorrect Answers

B:

These are legitimate AWS controls for different outcomes: CloudTrail log file integrity validation delivers digest files that can verify delivered logs, whereas TLS protects log transport over supported network paths against plaintext interception. The problem instead requires the ability to retain bulk historical logs at lower long-term storage cost and to protect exported audit objects with a controlled at-rest encryption boundary.

C:

This combination solves only the latter acceptance test. The substituted first control supports correlate requests across independent container services in a central log search: structured log fields and propagated request IDs enable targeted multi-service incident investigation. It does not implement retain bulk historical logs at lower long-term storage cost.

D:

The first half is appropriate: S3 lifecycle rules transition or expire suitable log objects based on approved retention requirements. However, CloudWatch Logs Insights runs interactive queries over selected CloudWatch log groups; that serves a different objective (query structured error events across log groups during incidents) and leaves the explicit need to protect exported audit objects with a controlled at-rest encryption boundary unmet.

Question 1072

Before approving an automated rollout, the reliability team must allow requests to move among instances without losing user session context and keep cacheable web content reachable if the primary origin fails. Which combination covers the two distinct controls?

  1. Implement stateless application nodes with session state in a shared store; use AWS Global Accelerator with healthy regional endpoint groups
  2. Use DynamoDB on-demand capacity for variable request demand; use CloudFront origins with origin failover for eligible requests
  3. Enable Amazon RDS Multi-AZ high availability for a supported DB engine; use an Aurora Global Database with secondary Region clusters
  4. Implement stateless application nodes with session state in a shared store; use CloudFront origins with origin failover for eligible requests

Explanation

Correct Answer

D:

Externalizing session data removes per-instance affinity as a correctness requirement for request handling; this handles the first acceptance condition, subject to the boundary that application sessions must survive instance replacement and Availability Zone movement. The remaining condition is handled separately: CloudFront origin groups can switch eligible requests to a secondary origin on configured primary failures, with failover should work within the supported origin group request types and status codes.

Incorrect Answers

A:

Combining a suitable first control with this second one misses the secondary acceptance criterion; global Accelerator routes TCP or UDP traffic through static anycast addresses to healthy configured endpoints; it helps provide static anycast entry points and health-aware regional application routing rather than keep cacheable web content reachable if the primary origin fails; the selected mechanism must match the documented AWS workflow.

B:

DynamoDB on-demand mode automatically manages throughput capacity for variable workloads within service limits; that is intended to avoid manual throughput planning when read and write request rates change sharply, not to allow requests to move among instances without losing user session context. The second half can meet the requirement to keep cacheable web content reachable if the primary origin fails, but the first is still missing.

C:

These are legitimate AWS controls for different outcomes: RDS Multi-AZ deployments maintain a standby or multi-instance arrangement for managed failover, whereas aurora Global Database replicates from a primary cluster to secondary regional clusters for reads and recovery. The problem instead requires the ability to allow requests to move among instances without losing user session context and to keep cacheable web content reachable if the primary origin fails.

Question 1073

An incident record says: An aggregate error count is high but the noisiest client or key is unknown. To restore the capability to identify the top contributors to a metric or structured log workload, which change addresses the root cause?

  1. Use CloudWatch alarm actions to invoke supported Auto Scaling policies
  2. Use CloudWatch alarms on DynamoDB throttled requests
  3. Use an ALB target group health check for backend service readiness
  4. Use CloudWatch Contributor Insights for supported high-cardinality usage analysis
  5. Use a CloudWatch alarm for ECS CPU or memory utilization with service scaling

Explanation

Correct Answer

D:

To identify the top contributors to a metric or structured log workload, the architecture relies on this AWS behavior: contributor Insights rules analyze supported log or metric inputs to identify top contributing entities. The system needs per-contributor rankings from a suitable input data source.

Incorrect Answers

A:

Although step or simple scaling policies can be driven by CloudWatch alarm transitions, the scenario does not ask for adjust worker fleet capacity when a workload metric crosses a defined level; it requires the ability to identify the top contributors to a metric or structured log workload, which is a separate responsibility.

B:

DynamoDB CloudWatch metrics expose throttled requests and relevant read or write capacity behavior; this can help teams detect insufficient or overloaded request capacity before clients fail broadly, but the reported workflow needs to identify the top contributors to a metric or structured log workload. It does not perform that required function.

C:

That service solves a different operating problem: the need to exclude backend nodes that cannot serve required application requests; its behavior is that ALB target groups mark eligible targets unhealthy and exclude them from normal request routing; the requested outcome remains identify the top contributors to a metric or structured log workload.

E:

Application Auto Scaling policies can use CloudWatch service metrics to scale ECS task replicas; this is a reasonable option when the requirement is to adjust container capacity as aggregate task load grows, but it operates at a different workflow boundary from the stated need to identify the top contributors to a metric or structured log workload.

Question 1074

One team is accountable for the AWS workflow to protect sensitive telemetry while it travels from producers to ingestion endpoints. A second acceptance condition requires it to control at-rest log encryption under an explicitly governed encryption key. Which combination should be approved?

  1. Configure HTTPS or TLS for log delivery clients; use CloudWatch Embedded Metric Format in structured JSON logs
  2. Configure HTTPS or TLS for log delivery clients; publish application logs in structured JSON with stable correlation identifiers
  3. Configure CloudWatch Logs cross-account subscription delivery through supported destination policies; associate a customer managed KMS key with a CloudWatch Logs log group
  4. Install and configure the unified CloudWatch agent on EC2; deliver S3 server access logs or application exports through lifecycle-managed buckets
  5. Configure HTTPS or TLS for log delivery clients; associate a customer managed KMS key with a CloudWatch Logs log group

Explanation

Correct Answer

E:

For the requirement to protect sensitive telemetry while it travels from producers to ingestion endpoints, TLS protects log transport over supported network paths against plaintext interception; for the requirement to control at-rest log encryption under an explicitly governed encryption key, CloudWatch Logs supports customer-managed KMS key association for eligible log groups; both mechanisms are necessary; implementing only the first would leave the second unsatisfied.

Incorrect Answers

A:

The first half is appropriate: TLS protects log transport over supported network paths against plaintext interception. However, embedded Metric Format embeds metric definitions in structured log events for CloudWatch extraction; that serves a different objective (emit high-cardinality application measurements together with diagnostic context) and leaves the explicit need to control at-rest log encryption under an explicitly governed encryption key unmet.

B:

Structured log fields and propagated request IDs enable targeted multi-service incident investigation; that alternative supports the ability to correlate requests across independent container services in a central log search, but it is not the requested second outcome (control at-rest log encryption under an explicitly governed encryption key). Even though the first half addresses protect sensitive telemetry while it travels from producers to ingestion endpoints, this pair is incomplete.

C:

This combination solves only the latter acceptance test. The substituted first control supports centralize matching account log streams into a designated log-processing account: CloudWatch Logs destinations and resource policies authorize supported cross-account subscription flows. It does not implement protect sensitive telemetry while it travels from producers to ingestion endpoints.

D:

Neither control directly supplies both requested behaviors. The CloudWatch agent collects supported host metrics and logs beyond the standard EC2 metric set; S3 lifecycle rules transition or expire suitable log objects based on approved retention requirements. Those mechanisms address different objectives. The specified capabilities are to protect sensitive telemetry while it travels from producers to ingestion endpoints and to control at-rest log encryption under an explicitly governed encryption key.

Question 1075

A release readiness review identifies 2 distinct controls to implement: (1) intercept stack resource operations that violate central deployment rules; (2) apply baseline stacks when new accounts join a targeted organizational unit. Select the TWO actions that jointly cover them. Choose TWO.

  1. Use AWS CloudFormation Change Sets before updating a stack
  2. Deploy dynamic configuration using AWS AppConfig gradual rollout
  3. Use CloudFormation hooks to validate resource configuration during stack operations
  4. Enable automatic deployment for an OU-targeted CloudFormation StackSet
  5. Use Systems Manager State Manager associations for desired-state enforcement

Explanation

Correct Answers

C:

The corresponding obligation is to intercept stack resource operations that violate central deployment rules. CloudFormation hooks can enforce pre-provisioning or operation-time checks for supported resource types; that behavior is the reason this action belongs in the selected answer set.

D:

StackSet automatic deployment creates or removes managed instances as accounts move into or out of targeted OUs; among the listed outcomes, it addresses apply baseline stacks when new accounts join a targeted organizational unit, rather than merely contributing a related signal or support step.

Incorrect Answers

A:

A change set previews how CloudFormation intends to modify or replace resources before execution; if the requirement were to inspect the proposed resource replacements and updates before executing infrastructure changes, that would matter. The requested outcomes are separate from the one this option addresses.

B:

AppConfig deployment strategies gradually distribute hosted or sourced configuration and can roll back on alarms; that would be appropriate to release feature flags independently from application code with automatic rollback on alarms, but this is a different objective from the numbered obligations in the stem.

E:

State Manager associations apply a defined configuration on a schedule to selected managed resources; if the requirement were to keep managed instances configured with a prescribed agent and operating setting, that would matter; the requested outcomes are separate from the one this option addresses; the specified requirement instead is to intercept stack resource operations that violate central deployment rules.

Question 1076

After a configuration change, the release manager sees this issue: Traffic normally doubles every evening and a static high alarm generates repeated false positives. What best restores the ability to alert on unexpected deviations without relying on a single fixed threshold?

  1. Configure CloudWatch composite alarms to combine related signal states
  2. Use Security Hub findings to correlate security signals from enabled integrations
  3. Use CloudWatch dashboard widgets for a shared service SLO view
  4. Configure a CloudWatch anomaly detection band on a seasonal metric
  5. Set CloudWatch alarm evaluation periods and datapoints-to-alarm deliberately

Explanation

Correct Answer

D:

CloudWatch anomaly detection models expected patterns and allows alarms on deviations from the band; it enables the necessary capability to alert on unexpected deviations without relying on a single fixed threshold rather than only providing an adjacent operational control. The alert must adapt to learned metric behavior within selected confidence settings.

Incorrect Answers

A:

The choice is useful when engineers need to page operators only when multiple correlated alarms indicate a real incident: composite alarms evaluate the Boolean state of underlying alarms before transitioning; it would not establish the control needed to alert on unexpected deviations without relying on a single fixed threshold.

B:

Security Hub normalizes supported security findings and provides centralized prioritization workflows; this is a reasonable option when the requirement is to prioritize security risks across multiple supported detection services, but it operates at a different workflow boundary from the stated need to alert on unexpected deviations without relying on a single fixed threshold.

C:

Choosing this would aim to show latency, errors, and saturation to incident responders in one panel instead of alert on unexpected deviations without relying on a single fixed threshold. CloudWatch dashboards visualize selected metrics, logs, and alarms in a shared operational view; it cannot replace the mechanism specified by the incident evidence.

E:

Evaluation periods and datapoints-to-alarm control how many recent breaches cause an alarm state; this can help teams avoid triggering rollbacks on one isolated noisy metric datapoint, but the reported workflow needs to alert on unexpected deviations without relying on a single fixed threshold. It does not perform that required function.

Question 1077

After a configuration change, the cloud operations group sees this issue: The organization cannot afford a fully active secondary stack but needs faster recovery than restoring everything. What best restores the ability to maintain replicated core data while minimizing always-on application compute cost?

  1. Implement a pilot-light DR architecture in a secondary Region
  2. Implement warm standby with reduced running capacity in a secondary Region
  3. Use active-active multi-Region deployment with regional traffic steering
  4. Use backup-and-restore DR for a workload with a generous recovery target
  5. Maintain tested IaC and AMI releases in the disaster recovery Region

Explanation

Correct Answer

A:

Pilot light maintains minimal core components ready and brings up remaining tiers during recovery; that directly addresses the observed failure in the scenario. The configuration still has to respect this constraint: recovery automation must launch additional application capacity after failover.

Incorrect Answers

B:

Choosing this would aim to meet a short recovery objective while keeping DR spend below a full duplicate production stack instead of maintain replicated core data while minimizing always-on application compute cost. Warm standby keeps a smaller but operational workload in the recovery Region; it cannot replace the mechanism specified by the incident evidence.

C:

Although active-active systems keep multiple regional stacks serving requests, reducing activation time at the cost of complexity, the scenario does not ask for minimize regional failover downtime for workloads designed to accept distributed traffic. It requires the ability to maintain replicated core data while minimizing always-on application compute cost, which is a separate responsibility.

D:

Backup-and-restore recreates infrastructure and data only when needed, trading longer RTO for lower cost; this can help teams minimize steady-state disaster recovery costs where hours of recovery are acceptable, but the reported workflow needs to maintain replicated core data while minimizing always-on application compute cost. It does not perform that required function.

E:

That service solves a different operating problem: the need to recreate known-good application capacity from immutable infrastructure definitions; its behavior is that versioned IaC and images allow consistent restoration of application infrastructure; the requested outcome remains maintain replicated core data while minimizing always-on application compute cost.

Question 1078

An automated check detects: Security operators must use the Organizations management account for routine delegated service tasks. Which remediation directly supports the requirement to let a security account administer a supported service for organization members?

  1. Use IAM Identity Center permission sets for federated workforce access
  2. Attach an Organizations SCP to a production OU
  3. Use delegated administrator registration for supported organization-wide services
  4. Configure organization-wide GuardDuty management through a delegated security account

Explanation

Correct Answer

C:

Delegated administration allows a registered member account to manage eligible service functions organization-wide; in this case the control is appropriate because it supports let a security account administer a supported service for organization members. Supported security administration should be separated from the management account.

Incorrect Answers

A:

Choosing this would aim to assign consistent workforce roles to many accounts through one identity portal instead of let a security account administer a supported service for organization members. IAM Identity Center permission sets provision corresponding account roles for entitled users or groups; it cannot replace the mechanism specified by the incident evidence.

B:

Although service control policies limit the maximum permissions of affected account principals but do not grant rights, the scenario does not ask for set a maximum permission boundary for member-account principals. It requires the ability to let a security account administer a supported service for organization members, which is a separate responsibility.

D:

That service solves a different operating problem: the need to enable consistent threat detection coverage for member accounts; its behavior is that GuardDuty organization administration can automatically manage protection enrollment across eligible members; the requested outcome remains let a security account administer a supported service for organization members.

Question 1079

A new AWS operations standard requires the ability to publish guest memory and disk-usage metrics not available from default EC2 metrics and track a domain-specific success count broken down by deployed service in the same operating environment. Which proposed pair delivers both?

  1. Enable CloudTrail log file integrity validation for audit log chains; associate a customer managed KMS key with a CloudWatch Logs log group
  2. Use an AWS Config aggregator for resource-compliance reporting; publish PutMetricData custom metrics with stable dimensions
  3. Install and configure the unified CloudWatch agent on EC2; publish PutMetricData custom metrics with stable dimensions
  4. Install and configure the unified CloudWatch agent on EC2; use CloudWatch Embedded Metric Format in structured JSON logs

Explanation

Correct Answer

C:

The first outcome depends on the behavior that the CloudWatch agent collects supported host metrics and logs beyond the standard EC2 metric set. Separately, CloudWatch custom metrics accept namespace, metric name, dimensions, values, and timestamps for aggregation. Together these meet the two requested outcomes, with the operational limits that a least-privilege instance role must authorize the agent to publish custom telemetry and dimensions must be controlled to avoid excessive custom metric cardinality and cost.

Incorrect Answers

A:

These are legitimate AWS controls for different outcomes: CloudTrail log file integrity validation delivers digest files that can verify delivered logs, whereas CloudWatch Logs supports customer-managed KMS key association for eligible log groups. The problem instead requires the ability to publish guest memory and disk-usage metrics not available from default EC2 metrics and to track a domain-specific success count broken down by deployed service.

B:

This combination solves only the latter acceptance test. The substituted first control supports centralize supported configuration and compliance summaries from accounts and Regions: AWS Config aggregators consolidate resource configuration and compliance data from configured sources; it does not implement publish guest memory and disk-usage metrics not available from default EC2 metrics.

D:

Embedded Metric Format embeds metric definitions in structured log events for CloudWatch extraction; that alternative supports the ability to emit high-cardinality application measurements together with diagnostic context, but it is not the requested second outcome (track a domain-specific success count broken down by deployed service). Even though the first half addresses publish guest memory and disk-usage metrics not available from default EC2 metrics, this pair is incomplete.

Question 1080

A production ticket contains this symptom: An internal service mesh cannot rely on publicly trusted certificates for its private workload names. The desired behavior is to issue short-lived internal TLS certificates for private service identities. What should be fixed?

  1. Use AWS Private CA for an organization-managed private certificate authority
  2. Use AWS Firewall Manager organization security policies for WAF protections
  3. Apply S3 Block Public Access at the account or bucket scope
  4. Request an ACM-issued public certificate for a supported HTTPS endpoint

Explanation

Correct Answer

A:

AWS Private CA creates and operates private certificate authorities for issuing and managing private certificates; in this case the control is appropriate because it supports issue short-lived internal TLS certificates for private service identities. The organization must govern internal CA policies and certificate trust distribution.

Incorrect Answers

B:

That service solves a different operating problem: the need to enforce an approved web ACL policy on supported public application endpoints across member accounts; its behavior is that firewall Manager manages supported security policies across accounts and can apply WAF protections to in-scope resources; the requested outcome remains issue short-lived internal TLS certificates for private service identities.

C:

The choice is useful when engineers need to prevent accidental public grants on sensitive S3 buckets: S3 Block Public Access settings override relevant public permissions for supported access paths; it would not establish the control needed to issue short-lived internal TLS certificates for private service identities.

D:

AWS Certificate Manager provisions and renews eligible certificates for integrated AWS services; this is a reasonable option when the requirement is to automate TLS certificate provisioning for an AWS-managed load balancer, but it operates at a different workflow boundary from the stated need to issue short-lived internal TLS certificates for private service identities.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests