Question 750
A CDK stack references a staging VPC ID in production because its context file was copied without environment-aware configuration. Which observable outcome BEST establishes that the intended networking requirement is satisfied?
Explanation
Correct Answer
The synthesized network design matches the intended account and Region and avoids accidental production replacements. This outcome verifies the intended network behavior rather than merely showing a setting exists. CDK synthesis generates infrastructure templates; application code passing unit tests does not alone prove a network change is safe at deploy time. Scenario: A CDK stack references a staging VPC ID in production because its context file was copied without environment-aware configuration.
Incorrect Answers
Authorized workload accounts resolve shared private services without publishing internal hostnames to the open internet. That result supports Cross-account private DNS hosted zone associations but does not establish the requested networking outcome here. Instead verify: The synthesized network design matches the intended account and Region and avoids accidental production replacements. Scenario: A CDK stack references a staging VPC ID in production because its context file was copied without environment-aware configuration.
Validating public resolvers accept authentic DNS responses without SERVFAIL caused by stale delegation. That result supports Route 53 DNSSEC public signing and delegation but does not establish the requested networking outcome here. Instead verify: The synthesized network design matches the intended account and Region and avoids accidental production replacements. Scenario: A CDK stack references a staging VPC ID in production because its context file was copied without environment-aware configuration.
Detected policy changes produce controlled auditable corrections without duplicated actions or broad unauthorized routing changes. That result supports EventBridge and Lambda network change reaction but does not establish the requested networking outcome here. Instead verify: The synthesized network design matches the intended account and Region and avoids accidental production replacements. Scenario: A CDK stack references a staging VPC ID in production because its context file was copied without environment-aware configuration.


