Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Practice Test 56
Question 550
An engineering review identifies: An enterprise needs near-real-time CloudWatch metric delivery to a central external analytics platform but polling every account exceeds API limits. Which shortcut is MOST unsafe for this exact condition?
- Assume creating a metric filter automatically forwards every raw event to OpenSearch.
- Generate unrelated random request IDs at every hop and expect automatic correlation.
- Monitor only table size in bytes to determine DynamoDB request capacity health.
- Create per-second ListMetrics polling loops in every member account as the only collection method.
Explanation
Correct Answer
D:Create per-second ListMetrics polling loops in every member account as the only collection method. The case is: An enterprise needs near-real-time CloudWatch metric delivery to a central external analytics platform but polling every account exceeds API limits. A safer engineering response is: Configure CloudWatch metric streams with a managed supported delivery route. The deciding principle is: Metric streams support managed delivery of selected CloudWatch metrics to supported downstream paths.
Incorrect Answers
A:Assume creating a metric filter automatically forwards every raw event to OpenSearch. This instead addresses a different case: CloudWatch Logs receives application errors but the incident analytics system never sees them because the log stream is not forwarded. For the stated situation (An enterprise needs near-real-time CloudWatch metric delivery to a central external analytics platform but polling every account exceeds API limits.), the better unsafe assumption to reject is: Create per-second ListMetrics polling loops in every member account as the only collection method. The deciding distinction is: Metric streams support managed delivery of selected CloudWatch metrics to supported downstream paths.
B:Generate unrelated random request IDs at every hop and expect automatic correlation. 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 (An enterprise needs near-real-time CloudWatch metric delivery to a central external analytics platform but polling every account exceeds API limits.), the better unsafe assumption to reject is: Create per-second ListMetrics polling loops in every member account as the only collection method. The deciding distinction is: Metric streams support managed delivery of selected CloudWatch metrics to supported downstream paths.
C:Monitor only table size in bytes to determine DynamoDB request capacity health. This instead addresses a different case: A provisioned DynamoDB table experiences frequent throttling without any configured application alarm. For the stated situation (An enterprise needs near-real-time CloudWatch metric delivery to a central external analytics platform but polling every account exceeds API limits.), the better unsafe assumption to reject is: Create per-second ListMetrics polling loops in every member account as the only collection method. The deciding distinction is: Metric streams support managed delivery of selected CloudWatch metrics to supported downstream paths.
Question 551
A DevOps team is reviewing: Security detects unauthorized port scans but cannot determine which source attempted connections to a sensitive subnet. Which TWO complementary actions should it take? Select TWO answers.
- Inspect finding identifiers, aggregation rules, duplicate rates and missed escalations.
- Replace stored access keys with a least-privilege EC2 instance profile role.
- Inspect detector enablement, Security Hub integration, EventBridge rules and delegated admin.
- Enable sufficient flow log scope with protected centralized analysis.
- Inspect VPC Flow Logs enablement, records, ENIs and destination retention.
Explanation
Correct Answers
D:Enable sufficient flow log scope with protected centralized analysis. This is a required controlled engineering action for the stated situation: Security detects unauthorized port scans but cannot determine which source attempted connections to a sensitive subnet. The complementary correct action is: Inspect VPC Flow Logs enablement, records, ENIs and destination retention. Both follow the principle: Network flow telemetry can reveal accepted and rejected flow metadata when configured correctly.
E:Inspect VPC Flow Logs enablement, records, ENIs and destination retention. This is a required diagnostic evidence step for the stated situation: Security detects unauthorized port scans but cannot determine which source attempted connections to a sensitive subnet. The complementary correct action is: Enable sufficient flow log scope with protected centralized analysis. Both follow the principle: Network flow telemetry can reveal accepted and rejected flow metadata when configured correctly.
Incorrect Answers
A: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 VPC Flow Logs enablement, records, ENIs and destination retention.) and design change (Enable sufficient flow log scope with protected centralized analysis.). These two steps address: Security detects unauthorized port scans but cannot determine which source attempted connections to a sensitive subnet.
B: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 VPC Flow Logs enablement, records, ENIs and destination retention.) and design change (Enable sufficient flow log scope with protected centralized analysis.). These two steps address: Security detects unauthorized port scans but cannot determine which source attempted connections to a sensitive subnet.
C:Inspect detector enablement, Security Hub integration, EventBridge rules and delegated admin. This is suitable for another situation: A suspicious EC2 credential event generates a GuardDuty finding but never reaches the central analyst workflow. In this case, engineers instead need the paired investigation (Inspect VPC Flow Logs enablement, records, ENIs and destination retention.) and design change (Enable sufficient flow log scope with protected centralized analysis.). These two steps address: Security detects unauthorized port scans but cannot determine which source attempted connections to a sensitive subnet.
Question 552
A DevOps team is reviewing: A deployment immediately starts hundreds of Lambda workers, exhausting relational database connections and making rollback harder. Which TWO complementary actions should it take? Select TWO answers.
- Review alias traffic weights, published versions, deployment hooks and error alarms.
- Deploy pinned S3 object versions or digests after controlled artifact publication.
- Throttle rollout and implement suitable connection management such as RDS Proxy where appropriate.
- Review Lambda reserved concurrency, connection limits, event source settings and connection pooling.
- Review database migration compatibility, rollback requirements and old version connection behavior.
Explanation
Correct Answers
C:Throttle rollout and implement suitable connection management such as RDS Proxy where appropriate. This is a required controlled engineering action for the stated situation: A deployment immediately starts hundreds of Lambda workers, exhausting relational database connections and making rollback harder. The complementary correct action is: Review Lambda reserved concurrency, connection limits, event source settings and connection pooling. Both follow the principle: Rollout concurrency and downstream capacity must be included in deployment strategy.
D:Review Lambda reserved concurrency, connection limits, event source settings and connection pooling. This is a required diagnostic evidence step for the stated situation: A deployment immediately starts hundreds of Lambda workers, exhausting relational database connections and making rollback harder. The complementary correct action is: Throttle rollout and implement suitable connection management such as RDS Proxy where appropriate. Both follow the principle: Rollout concurrency and downstream capacity must be included in deployment strategy.
Incorrect Answers
A:Review alias traffic weights, published versions, deployment hooks and error alarms. This is suitable for another situation: A Lambda function update introduces intermittent errors that appear only under a small share of real requests. In this case, engineers instead need the paired investigation (Review Lambda reserved concurrency, connection limits, event source settings and connection pooling.) and design change (Throttle rollout and implement suitable connection management such as RDS Proxy where appropriate.). These two steps address: A deployment immediately starts hundreds of Lambda workers, exhausting relational database connections and making rollback harder.
B:Deploy pinned S3 object versions or digests after controlled artifact publication. This is suitable for another situation: A deployment retrieves ZIP bundles from a common S3 prefix where operators can replace a file without updating the approved release record. In this case, engineers instead need the paired investigation (Review Lambda reserved concurrency, connection limits, event source settings and connection pooling.) and design change (Throttle rollout and implement suitable connection management such as RDS Proxy where appropriate.). These two steps address: A deployment immediately starts hundreds of Lambda workers, exhausting relational database connections and making rollback harder.
E:Review database migration compatibility, rollback requirements and old version connection behavior. This is suitable for another situation: An application switches its ALB target group to a new version while both versions connect to a shared relational schema. In this case, engineers instead need the paired investigation (Review Lambda reserved concurrency, connection limits, event source settings and connection pooling.) and design change (Throttle rollout and implement suitable connection management such as RDS Proxy where appropriate.). These two steps address: A deployment immediately starts hundreds of Lambda workers, exhausting relational database connections and making rollback harder.
Question 553
An AWS platform team investigates this condition: A production security group unexpectedly allows SSH from the internet, and teams disagree who changed it. Which DevOps principle BEST explains the core problem?
- CloudTrail management events can attribute configuration changes when logged and retained appropriately.
- Findings require accurate resource scope, severity and remediation tracking.
- Troubleshooting requires separating load balancer and target failure metrics.
- Automated incident workflows should have explicit state, idempotent actions and bounded escalation.
Explanation
Correct Answer
A:CloudTrail management events can attribute configuration changes when logged and retained appropriately. Relevant first evidence: Review eventName, principal identity, request parameters, source IP and timestamp. The resulting controlled response is: Query trusted CloudTrail records and correlate with approved change records.
Incorrect Answers
B:Findings require accurate resource scope, severity and remediation tracking. This instead addresses a different case: Amazon Inspector reports a critical package CVE on a small set of container images, but the security board assumes all images are affected. For the stated situation (A production security group unexpectedly allows SSH from the internet, and teams disagree who changed it.), the better principle is: CloudTrail management events can attribute configuration changes when logged and retained appropriately. The deciding distinction is: CloudTrail management events can attribute configuration changes when logged and retained appropriately.
C:Troubleshooting requires separating load balancer and target failure metrics. 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 (A production security group unexpectedly allows SSH from the internet, and teams disagree who changed it.), the better principle is: CloudTrail management events can attribute configuration changes when logged and retained appropriately. The deciding distinction is: CloudTrail management events can attribute configuration changes when logged and retained appropriately.
D:Automated incident workflows should have explicit state, idempotent actions and bounded escalation. This instead addresses a different case: An alarm invokes a Lambda that restarts services and pages staff, but retries sometimes perform the restart twice and send conflicting messages. For the stated situation (A production security group unexpectedly allows SSH from the internet, and teams disagree who changed it.), the better principle is: CloudTrail management events can attribute configuration changes when logged and retained appropriately. The deciding distinction is: CloudTrail management events can attribute configuration changes when logged and retained appropriately.
Question 554
An engineering review identifies: An organization must retain regulatory audit evidence for seven years, but administrators can remove every copy using ordinary DeleteObject. Which shortcut is MOST unsafe for this exact condition?
- Delete unused-looking keys using only their last application invocation timestamp.
- Treat bucket names alone as proof that all contained records are non-sensitive.
- Trust the entire AWS partition for sts:AssumeRole to simplify support.
- Assume normal S3 versioning blocks permanent deletion of every historical version.
Explanation
Correct Answer
D:Assume normal S3 versioning blocks permanent deletion of every historical version. The case is: An organization must retain regulatory audit evidence for seven years, but administrators can remove every copy using ordinary DeleteObject. A safer engineering response is: Apply approved S3 Object Lock retention where required with tested access governance. The deciding principle is: Compliance retention requires appropriate immutability controls and separated privileges.
Incorrect Answers
A:Delete unused-looking keys using only their last application invocation timestamp. This instead addresses a different case: An automated cleanup tool schedules deletion of a KMS key that encrypts backups needed to satisfy long retention. For the stated situation (An organization must retain regulatory audit evidence for seven years, but administrators can remove every copy using ordinary DeleteObject.), the better unsafe assumption to reject is: Assume normal S3 versioning blocks permanent deletion of every historical version. The deciding distinction is: Compliance retention requires appropriate immutability controls and separated privileges.
B:Treat bucket names alone as proof that all contained records are non-sensitive. This instead addresses a different case: An enterprise stores thousands of S3 objects across accounts and needs to discover unclassified personal records at scale. For the stated situation (An organization must retain regulatory audit evidence for seven years, but administrators can remove every copy using ordinary DeleteObject.), the better unsafe assumption to reject is: Assume normal S3 versioning blocks permanent deletion of every historical version. The deciding distinction is: Compliance retention requires appropriate immutability controls and separated privileges.
C:Trust the entire AWS partition for sts:AssumeRole to simplify support. This instead addresses a different case: A deployment service assumes a role in a third-party account, but the trust policy permits any AWS principal in the partner account. For the stated situation (An organization must retain regulatory audit evidence for seven years, but administrators can remove every copy using ordinary DeleteObject.), the better unsafe assumption to reject is: Assume normal S3 versioning blocks permanent deletion of every historical version. The deciding distinction is: Compliance retention requires appropriate immutability controls and separated privileges.
Question 555
The DevOps team must resolve this scenario: One order-created event needs to inform billing, fulfillment and analytics independently, but a direct Lambda chain loses downstream events when one service is unavailable. Which engineering change is MOST appropriate?
- Use stable device partition keys where ordering is required, with monitored throughput.
- Use stable object identity and idempotent processing or transactional guards.
- Publish to a suitable topic and distribute through separate durable SQS queues.
- Document service-impacting provider conditions and take bounded regional failover actions.
Explanation
Correct Answer
C:Publish to a suitable topic and distribute through separate durable SQS queues. Its validation is: A simulated analytics outage does not prevent billing and fulfillment processing. The principle is: Fan-out with independent durable subscribers decouples consumer processing and retries.
Incorrect Answers
A:Use stable device partition keys where ordering is required, with monitored throughput. This instead addresses a different case: A telemetry consumer requires per-device ordering but producers assign random partition keys and observations arrive out of sequence. For the stated situation (One order-created event needs to inform billing, fulfillment and analytics independently, but a direct Lambda chain loses downstream events when one service is unavailable.), the better engineering action is: Publish to a suitable topic and distribute through separate durable SQS queues. The deciding distinction is: Fan-out with independent durable subscribers decouples consumer processing and retries.
B:Use stable object identity and idempotent processing or transactional guards. This instead addresses a different case: An S3 upload event triggers a Lambda that copies customer records, and retries create duplicate records in a destination store. For the stated situation (One order-created event needs to inform billing, fulfillment and analytics independently, but a direct Lambda chain loses downstream events when one service is unavailable.), the better engineering action is: Publish to a suitable topic and distribute through separate durable SQS queues. The deciding distinction is: Fan-out with independent durable subscribers decouples consumer processing and retries.
D:Document service-impacting provider conditions and take bounded regional failover actions. This instead addresses a different case: Following an AWS service impairment, application timeouts increase in one Region but operators repeatedly redeploy healthy code. For the stated situation (One order-created event needs to inform billing, fulfillment and analytics independently, but a direct Lambda chain loses downstream events when one service is unavailable.), the better engineering action is: Publish to a suitable topic and distribute through separate durable SQS queues. The deciding distinction is: Fan-out with independent durable subscribers decouples consumer processing and retries.
Question 556
After implementing a proposed fix, the team reviews: Production operators use permanently attached administrator policies to fix rare outages instead of using approved on-demand access. Which result would BEST confirm that the risk is addressed?
- Normal sessions cannot modify critical settings and emergency elevation expires as configured.
- The application uploads to approved buckets without any permanent key on disk.
- The ALB continues presenting a renewed trusted certificate without downtime.
- A developer can create an allowed app role but cannot create or use an unrestricted admin role.
Explanation
Correct Answer
A:Normal sessions cannot modify critical settings and emergency elevation expires as configured. The approved action is: Implement a controlled short-lived privileged role assumption with audit and review. The risk principle is: Privileged access should be time bounded, attributable and justified by operational need.
Incorrect Answers
B:The application uploads to approved buckets without any permanent key on disk. This instead addresses a different case: An EC2 application stores a permanent IAM access key in a local configuration file to upload reports to S3. For the stated situation (Production operators use permanently attached administrator policies to fix rare outages instead of using approved on-demand access.), the better verification is: Normal sessions cannot modify critical settings and emergency elevation expires as configured. The deciding distinction is: Privileged access should be time bounded, attributable and justified by operational need.
C:The ALB continues presenting a renewed trusted certificate without downtime. This instead addresses a different case: A production ALB certificate renewal stalls because the required DNS validation CNAME was deleted. For the stated situation (Production operators use permanently attached administrator policies to fix rare outages instead of using approved on-demand access.), the better verification is: Normal sessions cannot modify critical settings and emergency elevation expires as configured. The deciding distinction is: Privileged access should be time bounded, attributable and justified by operational need.
D:A developer can create an allowed app role but cannot create or use an unrestricted admin role. This instead addresses a different case: A platform group allows developers to create application IAM roles, but one developer creates a new role granting AdministratorAccess. For the stated situation (Production operators use permanently attached administrator policies to fix rare outages instead of using approved on-demand access.), the better verification is: Normal sessions cannot modify critical settings and emergency elevation expires as configured. The deciding distinction is: Privileged access should be time bounded, attributable and justified by operational need.
Question 557
A DevOps team is reviewing: An application repeatedly packages a huge unchanged runtime dependency into every Lambda release, increasing rollout time and inconsistent versions. Which TWO complementary actions should it take? Select TWO answers.
- Publish a versioned Lambda layer and deploy function versions referencing the approved layer.
- Review function package contents, layer versions, supported runtimes and release links.
- Build a versioned immutable artifact once, then promote that artifact through approvals and environments.
- Use EC2 Image Builder to build and test a versioned, hardened AMI for deployment.
- Inspect command verbosity, secret injection, log visibility and token usage.
Explanation
Correct Answers
A:Publish a versioned Lambda layer and deploy function versions referencing the approved layer. This is a required controlled engineering action for the stated situation: An application repeatedly packages a huge unchanged runtime dependency into every Lambda release, increasing rollout time and inconsistent versions. The complementary correct action is: Review function package contents, layer versions, supported runtimes and release links. Both follow the principle: Shared dependencies should be versioned and referenced deliberately in serverless releases.
B:Review function package contents, layer versions, supported runtimes and release links. This is a required diagnostic evidence step for the stated situation: An application repeatedly packages a huge unchanged runtime dependency into every Lambda release, increasing rollout time and inconsistent versions. The complementary correct action is: Publish a versioned Lambda layer and deploy function versions referencing the approved layer. Both follow the principle: Shared dependencies should be versioned and referenced deliberately in serverless releases.
Incorrect Answers
C:Build a versioned immutable artifact once, then promote that artifact through approvals and environments. This is suitable for another situation: Each environment rebuilds an application from its Git branch, making production binaries differ from staging even when the commit matches. In this case, engineers instead need the paired investigation (Review function package contents, layer versions, supported runtimes and release links.) and design change (Publish a versioned Lambda layer and deploy function versions referencing the approved layer.). These two steps address: An application repeatedly packages a huge unchanged runtime dependency into every Lambda release, increasing rollout time and inconsistent versions.
D:Use EC2 Image Builder to build and test a versioned, hardened AMI for deployment. This is suitable for another situation: Production EC2 Auto Scaling launches instances from an AMI built manually months earlier with inconsistent patch levels. In this case, engineers instead need the paired investigation (Review function package contents, layer versions, supported runtimes and release links.) and design change (Publish a versioned Lambda layer and deploy function versions referencing the approved layer.). These two steps address: An application repeatedly packages a huge unchanged runtime dependency into every Lambda release, increasing rollout time and inconsistent versions.
E:Inspect command verbosity, secret injection, log visibility and token usage. This is suitable for another situation: A diagnostic CodeBuild command prints an authentication token to CloudWatch Logs before fetching a private package. In this case, engineers instead need the paired investigation (Review function package contents, layer versions, supported runtimes and release links.) and design change (Publish a versioned Lambda layer and deploy function versions referencing the approved layer.). These two steps address: An application repeatedly packages a huge unchanged runtime dependency into every Lambda release, increasing rollout time and inconsistent versions.
Question 558
An AWS platform team investigates this condition: A new backend version causes transaction timeouts and rising database deadlocks, while CPU utilization remains moderate. Which DevOps principle BEST explains the core problem?
- Container deployment failures may result from registry authentication and network access rather than code.
- Event-based remediation should be scoped to the affected resource and run with least privilege.
- Pipeline stage errors must be traced to the actual denied action and role boundary.
- Database contention can cause application failures without sustained high CPU.
Explanation
Correct Answer
D:Database contention can cause application failures without sustained high CPU. Relevant first evidence: Review RDS Performance Insights, lock wait events, query changes and deployment timing. The resulting controlled response is: Roll back or correct the transaction pattern and add appropriate contention monitoring.
Incorrect Answers
A:Container deployment failures may result from registry authentication and network access rather than code. This instead addresses a different case: New ECS tasks repeatedly remain PENDING with CannotPullContainerError even though the application binary is correct. For the stated situation (A new backend version causes transaction timeouts and rising database deadlocks, while CPU utilization remains moderate.), the better principle is: Database contention can cause application failures without sustained high CPU. The deciding distinction is: Database contention can cause application failures without sustained high CPU.
B:Event-based remediation should be scoped to the affected resource and run with least privilege. 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 (A new backend version causes transaction timeouts and rising database deadlocks, while CPU utilization remains moderate.), the better principle is: Database contention can cause application failures without sustained high CPU. The deciding distinction is: Database contention can cause application failures without sustained high CPU.
C:Pipeline stage errors must be traced to the actual denied action and role boundary. This instead addresses a different case: A pipeline fails at CodeBuild DOWNLOAD_SOURCE with AccessDenied after a KMS key policy change. For the stated situation (A new backend version causes transaction timeouts and rising database deadlocks, while CPU utilization remains moderate.), the better principle is: Database contention can cause application failures without sustained high CPU. The deciding distinction is: Database contention can cause application failures without sustained high CPU.
Question 559
A DevOps team is reviewing: A telemetry consumer requires per-device ordering but producers assign random partition keys and observations arrive out of sequence. Which TWO complementary actions should it take? Select TWO answers.
- Inspect AWS Health event scope, affected entities and incident routing coverage.
- Configure an appropriate SQS DLQ with alerting and governed redrive procedure.
- Use a controlled Systems Manager automation targeted only to eligible noncompliant nodes.
- Inspect producer partition-key selection, shard mapping and processing checkpoints.
- Use stable device partition keys where ordering is required, with monitored throughput.
Explanation
Correct Answers
D:Inspect producer partition-key selection, shard mapping and processing checkpoints. This is a required diagnostic evidence step for the stated situation: A telemetry consumer requires per-device ordering but producers assign random partition keys and observations arrive out of sequence. The complementary correct action is: Use stable device partition keys where ordering is required, with monitored throughput. Both follow the principle: Stream ordering guarantees depend on partition key and consumer processing model.
E:Use stable device partition keys where ordering is required, with monitored throughput. This is a required controlled engineering action for the stated situation: A telemetry consumer requires per-device ordering but producers assign random partition keys and observations arrive out of sequence. The complementary correct action is: Inspect producer partition-key selection, shard mapping and processing checkpoints. Both follow the principle: Stream ordering guarantees depend on partition key and consumer processing model.
Incorrect Answers
A:Inspect AWS Health event scope, affected entities and incident routing coverage. This is suitable for another situation: An AWS Health event affects a critical enterprise database in an otherwise quiet account, but the team monitors only application CloudWatch alarms. In this case, engineers instead need the paired investigation (Inspect producer partition-key selection, shard mapping and processing checkpoints.) and design change (Use stable device partition keys where ordering is required, with monitored throughput.). These two steps address: A telemetry consumer requires per-device ordering but producers assign random partition keys and observations arrive out of sequence.
B:Configure an appropriate SQS DLQ with alerting and governed redrive procedure. This is suitable for another situation: A broken message repeatedly fails an event-driven worker and blocks useful progress while on-call has no way to inspect it. In this case, engineers instead need the paired investigation (Inspect producer partition-key selection, shard mapping and processing checkpoints.) and design change (Use stable device partition keys where ordering is required, with monitored throughput.). These two steps address: A telemetry consumer requires per-device ordering but producers assign random partition keys and observations arrive out of sequence.
C:Use a controlled Systems Manager automation targeted only to eligible noncompliant nodes. This is suitable for another situation: AWS Config finds an EC2 instance without the approved monitoring agent, but the repair Lambda has permission to modify every resource in the account. In this case, engineers instead need the paired investigation (Inspect producer partition-key selection, shard mapping and processing checkpoints.) and design change (Use stable device partition keys where ordering is required, with monitored throughput.). These two steps address: A telemetry consumer requires per-device ordering but producers assign random partition keys and observations arrive out of sequence.
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?
- Drop all dimensions to simplify storage and assume root cause remains observable.
- Assume any numeric field inside JSON automatically becomes a CloudWatch metric.
- Rely on application logs to reconstruct every accepted and rejected VPC packet flow.
- 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.