Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Practice Test 46
Question 450
Before changing production, engineers find: A CloudFormation-managed security group was changed directly in the console, and the next stack update behaves differently from the approved template. Which investigation should the engineer perform FIRST?
- Review synthesized CloudFormation, construct defaults, bucket policies and deployed exceptions.
- Review organization structure, delegated administrator, StackSets permission model and target OUs.
- Run drift detection and compare effective security group properties with template state.
- Inspect managed instance registration, SSM Inventory collection and software reports.
Explanation
Correct Answer
C:Run drift detection and compare effective security group properties with template state. The governing principle is: Infrastructure drift should be detected and reconciled through controlled IaC changes. The next controlled engineering decision is: Restore authorized configuration by an approved stack update or reconcile a documented intentional change.
Incorrect Answers
A:Review synthesized CloudFormation, construct defaults, bucket policies and deployed exceptions. This instead addresses a different case: A reusable AWS CDK construct creates S3 buckets with public access enabled unless individual teams remember to override the setting. For the stated situation (A CloudFormation-managed security group was changed directly in the console, and the next stack update behaves differently from the approved template.), the better investigation is: Run drift detection and compare effective security group properties with template state. The deciding distinction is: Infrastructure drift should be detected and reconciled through controlled IaC changes.
B:Review organization structure, delegated administrator, StackSets permission model and target OUs. This instead addresses a different case: 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. For the stated situation (A CloudFormation-managed security group was changed directly in the console, and the next stack update behaves differently from the approved template.), the better investigation is: Run drift detection and compare effective security group properties with template state. The deciding distinction is: Infrastructure drift should be detected and reconciled through controlled IaC changes.
D:Inspect managed instance registration, SSM Inventory collection and software reports. This instead addresses a different case: Operations estimates patch compliance from EC2 tags but has no verified installed software inventory. For the stated situation (A CloudFormation-managed security group was changed directly in the console, and the next stack update behaves differently from the approved template.), the better investigation is: Run drift detection and compare effective security group properties with template state. The deciding distinction is: Infrastructure drift should be detected and reconciled through controlled IaC changes.
Question 451
A DevOps team is reviewing: An incident automation should isolate one compromised EC2 instance, but its script selects every instance in the same environment tag. Which TWO complementary actions should it take? Select TWO answers.
- Use ECS service reconciliation with alarms and root-cause escalation for repeated failures.
- Inspect event resource ARN, instance IDs, SSM target selectors and security requirements.
- Document service-impacting provider conditions and take bounded regional failover actions.
- Inspect ACM certificate status, DNS validation, import provenance and attached listeners.
- Quarantine only the confirmed instance through reviewed network or isolation controls.
Explanation
Correct Answers
B:Inspect event resource ARN, instance IDs, SSM target selectors and security requirements. This is a required diagnostic evidence step for the stated situation: An incident automation should isolate one compromised EC2 instance, but its script selects every instance in the same environment tag. The complementary correct action is: Quarantine only the confirmed instance through reviewed network or isolation controls. Both follow the principle: Containment automation must use precise resource identity, scope and rollback safeguards.
E:Quarantine only the confirmed instance through reviewed network or isolation controls. This is a required controlled engineering action for the stated situation: An incident automation should isolate one compromised EC2 instance, but its script selects every instance in the same environment tag. The complementary correct action is: Inspect event resource ARN, instance IDs, SSM target selectors and security requirements. Both follow the principle: Containment automation must use precise resource identity, scope and rollback safeguards.
Incorrect Answers
A:Use ECS service reconciliation with alarms and root-cause escalation for repeated failures. This is suitable for another situation: An ECS application task fails health checks every few minutes, and the team restarts the same failing task manually without identifying a dependency outage. In this case, engineers instead need the paired investigation (Inspect event resource ARN, instance IDs, SSM target selectors and security requirements.) and design change (Quarantine only the confirmed instance through reviewed network or isolation controls.). These two steps address: An incident automation should isolate one compromised EC2 instance, but its script selects every instance in the same environment tag.
C:Document service-impacting provider conditions and take bounded regional failover actions. This is suitable for another situation: Following an AWS service impairment, application timeouts increase in one Region but operators repeatedly redeploy healthy code. In this case, engineers instead need the paired investigation (Inspect event resource ARN, instance IDs, SSM target selectors and security requirements.) and design change (Quarantine only the confirmed instance through reviewed network or isolation controls.). These two steps address: An incident automation should isolate one compromised EC2 instance, but its script selects every instance in the same environment tag.
D:Inspect ACM certificate status, DNS validation, import provenance and attached listeners. This is suitable for another situation: An ACM-managed certificate is nearing expiration, but an application relies on manually imported certificates whose renewal notifications are ignored. In this case, engineers instead need the paired investigation (Inspect event resource ARN, instance IDs, SSM target selectors and security requirements.) and design change (Quarantine only the confirmed instance through reviewed network or isolation controls.). These two steps address: An incident automation should isolate one compromised EC2 instance, but its script selects every instance in the same environment tag.
Question 452
An engineering review identifies: 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. Which shortcut is MOST unsafe for this exact condition?
- Replicate compute alone and assume all regional control dependencies follow automatically.
- Depend exclusively on an untested text checklist during a major outage.
- Hardcode a single database instance hostname as the permanent writer endpoint.
- Assume a Multi-AZ database needs no client reconnect or retry logic.
Explanation
Correct Answer
A:Replicate compute alone and assume all regional control dependencies follow automatically. The case is: 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. A safer engineering response is: Provision approved regional secrets and key access before declaring standby ready. The deciding principle is: Cross-Region resilience must include regional identity, secret and cryptographic dependencies.
Incorrect Answers
B:Depend exclusively on an untested text checklist during a major outage. This instead addresses a different case: A failover runbook manually changes 14 DNS and compute settings in a fixed order; quarterly drills frequently skip steps. For the stated situation (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.), the better unsafe assumption to reject is: Replicate compute alone and assume all regional control dependencies follow automatically. The deciding distinction is: Cross-Region resilience must include regional identity, secret and cryptographic dependencies.
C:Hardcode a single database instance hostname as the permanent writer endpoint. 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 warm standby web tier exists in a second Region but depends on secrets and KMS keys that are only accessible in the primary Region.), the better unsafe assumption to reject is: Replicate compute alone and assume all regional control dependencies follow automatically. The deciding distinction is: Cross-Region resilience must include regional identity, secret and cryptographic dependencies.
D:Assume a Multi-AZ database needs no client reconnect or retry logic. 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 warm standby web tier exists in a second Region but depends on secrets and KMS keys that are only accessible in the primary Region.), the better unsafe assumption to reject is: Replicate compute alone and assume all regional control dependencies follow automatically. The deciding distinction is: Cross-Region resilience must include regional identity, secret and cryptographic dependencies.
Question 453
After implementing a proposed fix, the team reviews: A CodeBuild project downloads packages from unrestricted public registries even though an internal vetted package repository is required. Which result would BEST confirm that the risk is addressed?
- An authorized dry run produces no token in captured logs and fetch still succeeds.
- The build resolves approved versions and rejects an unauthorized dependency source.
- Newly launched instances match the desired version and terminated nodes leave no configuration gap.
- A rollback drill can retrieve the required prior image while unused versions still expire.
Explanation
Correct Answer
B:The build resolves approved versions and rejects an unauthorized dependency source. The approved action is: Route dependencies through approved CodeArtifact repositories with controlled upstream access. The risk principle is: Dependency provenance and repository policy should be enforced during builds.
Incorrect Answers
A:An authorized dry run produces no token in captured logs and fetch still succeeds. This instead addresses a different case: A diagnostic CodeBuild command prints an authentication token to CloudWatch Logs before fetching a private package. For the stated situation (A CodeBuild project downloads packages from unrestricted public registries even though an internal vetted package repository is required.), the better verification is: The build resolves approved versions and rejects an unauthorized dependency source. The deciding distinction is: Dependency provenance and repository policy should be enforced during builds.
C:Newly launched instances match the desired version and terminated nodes leave no configuration gap. This instead addresses a different case: An operations team changes configuration in running EC2 instances manually, and Auto Scaling replacement instances lose those changes. For the stated situation (A CodeBuild project downloads packages from unrestricted public registries even though an internal vetted package repository is required.), the better verification is: The build resolves approved versions and rejects an unauthorized dependency source. The deciding distinction is: Dependency provenance and repository policy should be enforced during builds.
D:A rollback drill can retrieve the required prior image while unused versions still expire. This instead addresses a different case: A deployment rolls back to a prior ECR image digest that was deleted by an aggressive lifecycle policy the previous night. For the stated situation (A CodeBuild project downloads packages from unrestricted public registries even though an internal vetted package repository is required.), the better verification is: The build resolves approved versions and rejects an unauthorized dependency source. The deciding distinction is: Dependency provenance and repository policy should be enforced during builds.
Question 454
An AWS platform team investigates this condition: An application has slow checkout requests only when external credit checks are called, but aggregate ALB metrics cannot locate the dependency. Which DevOps principle BEST explains the core problem?
- Trace spans can isolate latency contributions across distributed calls.
- Log-group retention should reflect business, legal and investigation requirements.
- Missing metric data needs treatment consistent with the failure mode and alarm semantics.
- Compliance conclusions depend on time-relevant configuration history, not only present state.
Explanation
Correct Answer
A:Trace spans can isolate latency contributions across distributed calls. Relevant first evidence: Inspect X-Ray service map, trace segments, status errors and downstream call durations. The resulting controlled response is: Instrument affected services and analyze slow traces to isolate the expensive dependency.
Incorrect Answers
B:Log-group retention should reflect business, legal and investigation requirements. This instead addresses a different case: A development application sends verbose logs to CloudWatch Logs indefinitely, creating growing cost and a retention-policy exception. For the stated situation (An application has slow checkout requests only when external credit checks are called, but aggregate ALB metrics cannot locate the dependency.), the better principle is: Trace spans can isolate latency contributions across distributed calls. The deciding distinction is: Trace spans can isolate latency contributions across distributed calls.
C:Missing metric data needs treatment consistent with the failure mode and alarm semantics. This instead addresses a different case: A high-severity payment error alarm stays green when the application stops publishing error metrics during an outage. For the stated situation (An application has slow checkout requests only when external credit checks are called, but aggregate ALB metrics cannot locate the dependency.), the better principle is: Trace spans can isolate latency contributions across distributed calls. The deciding distinction is: Trace spans can isolate latency contributions across distributed calls.
D:Compliance conclusions depend on time-relevant configuration history, not only present state. This instead addresses a different case: A tagged production S3 bucket is currently private, but auditors need to know whether it was public during a past incident window. For the stated situation (An application has slow checkout requests only when external credit checks are called, but aggregate ALB metrics cannot locate the dependency.), the better principle is: Trace spans can isolate latency contributions across distributed calls. The deciding distinction is: Trace spans can isolate latency contributions across distributed calls.
Question 455
The DevOps team must resolve this scenario: A new AMI enters production with an outdated system package, but the organization runs vulnerability assessments only once annually. Which engineering change is MOST appropriate?
- Enable appropriate continuous scanning and approved image remediation pipelines.
- Automate drift detection, alerting and approved reconciliation for critical stacks.
- Request fresh short-lived credentials only when the gated deployment action begins.
- Configure centralized Security Hub findings ingestion and approved incident routing.
Explanation
Correct Answer
A:Enable appropriate continuous scanning and approved image remediation pipelines. Its validation is: A deliberately vulnerable test image is found and corrected through a tracked release. The principle is: Vulnerability assessment should be continuous and integrated with immutable image updates.
Incorrect Answers
B:Automate drift detection, alerting and approved reconciliation for critical stacks. 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 (A new AMI enters production with an outdated system package, but the organization runs vulnerability assessments only once annually.), the better engineering action is: Enable appropriate continuous scanning and approved image remediation pipelines. The deciding distinction is: Vulnerability assessment should be continuous and integrated with immutable image updates.
C:Request fresh short-lived credentials only when the gated deployment action begins. This instead addresses a different case: A pipeline uses STS credentials to deploy a stack, but those credentials expire during a long manual approval pause and the deployment later fails. For the stated situation (A new AMI enters production with an outdated system package, but the organization runs vulnerability assessments only once annually.), the better engineering action is: Enable appropriate continuous scanning and approved image remediation pipelines. The deciding distinction is: Vulnerability assessment should be continuous and integrated with immutable image updates.
D:Configure centralized Security Hub findings ingestion and approved incident routing. This instead addresses a different case: A suspicious EC2 credential event generates a GuardDuty finding but never reaches the central analyst workflow. For the stated situation (A new AMI enters production with an outdated system package, but the organization runs vulnerability assessments only once annually.), the better engineering action is: Enable appropriate continuous scanning and approved image remediation pipelines. The deciding distinction is: Vulnerability assessment should be continuous and integrated with immutable image updates.
Question 456
An engineering review identifies: Ransomware could delete backups because production administrators have the same permissions on the only backup vault. Which shortcut is MOST unsafe for this exact condition?
- Store all copies in the production account with identical unrestricted admin access.
- Use weighted DNS records without health evaluation and call it guaranteed recovery.
- Assume database replication alone guarantees compute capacity can launch immediately.
- Assume ordinary bucket versioning alone makes every object impossible to delete.
Explanation
Correct Answer
A:Store all copies in the production account with identical unrestricted admin access. The case is: Ransomware could delete backups because production administrators have the same permissions on the only backup vault. A safer engineering response is: Use protected cross-account or cross-Region backups with appropriately isolated recovery roles. The deciding principle is: Recovery copies should be protected against compromised primary account identities.
Incorrect Answers
B:Use weighted DNS records without health evaluation and call it guaranteed recovery. This instead addresses a different case: A secondary-region service is healthy but Route 53 sends users to a failed primary endpoint because its failover record has no meaningful health check. For the stated situation (Ransomware could delete backups because production administrators have the same permissions on the only backup vault.), the better unsafe assumption to reject is: Store all copies in the production account with identical unrestricted admin access. The deciding distinction is: Recovery copies should be protected against compromised primary account identities.
C:Assume database replication alone guarantees compute capacity can launch immediately. This instead addresses a different case: A pilot-light disaster recovery setup replicates data but recovery scripts try to restore full production capacity into an undersized subnet with insufficient IPs. For the stated situation (Ransomware could delete backups because production administrators have the same permissions on the only backup vault.), the better unsafe assumption to reject is: Store all copies in the production account with identical unrestricted admin access. The deciding distinction is: Recovery copies should be protected against compromised primary account identities.
D:Assume ordinary bucket versioning alone makes every object impossible to delete. This instead addresses a different case: A regulated dataset is protected by S3 copies, but the only operator can permanently delete versions during an incident. For the stated situation (Ransomware could delete backups because production administrators have the same permissions on the only backup vault.), the better unsafe assumption to reject is: Store all copies in the production account with identical unrestricted admin access. The deciding distinction is: Recovery copies should be protected against compromised primary account identities.
Question 457
A DevOps team is reviewing: API Gateway, Lambda and downstream services emit logs, but operators cannot correlate one slow customer request across service hops. Which TWO complementary actions should it take? Select TWO answers.
- Review log group retention settings, use case, compliance period and log costs.
- Enable supported AWS X-Ray tracing or OpenTelemetry tracing and propagate context.
- Inspect tracing activation, propagation headers, service map and correlated request IDs.
- Route noncompliance events to appropriate response automation and human visibility.
- Inspect subscription filters, destination ARN, Lambda/Kinesis processing and delivery errors.
Explanation
Correct Answers
B:Enable supported AWS X-Ray tracing or OpenTelemetry tracing and propagate context. This is a required controlled engineering action for the stated situation: API Gateway, Lambda and downstream services emit logs, but operators cannot correlate one slow customer request across service hops. The complementary correct action is: Inspect tracing activation, propagation headers, service map and correlated request IDs. Both follow the principle: Distributed tracing requires propagation of trace context and compatible instrumentation.
C:Inspect tracing activation, propagation headers, service map and correlated request IDs. This is a required diagnostic evidence step for the stated situation: API Gateway, Lambda and downstream services emit logs, but operators cannot correlate one slow customer request across service hops. The complementary correct action is: Enable supported AWS X-Ray tracing or OpenTelemetry tracing and propagate context. Both follow the principle: Distributed tracing requires propagation of trace context and compatible instrumentation.
Incorrect Answers
A:Review log group retention settings, use case, compliance period and log costs. This is suitable for another situation: A development application sends verbose logs to CloudWatch Logs indefinitely, creating growing cost and a retention-policy exception. In this case, engineers instead need the paired investigation (Inspect tracing activation, propagation headers, service map and correlated request IDs.) and design change (Enable supported AWS X-Ray tracing or OpenTelemetry tracing and propagate context.). These two steps address: API Gateway, Lambda and downstream services emit logs, but operators cannot correlate one slow customer request across service hops.
D:Route noncompliance events to appropriate response automation and human visibility. This is suitable for another situation: Security operations wants alerts whenever Config detects that approved encryption settings are disabled on new storage resources. In this case, engineers instead need the paired investigation (Inspect tracing activation, propagation headers, service map and correlated request IDs.) and design change (Enable supported AWS X-Ray tracing or OpenTelemetry tracing and propagate context.). These two steps address: API Gateway, Lambda and downstream services emit logs, but operators cannot correlate one slow customer request across service hops.
E:Inspect subscription filters, destination ARN, Lambda/Kinesis processing and delivery errors. This is suitable for another situation: CloudWatch Logs receives application errors but the incident analytics system never sees them because the log stream is not forwarded. In this case, engineers instead need the paired investigation (Inspect tracing activation, propagation headers, service map and correlated request IDs.) and design change (Enable supported AWS X-Ray tracing or OpenTelemetry tracing and propagate context.). These two steps address: API Gateway, Lambda and downstream services emit logs, but operators cannot correlate one slow customer request across service hops.
Question 458
An AWS platform team investigates this condition: An application has s3:GetObject permission but cannot read encrypted objects after a KMS key policy update. Which DevOps principle BEST explains the core problem?
- Managed public certificate renewal depends on sustained validation prerequisites.
- Long-term security auditing requires suitable retained CloudTrail event collection and query.
- Access to SSE-KMS objects requires suitable S3 and KMS authorization.
- Preventive IaC guardrails and detective controls should enforce data exposure policy.
Explanation
Correct Answer
C:Access to SSE-KMS objects requires suitable S3 and KMS authorization. Relevant first evidence: Inspect KMS key policy, IAM Decrypt grant, encryption context and bucket policy. The resulting controlled response is: Grant only the necessary KMS decrypt permissions to the intended application role.
Incorrect Answers
A:Managed public certificate renewal depends on sustained validation prerequisites. This instead addresses a different case: A production ALB certificate renewal stalls because the required DNS validation CNAME was deleted. For the stated situation (An application has s3:GetObject permission but cannot read encrypted objects after a KMS key policy update.), the better principle is: Access to SSE-KMS objects requires suitable S3 and KMS authorization. The deciding distinction is: Access to SSE-KMS objects requires suitable S3 and KMS authorization.
B:Long-term security auditing requires suitable retained CloudTrail event collection and query. This instead addresses a different case: An incident responder needs to investigate unusual role assumptions across accounts over months, but only recent management events are readily accessible. For the stated situation (An application has s3:GetObject permission but cannot read encrypted objects after a KMS key policy update.), the better principle is: Access to SSE-KMS objects requires suitable S3 and KMS authorization. The deciding distinction is: Access to SSE-KMS objects requires suitable S3 and KMS authorization.
D:Preventive IaC guardrails and detective controls should enforce data exposure policy. This instead addresses a different case: New project buckets frequently become publicly readable because an IaC module omits S3 Block Public Access. For the stated situation (An application has s3:GetObject permission but cannot read encrypted objects after a KMS key policy update.), the better principle is: Access to SSE-KMS objects requires suitable S3 and KMS authorization. The deciding distinction is: Access to SSE-KMS objects requires suitable S3 and KMS authorization.
Question 459
An engineering review identifies: A CodeDeploy in-place EC2 release fails during ApplicationStart, but the team incorrectly treats the issue as an Auto Scaling failure. Which shortcut is MOST unsafe for this exact condition?
- Replace every ECS task simultaneously and rely only on application startup logs.
- Rely on a human reviewer reading a mutable Region text field to enforce residency.
- Deploy both repositories simultaneously and assume their successful builds prove compatibility.
- Increase Auto Scaling desired capacity without inspecting the failing lifecycle hook.
Explanation
Correct Answer
D:Increase Auto Scaling desired capacity without inspecting the failing lifecycle hook. The case is: A CodeDeploy in-place EC2 release fails during ApplicationStart, but the team incorrectly treats the issue as an Auto Scaling failure. A safer engineering response is: Correct the failing hook or dependency and redeploy using the supported EC2 deployment sequence. The deciding principle is: Application lifecycle hook and agent logs are primary evidence for an EC2 CodeDeploy failure.
Incorrect Answers
A:Replace every ECS task simultaneously and rely only on application startup logs. This instead addresses a different case: An ECS service release must let QA validate a new task set before production traffic shifts, with rollback if alarms breach a threshold. For the stated situation (A CodeDeploy in-place EC2 release fails during ApplicationStart, but the team incorrectly treats the issue as an Auto Scaling failure.), the better unsafe assumption to reject is: Increase Auto Scaling desired capacity without inspecting the failing lifecycle hook. The deciding distinction is: Application lifecycle hook and agent logs are primary evidence for an EC2 CodeDeploy failure.
B:Rely on a human reviewer reading a mutable Region text field to enforce residency. This instead addresses a different case: A deployment pipeline has approvals for one Region but a wrong parameter lets the same artifact create resources in an unapproved jurisdiction. For the stated situation (A CodeDeploy in-place EC2 release fails during ApplicationStart, but the team incorrectly treats the issue as an Auto Scaling failure.), the better unsafe assumption to reject is: Increase Auto Scaling desired capacity without inspecting the failing lifecycle hook. The deciding distinction is: Application lifecycle hook and agent logs are primary evidence for an EC2 CodeDeploy failure.
C:Deploy both repositories simultaneously and assume their successful builds prove compatibility. This instead addresses a different case: A customer checkout API and its consumer contract must change together, but independent pipelines deploy incompatible revisions without a compatibility gate. For the stated situation (A CodeDeploy in-place EC2 release fails during ApplicationStart, but the team incorrectly treats the issue as an Auto Scaling failure.), the better unsafe assumption to reject is: Increase Auto Scaling desired capacity without inspecting the failing lifecycle hook. The deciding distinction is: Application lifecycle hook and agent logs are primary evidence for an EC2 CodeDeploy failure.
Question 460
After implementing a proposed fix, the team reviews: Security detects unauthorized port scans but cannot determine which source attempted connections to a sensitive subnet. Which result would BEST confirm that the risk is addressed?
- A test rotation preserves authorized access and invalidates the prior credential on schedule.
- A sample finding appears centrally with originating account and severity.
- A deliberately vulnerable test image is found and corrected through a tracked release.
- A controlled rejected connection is traceable to source and destination metadata.
Explanation
Correct Answer
D:A controlled rejected connection is traceable to source and destination metadata. The approved action is: Enable sufficient flow log scope with protected centralized analysis. The risk principle is: Network flow telemetry can reveal accepted and rejected flow metadata when configured correctly.
Incorrect Answers
A:A test rotation preserves authorized access and invalidates the prior credential on schedule. This instead addresses a different case: Multiple application instances embed a database password that is rotated manually, causing widespread outages after each change. For the stated situation (Security detects unauthorized port scans but cannot determine which source attempted connections to a sensitive subnet.), the better verification is: A controlled rejected connection is traceable to source and destination metadata. The deciding distinction is: Network flow telemetry can reveal accepted and rejected flow metadata when configured correctly.
B:A sample finding appears centrally with originating account and severity. This instead addresses a different case: A suspicious EC2 credential event generates a GuardDuty finding but never reaches the central analyst workflow. For the stated situation (Security detects unauthorized port scans but cannot determine which source attempted connections to a sensitive subnet.), the better verification is: A controlled rejected connection is traceable to source and destination metadata. The deciding distinction is: Network flow telemetry can reveal accepted and rejected flow metadata when configured correctly.
C:A deliberately vulnerable test image is found and corrected through a tracked release. This instead addresses a different case: A new AMI enters production with an outdated system package, but the organization runs vulnerability assessments only once annually. For the stated situation (Security detects unauthorized port scans but cannot determine which source attempted connections to a sensitive subnet.), the better verification is: A controlled rejected connection is traceable to source and destination metadata. The deciding distinction is: Network flow telemetry can reveal accepted and rejected flow metadata when configured correctly.