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 57

Question 560

An engineering review identifies: Security investigators cannot reconstruct a suspected data exfiltration path because VPC Flow Logs were never enabled for regulated subnets. Which shortcut is MOST unsafe for this exact condition?

  1. Drop all dimensions to simplify storage and assume root cause remains observable.
  2. Assume any numeric field inside JSON automatically becomes a CloudWatch metric.
  3. Rely on application logs to reconstruct every accepted and rejected VPC packet flow.
  4. Poll every bucket manually once a quarter instead of responding to relevant configuration change.

Explanation

Correct Answer

C:

Rely on application logs to reconstruct every accepted and rejected VPC packet flow. The case is: Security investigators cannot reconstruct a suspected data exfiltration path because VPC Flow Logs were never enabled for regulated subnets. A safer engineering response is: Enable appropriately scoped VPC Flow Logs to a secure central destination. The deciding principle is: Network flow evidence must be collected at relevant scope with protected destination and retention.

Incorrect Answers

A:

Drop all dimensions to simplify storage and assume root cause remains observable. This instead addresses a different case: A dashboard aggregates all Lambda error counts into one line and cannot reveal which function causes the failures. For the stated situation (Security investigators cannot reconstruct a suspected data exfiltration path because VPC Flow Logs were never enabled for regulated subnets.), the better unsafe assumption to reject is: Rely on application logs to reconstruct every accepted and rejected VPC packet flow. The deciding distinction is: Network flow evidence must be collected at relevant scope with protected destination and retention.

B:

Assume any numeric field inside JSON automatically becomes a CloudWatch metric. This instead addresses a different case: An application emits useful latency values inside structured logs but operators need searchable and alarmable measurements without building a bespoke database. For the stated situation (Security investigators cannot reconstruct a suspected data exfiltration path because VPC Flow Logs were never enabled for regulated subnets.), the better unsafe assumption to reject is: Rely on application logs to reconstruct every accepted and rejected VPC packet flow. The deciding distinction is: Network flow evidence must be collected at relevant scope with protected destination and retention.

D:

Poll every bucket manually once a quarter instead of responding to relevant configuration change. This instead addresses a different case: Security operations wants alerts whenever Config detects that approved encryption settings are disabled on new storage resources. For the stated situation (Security investigators cannot reconstruct a suspected data exfiltration path because VPC Flow Logs were never enabled for regulated subnets.), the better unsafe assumption to reject is: Rely on application logs to reconstruct every accepted and rejected VPC packet flow. The deciding distinction is: Network flow evidence must be collected at relevant scope with protected destination and retention.

Question 561

Before changing production, engineers find: A critical Aurora service stores data reliably but a client uses a short hardcoded connection timeout and does not retry after writer promotion. Which investigation should the engineer perform FIRST?

  1. Review global table consistency behavior, regional write patterns and timestamp conflicts.
  2. Review producer partition keys, throttling, shard metrics and consumer lag.
  3. Review writer failover tests, connection pools, DNS refresh and retry strategy.
  4. Inspect secret replication, KMS key design, role access and DNS/failover flows.

Explanation

Correct Answer

C:

Review writer failover tests, connection pools, DNS refresh and retry strategy. The governing principle is: Availability requires both managed database failover and application-side transient fault handling. The next controlled engineering decision is: Implement bounded retries and use appropriate cluster endpoints around database failover.

Incorrect Answers

A:

Review global table consistency behavior, regional write patterns and timestamp conflicts. 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 critical Aurora service stores data reliably but a client uses a short hardcoded connection timeout and does not retry after writer promotion.), the better investigation is: Review writer failover tests, connection pools, DNS refresh and retry strategy. The deciding distinction is: Availability requires both managed database failover and application-side transient fault handling.

B:

