cert
cert-1
cert-2

Pass Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
AWS Certified DevOps Engineer - Professional DOP-C02 Exam - Verified By Experts
AWS Certified DevOps Engineer - Professional DOP-C02 Premium Bundle
$14.99

AWS Certified DevOps Engineer - Professional DOP-C02 Premium Bundle

$74.99
$89.98
  • Premium File 480 Questions & Answers. Last update: Nov 08, 2026
  • Training Course 242 Video Lectures
 
$89.98
$74.99
accept 62 downloads in last 7 days
block-screenshots
Purchase Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Exam Training Products Individually
Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Premium File
Premium File 480 Q&A
$76.99$69.99
Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Video Training Course
Training Course 242 Lectures
$21.99 $19.99
Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Practice Test 89

Question 880

The DevOps team must resolve this scenario: A monorepo contains infrastructure, mobile and billing folders, but every README edit launches all three expensive production pipelines. Which engineering change is MOST appropriate?

  1. Use appropriate source change triggers and path filters with explicit handling of shared dependencies.
  2. Integrate deployment alarms and an automated rollback path for failed acceptance windows.
  3. Insert a manual approval action between verified staging tests and the production deployment.
  4. Publish a versioned Lambda layer and deploy function versions referencing the approved layer.

Explanation

Correct Answer

A:

Use appropriate source change triggers and path filters with explicit handling of shared dependencies. Its validation is: An unrelated change does not deploy billing, while a relevant shared component still triggers required tests. The principle is: Pipeline triggers should select relevant branch and file changes without missing dependencies.

Incorrect Answers

B:

Integrate deployment alarms and an automated rollback path for failed acceptance windows. This instead addresses a different case: A production delivery pipeline remains green after a deployment even though health checks fail during post-deploy traffic. For the stated situation (A monorepo contains infrastructure, mobile and billing folders, but every README edit launches all three expensive production pipelines.), the better engineering action is: Use appropriate source change triggers and path filters with explicit handling of shared dependencies. The deciding distinction is: Pipeline triggers should select relevant branch and file changes without missing dependencies.

C:

Insert a manual approval action between verified staging tests and the production deployment. This instead addresses a different case: A critical payments service is automatically promoted from a successful staging build directly into production without business acceptance. For the stated situation (A monorepo contains infrastructure, mobile and billing folders, but every README edit launches all three expensive production pipelines.), the better engineering action is: Use appropriate source change triggers and path filters with explicit handling of shared dependencies. The deciding distinction is: Pipeline triggers should select relevant branch and file changes without missing dependencies.

D:

Publish a versioned Lambda layer and deploy function versions referencing the approved layer. This instead addresses a different case: An application repeatedly packages a huge unchanged runtime dependency into every Lambda release, increasing rollout time and inconsistent versions. For the stated situation (A monorepo contains infrastructure, mobile and billing folders, but every README edit launches all three expensive production pipelines.), the better engineering action is: Use appropriate source change triggers and path filters with explicit handling of shared dependencies. The deciding distinction is: Pipeline triggers should select relevant branch and file changes without missing dependencies.

Question 881

A DevOps team is reviewing: An EC2 application stores a permanent IAM access key in a local configuration file to upload reports to S3. Which TWO complementary actions should it take? Select TWO answers.

  1. Inspect inherited SCPs, IAM identity policy and the denied API condition.
  2. Inspect instance profile, IAM actions, key storage and CloudTrail usage.
  3. Correct subnet stateless rules or use appropriate security group rules for application access.
  4. Replace stored access keys with a least-privilege EC2 instance profile role.
  5. Use appropriate tag-aware policies with guarded tagging permissions.

Explanation

Correct Answers

B:

Inspect instance profile, IAM actions, key storage and CloudTrail usage. This is a required diagnostic evidence step for the stated situation: An EC2 application stores a permanent IAM access key in a local configuration file to upload reports to S3. The complementary correct action is: Replace stored access keys with a least-privilege EC2 instance profile role. Both follow the principle: AWS compute workloads should generally use IAM roles and temporary instance profile credentials.

D:

Replace stored access keys with a least-privilege EC2 instance profile role. This is a required controlled engineering action for the stated situation: An EC2 application stores a permanent IAM access key in a local configuration file to upload reports to S3. The complementary correct action is: Inspect instance profile, IAM actions, key storage and CloudTrail usage. Both follow the principle: AWS compute workloads should generally use IAM roles and temporary instance profile credentials.

Incorrect Answers

A:

Inspect inherited SCPs, IAM identity policy and the denied API condition. This is suitable for another situation: A developer's administrator IAM policy still fails to launch an unapproved service because an OU SCP contains an explicit deny. In this case, engineers instead need the paired investigation (Inspect instance profile, IAM actions, key storage and CloudTrail usage.) and design change (Replace stored access keys with a least-privilege EC2 instance profile role.). These two steps address: An EC2 application stores a permanent IAM access key in a local configuration file to upload reports to S3.

C:

Correct subnet stateless rules or use appropriate security group rules for application access. This is suitable for another situation: A service needs stateful application access, but network engineers rely on one stateless NACL inbound allow rule and response traffic is blocked. In this case, engineers instead need the paired investigation (Inspect instance profile, IAM actions, key storage and CloudTrail usage.) and design change (Replace stored access keys with a least-privilege EC2 instance profile role.). These two steps address: An EC2 application stores a permanent IAM access key in a local configuration file to upload reports to S3.

E:

Use appropriate tag-aware policies with guarded tagging permissions. This is suitable for another situation: A shared ECS deployment role can update any workload in the account despite developers owning separate applications. In this case, engineers instead need the paired investigation (Inspect instance profile, IAM actions, key storage and CloudTrail usage.) and design change (Replace stored access keys with a least-privilege EC2 instance profile role.). These two steps address: An EC2 application stores a permanent IAM access key in a local configuration file to upload reports to S3.

Question 882

A DevOps team is reviewing: A standby Region has copied AMIs but no provisioned database capacity and cannot accept traffic for hours. Which TWO complementary actions should it take? Select TWO answers.

  1. Review standby environment inventory, RTO, replication and scaling procedures.
  2. Automate suitable recovery steps with controlled Step Functions or Systems Manager workflows.
  3. Provision and test a suitably sized standby baseline with controlled scale-up on failover.
  4. Define least-privilege emergency DNS roles and practice failover under expected conditions.
  5. Configure applications to use suitable Aurora endpoints and resilient reconnection.

Explanation

Correct Answers

A:

Review standby environment inventory, RTO, replication and scaling procedures. This is a required diagnostic evidence step for the stated situation: A standby Region has copied AMIs but no provisioned database capacity and cannot accept traffic for hours. The complementary correct action is: Provision and test a suitably sized standby baseline with controlled scale-up on failover. Both follow the principle: Warm standby requires pre-deployed usable components sufficient for stated recovery time.

C:

Provision and test a suitably sized standby baseline with controlled scale-up on failover. This is a required controlled engineering action for the stated situation: A standby Region has copied AMIs but no provisioned database capacity and cannot accept traffic for hours. The complementary correct action is: Review standby environment inventory, RTO, replication and scaling procedures. Both follow the principle: Warm standby requires pre-deployed usable components sufficient for stated recovery time.

Incorrect Answers

B:

Automate suitable recovery steps with controlled Step Functions or Systems Manager workflows. This is suitable for another situation: A failover runbook manually changes 14 DNS and compute settings in a fixed order; quarterly drills frequently skip steps. In this case, engineers instead need the paired investigation (Review standby environment inventory, RTO, replication and scaling procedures.) and design change (Provision and test a suitably sized standby baseline with controlled scale-up on failover.). These two steps address: A standby Region has copied AMIs but no provisioned database capacity and cannot accept traffic for hours.

D:

Define least-privilege emergency DNS roles and practice failover under expected conditions. This is suitable for another situation: The secondary service is healthy, but a disaster exercise reveals operators cannot change DNS because the failover role lacks permission. In this case, engineers instead need the paired investigation (Review standby environment inventory, RTO, replication and scaling procedures.) and design change (Provision and test a suitably sized standby baseline with controlled scale-up on failover.). These two steps address: A standby Region has copied AMIs but no provisioned database capacity and cannot accept traffic for hours.

E:

Configure applications to use suitable Aurora endpoints and resilient reconnection. This is suitable for another situation: An Aurora cluster has replicas in different AZs but applications use fixed instance endpoints and never fail over to another reader. In this case, engineers instead need the paired investigation (Review standby environment inventory, RTO, replication and scaling procedures.) and design change (Provision and test a suitably sized standby baseline with controlled scale-up on failover.). These two steps address: A standby Region has copied AMIs but no provisioned database capacity and cannot accept traffic for hours.

Question 883

After implementing a proposed fix, the team reviews: A production database is managed in a stack whose deletion could be triggered by an overly broad cleanup pipeline. Which result would BEST confirm that the risk is addressed?

  1. A prohibited test configuration is detected, corrected or escalated, and logged.
  2. The existing queue retains its ARN, messages and managed template representation.
  3. The production role reads only its approved parameter and denies staging reads.
  4. An unauthorized delete request fails and recovery data remains protected.

Explanation

Correct Answer

D:

An unauthorized delete request fails and recovery data remains protected. The approved action is: Enable termination protection and suitable resource retention or backup controls with restricted delete rights. The risk principle is: Critical stateful stacks need deletion safeguards independent of ordinary deployment success.

Incorrect Answers

A:

A prohibited test configuration is detected, corrected or escalated, and logged. This instead addresses a different case: An application team repeatedly disables approved EBS encryption defaults and security reviews detect the drift weeks later. For the stated situation (A production database is managed in a stack whose deletion could be triggered by an overly broad cleanup pipeline.), the better verification is: An unauthorized delete request fails and recovery data remains protected. The deciding distinction is: Critical stateful stacks need deletion safeguards independent of ordinary deployment success.

B:

The existing queue retains its ARN, messages and managed template representation. This instead addresses a different case: A production queue built manually is now required in a managed CloudFormation stack, but engineers fear recreating it will lose messages. For the stated situation (A production database is managed in a stack whose deletion could be triggered by an overly broad cleanup pipeline.), the better verification is: An unauthorized delete request fails and recovery data remains protected. The deciding distinction is: Critical stateful stacks need deletion safeguards independent of ordinary deployment success.

C:

The production role reads only its approved parameter and denies staging reads. This instead addresses a different case: Multiple environments share unqualified /db/password parameter names and a production application accidentally reads a staging secret. For the stated situation (A production database is managed in a stack whose deletion could be triggered by an overly broad cleanup pipeline.), the better verification is: An unauthorized delete request fails and recovery data remains protected. The deciding distinction is: Critical stateful stacks need deletion safeguards independent of ordinary deployment success.

Question 884

After implementing a proposed fix, the team reviews: Operations edits a firewall security group to add temporary unrestricted access but forgets to remove it after an emergency. Which result would BEST confirm that the risk is addressed?

  1. A known temporary exposure is detected and safely removed with an audit record.
  2. Repeated signed delivery produces one fulfillment operation, while invalid signatures fail.
  3. The service presents a current trusted certificate before expiry without unexpected interruption.
  4. A test missing-agent instance is corrected while unrelated resources remain untouched.

Explanation

Correct Answer

A:

A known temporary exposure is detected and safely removed with an audit record. The approved action is: Use a controlled approved remediation action or rollback of the unauthorized rule. The risk principle is: Temporary security changes need scoped automatic detection and accountable restoration.

Incorrect Answers

B:

Repeated signed delivery produces one fulfillment operation, while invalid signatures fail. This instead addresses a different case: A partner sends the same signed webhook three times after a network timeout, and an AWS ingestion function creates three fulfillment jobs. For the stated situation (Operations edits a firewall security group to add temporary unrestricted access but forgets to remove it after an emergency.), the better verification is: A known temporary exposure is detected and safely removed with an audit record. The deciding distinction is: Temporary security changes need scoped automatic detection and accountable restoration.

C:

The service presents a current trusted certificate before expiry without unexpected interruption. This instead addresses a different case: An ACM-managed certificate is nearing expiration, but an application relies on manually imported certificates whose renewal notifications are ignored. For the stated situation (Operations edits a firewall security group to add temporary unrestricted access but forgets to remove it after an emergency.), the better verification is: A known temporary exposure is detected and safely removed with an audit record. The deciding distinction is: Temporary security changes need scoped automatic detection and accountable restoration.

D:

A test missing-agent instance is corrected while unrelated resources remain untouched. This instead addresses a different case: AWS Config finds an EC2 instance without the approved monitoring agent, but the repair Lambda has permission to modify every resource in the account. For the stated situation (Operations edits a firewall security group to add temporary unrestricted access but forgets to remove it after an emergency.), the better verification is: A known temporary exposure is detected and safely removed with an audit record. The deciding distinction is: Temporary security changes need scoped automatic detection and accountable restoration.

Question 885

After implementing a proposed fix, the team reviews: A public API invokes Lambda and saturates an external payment service when automatic concurrency grows after a marketing event. Which result would BEST confirm that the risk is addressed?

  1. A representative hot-key workload completes within throughput and latency targets.
  2. A long-running task avoids unintended simultaneous processing and duplicates are safe.
  3. Load tests stay within payment provider quotas while preserving request handling guarantees.
  4. A planned failover produces only acceptable transient errors and service recovers.

Explanation

Correct Answer

C:

Load tests stay within payment provider quotas while preserving request handling guarantees. The approved action is: Use reserved concurrency or queue buffering and controlled backpressure. The risk principle is: Serverless scaling must respect downstream rate limits and concurrency budgets.

Incorrect Answers

A:

A representative hot-key workload completes within throughput and latency targets. This instead addresses a different case: A DynamoDB table has substantial unused provisioned capacity but requests to one partition key still throttle under burst load. For the stated situation (A public API invokes Lambda and saturates an external payment service when automatic concurrency grows after a marketing event.), the better verification is: Load tests stay within payment provider quotas while preserving request handling guarantees. The deciding distinction is: Serverless scaling must respect downstream rate limits and concurrency budgets.

B:

A long-running task avoids unintended simultaneous processing and duplicates are safe. This instead addresses a different case: Message consumers regularly process tasks longer than the SQS visibility timeout, causing duplicate deliveries while the first worker is active. For the stated situation (A public API invokes Lambda and saturates an external payment service when automatic concurrency grows after a marketing event.), the better verification is: Load tests stay within payment provider quotas while preserving request handling guarantees. The deciding distinction is: Serverless scaling must respect downstream rate limits and concurrency budgets.

D:

A planned failover produces only acceptable transient errors and service recovers. This instead addresses a different case: A critical Aurora service stores data reliably but a client uses a short hardcoded connection timeout and does not retry after writer promotion. For the stated situation (A public API invokes Lambda and saturates an external payment service when automatic concurrency grows after a marketing event.), the better verification is: Load tests stay within payment provider quotas while preserving request handling guarantees. The deciding distinction is: Serverless scaling must respect downstream rate limits and concurrency budgets.

Question 886

A DevOps team is reviewing: Security Hub findings remain isolated in 40 member accounts and security operations cannot reliably track enterprise-wide exposure. Which TWO complementary actions should it take? Select TWO answers.

  1. Inspect Control Tower landing zone, Account Factory templates and detective guardrails.
  2. Configure central Security Hub administration and cross-Region aggregation as appropriate.
  3. Apply reviewed region-deny guardrails with necessary exceptions at appropriate OU scope.
  4. Review Organizations integration, delegated administrator, enabled standards and aggregation regions.
  5. Run drift detection and compare effective security group properties with template state.

Explanation

Correct Answers

B:

Configure central Security Hub administration and cross-Region aggregation as appropriate. This is a required controlled engineering action for the stated situation: Security Hub findings remain isolated in 40 member accounts and security operations cannot reliably track enterprise-wide exposure. The complementary correct action is: Review Organizations integration, delegated administrator, enabled standards and aggregation regions. Both follow the principle: Multi-account security governance needs centralized delegated administration and aggregated visibility.

D:

Review Organizations integration, delegated administrator, enabled standards and aggregation regions. This is a required diagnostic evidence step for the stated situation: Security Hub findings remain isolated in 40 member accounts and security operations cannot reliably track enterprise-wide exposure. The complementary correct action is: Configure central Security Hub administration and cross-Region aggregation as appropriate. Both follow the principle: Multi-account security governance needs centralized delegated administration and aggregated visibility.

Incorrect Answers

A:

Inspect Control Tower landing zone, Account Factory templates and detective guardrails. This is suitable for another situation: A company provisions AWS accounts manually and regularly forgets baseline logging and governance settings. In this case, engineers instead need the paired investigation (Review Organizations integration, delegated administrator, enabled standards and aggregation regions.) and design change (Configure central Security Hub administration and cross-Region aggregation as appropriate.). These two steps address: Security Hub findings remain isolated in 40 member accounts and security operations cannot reliably track enterprise-wide exposure.

C:

Apply reviewed region-deny guardrails with necessary exceptions at appropriate OU scope. This is suitable for another situation: A multinational OU has a data residency rule, but new accounts can deploy regulated S3 resources in arbitrary Regions. In this case, engineers instead need the paired investigation (Review Organizations integration, delegated administrator, enabled standards and aggregation regions.) and design change (Configure central Security Hub administration and cross-Region aggregation as appropriate.). These two steps address: Security Hub findings remain isolated in 40 member accounts and security operations cannot reliably track enterprise-wide exposure.

E:

Run drift detection and compare effective security group properties with template state. This is suitable for another situation: A CloudFormation-managed security group was changed directly in the console, and the next stack update behaves differently from the approved template. In this case, engineers instead need the paired investigation (Review Organizations integration, delegated administrator, enabled standards and aggregation regions.) and design change (Configure central Security Hub administration and cross-Region aggregation as appropriate.). These two steps address: Security Hub findings remain isolated in 40 member accounts and security operations cannot reliably track enterprise-wide exposure.

Question 887

After implementing a proposed fix, the team reviews: The security team needs immediate notification if any member account root principal creates an access key or changes account settings. Which result would BEST confirm that the risk is addressed?

  1. A deliberately changed role triggers a finding and is restored or risk accepted.
  2. A safe simulated rule match generates a routed high-severity root activity alert.
  3. A controlled management event from the affected account arrives in the archive.
  4. A test delete before retention expiry is denied and authorized readers retain access.

Explanation

Correct Answer

B:

A safe simulated rule match generates a routed high-severity root activity alert. The approved action is: Use an EventBridge or suitable centralized CloudTrail event detection and escalation. The risk principle is: High-risk root activity should be centrally detected from reliably recorded audit events.

Incorrect Answers

A:

A deliberately changed role triggers a finding and is restored or risk accepted. This instead addresses a different case: A production IAM role grants expanded privileges despite the approved CloudFormation template declaring limited access. For the stated situation (The security team needs immediate notification if any member account root principal creates an access key or changes account settings.), the better verification is: A safe simulated rule match generates a routed high-severity root activity alert. The deciding distinction is: High-risk root activity should be centrally detected from reliably recorded audit events.

C:

A controlled management event from the affected account arrives in the archive. This instead addresses a different case: A central S3 audit bucket receives CloudTrail from most accounts but one member account fails because a KMS policy condition excludes its trail. For the stated situation (The security team needs immediate notification if any member account root principal creates an access key or changes account settings.), the better verification is: A safe simulated rule match generates a routed high-severity root activity alert. The deciding distinction is: High-risk root activity should be centrally detected from reliably recorded audit events.

D:

A test delete before retention expiry is denied and authorized readers retain access. This instead addresses a different case: An organization must retain regulatory audit evidence for seven years, but administrators can remove every copy using ordinary DeleteObject. For the stated situation (The security team needs immediate notification if any member account root principal creates an access key or changes account settings.), the better verification is: A safe simulated rule match generates a routed high-severity root activity alert. The deciding distinction is: High-risk root activity should be centrally detected from reliably recorded audit events.

Question 888

After implementing a proposed fix, the team reviews: An S3 upload event triggers a Lambda that copies customer records, and retries create duplicate records in a destination store. Which result would BEST confirm that the risk is addressed?

  1. Old and new eligible events are processed or deliberately rejected with traceable errors.
  2. A delayed file starts exactly one logical report after it is fully available.
  3. Replaying one S3 event results in one intended destination record.
  4. A single crashed task is replaced, while repeated failures trigger a meaningful incident.

Explanation

Correct Answer

C:

Replaying one S3 event results in one intended destination record. The approved action is: Use stable object identity and idempotent processing or transactional guards. The risk principle is: Event-driven systems must handle duplicate delivery safely and preserve idempotency.

Incorrect Answers

A:

Old and new eligible events are processed or deliberately rejected with traceable errors. This instead addresses a different case: A producer changes the event payload field name and consumers silently ignore new events while their SQS queues fill. For the stated situation (An S3 upload event triggers a Lambda that copies customer records, and retries create duplicate records in a destination store.), the better verification is: Replaying one S3 event results in one intended destination record. The deciding distinction is: Event-driven systems must handle duplicate delivery safely and preserve idempotency.

B:

A delayed file starts exactly one logical report after it is fully available. This instead addresses a different case: An automation starts on a fixed schedule even though the required S3 data file often arrives late, causing incomplete daily reports. For the stated situation (An S3 upload event triggers a Lambda that copies customer records, and retries create duplicate records in a destination store.), the better verification is: Replaying one S3 event results in one intended destination record. The deciding distinction is: Event-driven systems must handle duplicate delivery safely and preserve idempotency.

D:

A single crashed task is replaced, while repeated failures trigger a meaningful incident. This instead addresses a different case: An ECS application task fails health checks every few minutes, and the team restarts the same failing task manually without identifying a dependency outage. For the stated situation (An S3 upload event triggers a Lambda that copies customer records, and retries create duplicate records in a destination store.), the better verification is: Replaying one S3 event results in one intended destination record. The deciding distinction is: Event-driven systems must handle duplicate delivery safely and preserve idempotency.

Question 889

After implementing a proposed fix, the team reviews: A document service requires copies in a separate Region, but new objects stay only in the source S3 bucket. Which result would BEST confirm that the risk is addressed?

  1. A new eligible encrypted object appears in the approved destination with expected metadata.
  2. Traffic replay scales tasks before latency exceeds agreed business thresholds.
  3. Concurrent writes are reconciled according to documented business semantics.
  4. A planned replica or writer failover routes clients to healthy supported instances.

Explanation

Correct Answer

A:

A new eligible encrypted object appears in the approved destination with expected metadata. The approved action is: Configure S3 replication with required permissions and encryption handling. The risk principle is: Cross-Region object resilience requires configured replication and suitable versioning and permissions.

Incorrect Answers

B:

Traffic replay scales tasks before latency exceeds agreed business thresholds. This instead addresses a different case: An ECS Fargate application scales tasks manually and saturates its ALB during promotional traffic spikes. For the stated situation (A document service requires copies in a separate Region, but new objects stay only in the source S3 bucket.), the better verification is: A new eligible encrypted object appears in the approved destination with expected metadata. The deciding distinction is: Cross-Region object resilience requires configured replication and suitable versioning and permissions.

C:

Concurrent writes are reconciled according to documented business semantics. This instead addresses a different case: A multi-Region shopping app writes the same item in two Regions and occasionally overwrites updates unexpectedly. For the stated situation (A document service requires copies in a separate Region, but new objects stay only in the source S3 bucket.), the better verification is: A new eligible encrypted object appears in the approved destination with expected metadata. The deciding distinction is: Cross-Region object resilience requires configured replication and suitable versioning and permissions.

D:

A planned replica or writer failover routes clients to healthy supported instances. This instead addresses a different case: An Aurora cluster has replicas in different AZs but applications use fixed instance endpoints and never fail over to another reader. For the stated situation (A document service requires copies in a separate Region, but new objects stay only in the source S3 bucket.), the better verification is: A new eligible encrypted object appears in the approved destination with expected metadata. The deciding distinction is: Cross-Region object resilience requires configured replication and suitable versioning and permissions.

Question 890

After implementing a proposed fix, the team reviews: A development application sends verbose logs to CloudWatch Logs indefinitely, creating growing cost and a retention-policy exception. Which result would BEST confirm that the risk is addressed?

  1. Capacity is ready before known peaks while unwanted excess capacity is limited.
  2. A test log group expires data according to its authorized retention policy.
  3. A representative failed request produces an ALB log object readable by approved responders.
  4. One sample transaction forms an end-to-end trace with identifiable slow segment.

Explanation

Correct Answer

B:

A test log group expires data according to its authorized retention policy. The approved action is: Set an approved retention period and route long-term audit logs to suitable protected storage if needed. The risk principle is: Log-group retention should reflect business, legal and investigation requirements.

Incorrect Answers

A:

Capacity is ready before known peaks while unwanted excess capacity is limited. This instead addresses a different case: A predictable daily traffic peak starts before the reactive Auto Scaling policy can launch sufficient EC2 instances. For the stated situation (A development application sends verbose logs to CloudWatch Logs indefinitely, creating growing cost and a retention-policy exception.), the better verification is: A test log group expires data according to its authorized retention policy. The deciding distinction is: Log-group retention should reflect business, legal and investigation requirements.

C:

A representative failed request produces an ALB log object readable by approved responders. This instead addresses a different case: An ALB intermittently rejects requests, but access logs are absent because the configured S3 bucket policy denies delivery. For the stated situation (A development application sends verbose logs to CloudWatch Logs indefinitely, creating growing cost and a retention-policy exception.), the better verification is: A test log group expires data according to its authorized retention policy. The deciding distinction is: Log-group retention should reflect business, legal and investigation requirements.

D:

One sample transaction forms an end-to-end trace with identifiable slow segment. This instead addresses a different case: API Gateway, Lambda and downstream services emit logs, but operators cannot correlate one slow customer request across service hops. For the stated situation (A development application sends verbose logs to CloudWatch Logs indefinitely, creating growing cost and a retention-policy exception.), the better verification is: A test log group expires data according to its authorized retention policy. The deciding distinction is: Log-group retention should reflect business, legal and investigation requirements.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests