Question 130
In an AWS networking assessment, a CDK pipeline unexpectedly deploys to the wrong AWS account because its environment target is implicit. Which technical explanation BEST accounts for the observed condition?
Explanation
Correct Answer
A reusable CDK app can deploy to different accounts unless the target is controlled. This explains the observed network behavior, which can be checked by verifying that the stack appears only in the authorized account and Region after deployment.
Incorrect Answers
Version-controlled infrastructure prevents accidental drift only when deployment permissions and approvals are enforced. The decisive technical distinction is cDK deployments rely on explicit AWS account and Region environment context for targeted resources; a reusable CDK app can deploy to different accounts unless the target is controlled.
Parallel resource provisioning can race prerequisites not inferred from referenced attributes. The reported evidence instead concerns cDK deployments rely on explicit AWS account and Region environment context for targeted resources: a reusable CDK app can deploy to different accounts unless the target is controlled.
Subnets and network interface IDs are scoped to a VPC and Region, not globally interchangeable. The reported evidence instead concerns cDK deployments rely on explicit AWS account and Region environment context for targeted resources: a reusable CDK app can deploy to different accounts unless the target is controlled.






AWS Certified Advanced Networking - Specialty ANS-C01 Practice Tests