Review producer partition keys, throttling, shard metrics and consumer lag. This instead addresses a different case: A streaming workload begins dropping or delaying records because all events use the same partition key and one Kinesis shard is hot. For the stated situation (A critical Aurora service stores data reliably but a client uses a short hardcoded connection timeout and does not retry after writer promotion.), the better investigation is: Review writer failover tests, connection pools, DNS refresh and retry strategy. The deciding distinction is: Availability requires both managed database failover and application-side transient fault handling.

D:

Inspect secret replication, KMS key design, role access and DNS/failover flows. This instead addresses a different case: A warm standby web tier exists in a second Region but depends on secrets and KMS keys that are only accessible in the primary Region. For the stated situation (A critical Aurora service stores data reliably but a client uses a short hardcoded connection timeout and does not retry after writer promotion.), the better investigation is: Review writer failover tests, connection pools, DNS refresh and retry strategy. The deciding distinction is: Availability requires both managed database failover and application-side transient fault handling.

Question 562

A DevOps team is reviewing: Multiple application instances embed a database password that is rotated manually, causing widespread outages after each change. Which TWO complementary actions should it take? Select TWO answers.

  1. Replace stored access keys with a least-privilege EC2 instance profile role.
  2. Inspect secret version stages, rotation workflow and application cache behavior.
  3. Inspect role tags, ECS resource tags, aws:PrincipalTag conditions and tag mutation rights.
  4. Implement safe Secrets Manager rotation and compatible runtime secret refresh.
  5. Correct subnet stateless rules or use appropriate security group rules for application access.

Explanation

Correct Answers

B:

Inspect secret version stages, rotation workflow and application cache behavior. This is a required diagnostic evidence step for the stated situation: Multiple application instances embed a database password that is rotated manually, causing widespread outages after each change. The complementary correct action is: Implement safe Secrets Manager rotation and compatible runtime secret refresh. Both follow the principle: Machine credentials should be centrally rotated with coordinated client refresh and access scoping.

D:

Implement safe Secrets Manager rotation and compatible runtime secret refresh. This is a required controlled engineering action for the stated situation: Multiple application instances embed a database password that is rotated manually, causing widespread outages after each change. The complementary correct action is: Inspect secret version stages, rotation workflow and application cache behavior. Both follow the principle: Machine credentials should be centrally rotated with coordinated client refresh and access scoping.

Incorrect Answers

A:

Replace stored access keys with a least-privilege EC2 instance profile role. This is suitable for another situation: An EC2 application stores a permanent IAM access key in a local configuration file to upload reports to S3. In this case, engineers instead need the paired investigation (Inspect secret version stages, rotation workflow and application cache behavior.) and design change (Implement safe Secrets Manager rotation and compatible runtime secret refresh.). These two steps address: Multiple application instances embed a database password that is rotated manually, causing widespread outages after each change.

C:

Inspect role tags, ECS resource tags, aws:PrincipalTag conditions and tag mutation rights. 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 secret version stages, rotation workflow and application cache behavior.) and design change (Implement safe Secrets Manager rotation and compatible runtime secret refresh.). These two steps address: Multiple application instances embed a database password that is rotated manually, causing widespread outages after each change.

E:

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 secret version stages, rotation workflow and application cache behavior.) and design change (Implement safe Secrets Manager rotation and compatible runtime secret refresh.). These two steps address: Multiple application instances embed a database password that is rotated manually, causing widespread outages after each change.

Question 563

The DevOps team must resolve this scenario: An external application returns 200 for its home page even as the login endpoint has expired certificates and cannot authenticate users. Which engineering change is MOST appropriate?

  1. Set queue age alarms and controlled poison-message routing to a DLQ.
  2. Create a managed synthetic login journey with secure test identity and operational alarm.
  3. Use the appropriate metric split and correlated logs to target the failing layer.
  4. Use CloudWatch composite alarm logic with deliberate suppression or grouping.

Explanation

Correct Answer

B:

Create a managed synthetic login journey with secure test identity and operational alarm. Its validation is: Certificate failure or broken login triggers the expected monitored incident. The principle is: Synthetic monitoring should exercise user-important paths with appropriate credentials and certificate checks.

Incorrect Answers

A:

Set queue age alarms and controlled poison-message routing to a DLQ. This instead addresses a different case: A queue's depth remains modest but its oldest message waits 40 minutes because one poison message repeatedly fails processing. For the stated situation (An external application returns 200 for its home page even as the login endpoint has expired certificates and cannot authenticate users.), the better engineering action is: Create a managed synthetic login journey with secure test identity and operational alarm. The deciding distinction is: Synthetic monitoring should exercise user-important paths with appropriate credentials and certificate checks.

C:

Use the appropriate metric split and correlated logs to target the failing layer. This instead addresses a different case: An application dashboard reports increased HTTP 5xx errors after release, but it does not distinguish target errors from errors generated by the ALB. For the stated situation (An external application returns 200 for its home page even as the login endpoint has expired certificates and cannot authenticate users.), the better engineering action is: Create a managed synthetic login journey with secure test identity and operational alarm. The deciding distinction is: Synthetic monitoring should exercise user-important paths with appropriate credentials and certificate checks.

D:

Use CloudWatch composite alarm logic with deliberate suppression or grouping. This instead addresses a different case: Five related alarms page the same team simultaneously for a single database outage, overwhelming responders. For the stated situation (An external application returns 200 for its home page even as the login endpoint has expired certificates and cannot authenticate users.), the better engineering action is: Create a managed synthetic login journey with secure test identity and operational alarm. The deciding distinction is: Synthetic monitoring should exercise user-important paths with appropriate credentials and certificate checks.

Question 564

A DevOps team is reviewing: A custom TLS termination service stores its private key in an unencrypted public container image layer. Which TWO complementary actions should it take? Select TWO answers.

  1. Use ACM or a secure secret/key service appropriate to the termination model.
  2. Inspect image layers, secret storage, runtime mounts and certificate rotation.
  3. Inspect KMS key policy, IAM Decrypt grant, encryption context and bucket policy.
  4. Review trust policy principal, external ID use, STS records and least-privilege permissions.
  5. Inspect ACM status, validation records, domain ownership and ALB listener association.

Explanation

Correct Answers

A:

Use ACM or a secure secret/key service appropriate to the termination model. This is a required controlled engineering action for the stated situation: A custom TLS termination service stores its private key in an unencrypted public container image layer. The complementary correct action is: Inspect image layers, secret storage, runtime mounts and certificate rotation. Both follow the principle: Private TLS key material should be protected and excluded from build artifacts.

B:

Inspect image layers, secret storage, runtime mounts and certificate rotation. This is a required diagnostic evidence step for the stated situation: A custom TLS termination service stores its private key in an unencrypted public container image layer. The complementary correct action is: Use ACM or a secure secret/key service appropriate to the termination model. Both follow the principle: Private TLS key material should be protected and excluded from build artifacts.

Incorrect Answers

C:

Inspect KMS key policy, IAM Decrypt grant, encryption context and bucket policy. This is suitable for another situation: An application has s3:GetObject permission but cannot read encrypted objects after a KMS key policy update. In this case, engineers instead need the paired investigation (Inspect image layers, secret storage, runtime mounts and certificate rotation.) and design change (Use ACM or a secure secret/key service appropriate to the termination model.). These two steps address: A custom TLS termination service stores its private key in an unencrypted public container image layer.

D:

Review trust policy principal, external ID use, STS records and least-privilege permissions. This is suitable for another situation: A deployment service assumes a role in a third-party account, but the trust policy permits any AWS principal in the partner account. In this case, engineers instead need the paired investigation (Inspect image layers, secret storage, runtime mounts and certificate rotation.) and design change (Use ACM or a secure secret/key service appropriate to the termination model.). These two steps address: A custom TLS termination service stores its private key in an unencrypted public container image layer.

E:

Inspect ACM status, validation records, domain ownership and ALB listener association. This is suitable for another situation: A production ALB certificate renewal stalls because the required DNS validation CNAME was deleted. In this case, engineers instead need the paired investigation (Inspect image layers, secret storage, runtime mounts and certificate rotation.) and design change (Use ACM or a secure secret/key service appropriate to the termination model.). These two steps address: A custom TLS termination service stores its private key in an unencrypted public container image layer.

Question 565

A DevOps team is reviewing: An EKS deployment enters CrashLoopBackOff after a config release, although the cluster nodes and pods have adequate CPU. Which TWO complementary actions should it take? Select TWO answers.

  1. Correct the measured network or query bottleneck and choose an appropriate timeout.
  2. Inspect API Gateway usage-plan or stage throttles, metrics and request IDs.
  3. Inspect Kubernetes describe/logs, image version, configuration and probe failures.
  4. Filter relevant state transitions and check desired state before mutating resources.
  5. Correct the specific startup configuration or image error and deploy a verified revision.

Explanation

Correct Answers

C:

Inspect Kubernetes describe/logs, image version, configuration and probe failures. This is a required diagnostic evidence step for the stated situation: An EKS deployment enters CrashLoopBackOff after a config release, although the cluster nodes and pods have adequate CPU. The complementary correct action is: Correct the specific startup configuration or image error and deploy a verified revision. Both follow the principle: Container restarts should be diagnosed using pod events, exit reasons and application logs.

E:

Correct the specific startup configuration or image error and deploy a verified revision. This is a required controlled engineering action for the stated situation: An EKS deployment enters CrashLoopBackOff after a config release, although the cluster nodes and pods have adequate CPU. The complementary correct action is: Inspect Kubernetes describe/logs, image version, configuration and probe failures. Both follow the principle: Container restarts should be diagnosed using pod events, exit reasons and application logs.

Incorrect Answers

A:

Correct the measured network or query bottleneck and choose an appropriate timeout. This is suitable for another situation: An API Gateway operation returns 504 and the Lambda function times out only after calling a VPC-hosted database. In this case, engineers instead need the paired investigation (Inspect Kubernetes describe/logs, image version, configuration and probe failures.) and design change (Correct the specific startup configuration or image error and deploy a verified revision.). These two steps address: An EKS deployment enters CrashLoopBackOff after a config release, although the cluster nodes and pods have adequate CPU.

B:

Inspect API Gateway usage-plan or stage throttles, metrics and request IDs. This is suitable for another situation: A mobile API intermittently returns HTTP 429 during marketing peaks, but its Lambda error metric stays nearly zero. In this case, engineers instead need the paired investigation (Inspect Kubernetes describe/logs, image version, configuration and probe failures.) and design change (Correct the specific startup configuration or image error and deploy a verified revision.). These two steps address: An EKS deployment enters CrashLoopBackOff after a config release, although the cluster nodes and pods have adequate CPU.

D:

Filter relevant state transitions and check desired state before mutating resources. This is suitable for another situation: An event rule starts a Lambda that tags an EC2 resource, and the resulting CloudTrail tagging event triggers the same Lambda repeatedly. In this case, engineers instead need the paired investigation (Inspect Kubernetes describe/logs, image version, configuration and probe failures.) and design change (Correct the specific startup configuration or image error and deploy a verified revision.). These two steps address: An EKS deployment enters CrashLoopBackOff after a config release, although the cluster nodes and pods have adequate CPU.

Question 566

After implementing a proposed fix, the team reviews: A central platform team needs to roll out an approved Config rule to newly joined accounts across multiple Regions without manual role creation each time. Which result would BEST confirm that the risk is addressed?

  1. A replaced node converges to the approved agent state and compliance is measurable.
  2. A newly added test account receives the approved stack and OU removal behavior follows policy.
  3. Two test applications deploy consistent network controls from the approved shared version.
  4. A repeat drift check reports consistent properties and a controlled change trail.

Explanation

Correct Answer

B:

A newly added test account receives the approved stack and OU removal behavior follows policy. The approved action is: Use service-managed StackSets with appropriate OU targets and automatic deployment where supported. The risk principle is: Managed multi-account deployment benefits from governed CloudFormation StackSets administration.

Incorrect Answers

A:

A replaced node converges to the approved agent state and compliance is measurable. This instead addresses a different case: A managed EC2 fleet often loses an approved monitoring agent after instance replacement. For the stated situation (A central platform team needs to roll out an approved Config rule to newly joined accounts across multiple Regions without manual role creation each time.), the better verification is: A newly added test account receives the approved stack and OU removal behavior follows policy. The deciding distinction is: Managed multi-account deployment benefits from governed CloudFormation StackSets administration.

C:

Two test applications deploy consistent network controls from the approved shared version. This instead addresses a different case: Five application teams copy and edit the same network subnet definitions in separate CloudFormation stacks, causing inconsistent security controls. For the stated situation (A central platform team needs to roll out an approved Config rule to newly joined accounts across multiple Regions without manual role creation each time.), the better verification is: A newly added test account receives the approved stack and OU removal behavior follows policy. The deciding distinction is: Managed multi-account deployment benefits from governed CloudFormation StackSets administration.

D:

A repeat drift check reports consistent properties and a controlled change trail. This instead addresses a different case: A CloudFormation-managed security group was changed directly in the console, and the next stack update behaves differently from the approved template. For the stated situation (A central platform team needs to roll out an approved Config rule to newly joined accounts across multiple Regions without manual role creation each time.), the better verification is: A newly added test account receives the approved stack and OU removal behavior follows policy. The deciding distinction is: Managed multi-account deployment benefits from governed CloudFormation StackSets administration.

Question 567

A DevOps team is reviewing: A Kubernetes horizontal pod autoscaler is configured but never scales pods because its custom metric adapter is missing. Which TWO complementary actions should it take? Select TWO answers.

  1. Install and configure supported metrics collection and reasonable HPA thresholds.
  2. Implement scalable worker capacity tied to backlog-per-worker or age-based demand signals.
  3. Inspect HPA conditions, metrics API, adapter connectivity and pod requests.
  4. Choose an appropriate backup/replication design that meets approved loss tolerance.
  5. Inspect instance warmup, health readiness, scaling events and CPU trends.

Explanation

Correct Answers

A:

Install and configure supported metrics collection and reasonable HPA thresholds. This is a required controlled engineering action for the stated situation: A Kubernetes horizontal pod autoscaler is configured but never scales pods because its custom metric adapter is missing. The complementary correct action is: Inspect HPA conditions, metrics API, adapter connectivity and pod requests. Both follow the principle: Autoscaling depends on valid observable metrics and resource limits as well as policy objects.

C:

Inspect HPA conditions, metrics API, adapter connectivity and pod requests. This is a required diagnostic evidence step for the stated situation: A Kubernetes horizontal pod autoscaler is configured but never scales pods because its custom metric adapter is missing. The complementary correct action is: Install and configure supported metrics collection and reasonable HPA thresholds. Both follow the principle: Autoscaling depends on valid observable metrics and resource limits as well as policy objects.

Incorrect Answers

B:

Implement scalable worker capacity tied to backlog-per-worker or age-based demand signals. This is suitable for another situation: A worker fleet uses CPU utilization to scale even though pending SQS message backlog increases rapidly while CPU remains low. In this case, engineers instead need the paired investigation (Inspect HPA conditions, metrics API, adapter connectivity and pod requests.) and design change (Install and configure supported metrics collection and reasonable HPA thresholds.). These two steps address: A Kubernetes horizontal pod autoscaler is configured but never scales pods because its custom metric adapter is missing.

D:

Choose an appropriate backup/replication design that meets approved loss tolerance. This is suitable for another situation: A finance team requires five minutes of maximum data loss, but its AWS Backup job runs only once daily. In this case, engineers instead need the paired investigation (Inspect HPA conditions, metrics API, adapter connectivity and pod requests.) and design change (Install and configure supported metrics collection and reasonable HPA thresholds.). These two steps address: A Kubernetes horizontal pod autoscaler is configured but never scales pods because its custom metric adapter is missing.

E:

Inspect instance warmup, health readiness, scaling events and CPU trends. This is suitable for another situation: An EC2 Auto Scaling policy sees high CPU during boot and launches many extra instances before new nodes can serve traffic. In this case, engineers instead need the paired investigation (Inspect HPA conditions, metrics API, adapter connectivity and pod requests.) and design change (Install and configure supported metrics collection and reasonable HPA thresholds.). These two steps address: A Kubernetes horizontal pod autoscaler is configured but never scales pods because its custom metric adapter is missing.

Question 568

A DevOps team is reviewing: A platform group allows developers to create application IAM roles, but one developer creates a new role granting AdministratorAccess. Which TWO complementary actions should it take? Select TWO answers.

  1. Require approved permissions boundaries for created roles and deny removal or bypass.
  2. Adjust the approved OU guardrail or permitted design rather than bypassing IAM evaluation.
  3. Inspect finding identifiers, aggregation rules, duplicate rates and missed escalations.
  4. Replace stored access keys with a least-privilege EC2 instance profile role.
  5. Inspect role-creation permissions, boundary attachment requirements and privilege escalation paths.

Explanation

Correct Answers

A:

Require approved permissions boundaries for created roles and deny removal or bypass. This is a required controlled engineering action for the stated situation: A platform group allows developers to create application IAM roles, but one developer creates a new role granting AdministratorAccess. The complementary correct action is: Inspect role-creation permissions, boundary attachment requirements and privilege escalation paths. Both follow the principle: Delegated role creation should be constrained by a permission boundary and governing policies.

E:

Inspect role-creation permissions, boundary attachment requirements and privilege escalation paths. This is a required diagnostic evidence step for the stated situation: A platform group allows developers to create application IAM roles, but one developer creates a new role granting AdministratorAccess. The complementary correct action is: Require approved permissions boundaries for created roles and deny removal or bypass. Both follow the principle: Delegated role creation should be constrained by a permission boundary and governing policies.

Incorrect Answers

B:

Adjust the approved OU guardrail or permitted design rather than bypassing IAM evaluation. 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 role-creation permissions, boundary attachment requirements and privilege escalation paths.) and design change (Require approved permissions boundaries for created roles and deny removal or bypass.). These two steps address: A platform group allows developers to create application IAM roles, but one developer creates a new role granting AdministratorAccess.

C:

Inspect finding identifiers, aggregation rules, duplicate rates and missed escalations. This is suitable for another situation: A monitoring platform generates thousands of identical GuardDuty alerts while missing new critical incidents due to analyst overload. In this case, engineers instead need the paired investigation (Inspect role-creation permissions, boundary attachment requirements and privilege escalation paths.) and design change (Require approved permissions boundaries for created roles and deny removal or bypass.). These two steps address: A platform group allows developers to create application IAM roles, but one developer creates a new role granting AdministratorAccess.

D:

Replace stored access keys with a least-privilege EC2 instance profile role. This is suitable for another situation: An EC2 application stores a permanent IAM access key in a local configuration file to upload reports to S3. In this case, engineers instead need the paired investigation (Inspect role-creation permissions, boundary attachment requirements and privilege escalation paths.) and design change (Require approved permissions boundaries for created roles and deny removal or bypass.). These two steps address: A platform group allows developers to create application IAM roles, but one developer creates a new role granting AdministratorAccess.

Question 569

After implementing a proposed fix, the team reviews: Developers manually create Lambda permissions and API Gateway integrations after deploying a packaged application, causing environment differences. Which result would BEST confirm that the risk is addressed?

  1. A new test environment provisions the function and trigger without console-only steps.
  2. Replaying the same event does not produce a second charge.
  3. The planned update avoids unapproved loss and records expected replacement operations.
  4. A repeat drift check reports consistent properties and a controlled change trail.

Explanation

Correct Answer

A:

A new test environment provisions the function and trigger without console-only steps. The approved action is: Model function, API integration and minimum IAM permissions in the versioned SAM template. The risk principle is: Serverless infrastructure and permissions should be represented as repeatable declarative resources.

Incorrect Answers

B:

Replaying the same event does not produce a second charge. This instead addresses a different case: An S3 ObjectCreated event invokes a Lambda that retries a billing update after a transient error and charges the same customer twice. For the stated situation (Developers manually create Lambda permissions and API Gateway integrations after deploying a packaged application, causing environment differences.), the better verification is: A new test environment provisions the function and trigger without console-only steps. The deciding distinction is: Serverless infrastructure and permissions should be represented as repeatable declarative resources.

C:

The planned update avoids unapproved loss and records expected replacement operations. This instead addresses a different case: A template refactor changes an S3 bucket logical ID, risking replacement of a bucket containing business records. For the stated situation (Developers manually create Lambda permissions and API Gateway integrations after deploying a packaged application, causing environment differences.), the better verification is: A new test environment provisions the function and trigger without console-only steps. The deciding distinction is: Serverless infrastructure and permissions should be represented as repeatable declarative resources.

D:

A repeat drift check reports consistent properties and a controlled change trail. This instead addresses a different case: A CloudFormation-managed security group was changed directly in the console, and the next stack update behaves differently from the approved template. For the stated situation (Developers manually create Lambda permissions and API Gateway integrations after deploying a packaged application, causing environment differences.), the better verification is: A new test environment provisions the function and trigger without console-only steps. The deciding distinction is: Serverless infrastructure and permissions should be represented as repeatable declarative resources.

Question 570

Before changing production, engineers find: A newly onboarded account does not forward CloudTrail management activity to the security archive account. Which investigation should the engineer perform FIRST?

  1. Inspect IAM Identity Center assignments, identity source, permission sets and deprovisioning.
  2. Review discovery filters, resource ownership, dependency graph and deletion permissions.
  3. Inspect organization trail settings, S3 bucket/KMS access and Region configuration.
  4. Review source and destination OUs, StackSets auto-deployment and SCP effective controls.

Explanation

Correct Answer

C:

Inspect organization trail settings, S3 bucket/KMS access and Region configuration. The governing principle is: Central organization auditing should cover account lifecycle without relying on each member team. The next controlled engineering decision is: Deploy an organization-wide CloudTrail trail with protected centralized delivery.

Incorrect Answers

A:

Inspect IAM Identity Center assignments, identity source, permission sets and deprovisioning. This instead addresses a different case: An enterprise manually creates duplicate IAM users in dozens of accounts for employees, creating slow offboarding. For the stated situation (A newly onboarded account does not forward CloudTrail management activity to the security archive account.), the better investigation is: Inspect organization trail settings, S3 bucket/KMS access and Region configuration. The deciding distinction is: Central organization auditing should cover account lifecycle without relying on each member team.

B:

Review discovery filters, resource ownership, dependency graph and deletion permissions. This instead addresses a different case: A Lambda cleans abandoned development stacks nightly but occasionally deletes shared production KMS keys due to an imprecise tag query. For the stated situation (A newly onboarded account does not forward CloudTrail management activity to the security archive account.), the better investigation is: Inspect organization trail settings, S3 bucket/KMS access and Region configuration. The deciding distinction is: Central organization auditing should cover account lifecycle without relying on each member team.

D:

Review source and destination OUs, StackSets auto-deployment and SCP effective controls. This instead addresses a different case: A team moves an account to a new OU and expects an existing StackSets-managed baseline to remain unchanged without review. For the stated situation (A newly onboarded account does not forward CloudTrail management activity to the security archive account.), the better investigation is: Inspect organization trail settings, S3 bucket/KMS access and Region configuration. The deciding distinction is: Central organization auditing should cover account lifecycle without relying on each member team.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests