A company needs policy checks during CDK synthesis and organization-level restrictions on member-account principals, including actions outside deployment pipelines. Which mechanisms address these needs? (Choose two.)
Choose 2 answers
Show the answer
Correct answersA. Service control policies attached to organizational unitsB. CDK aspects that validate constructs
AWhy this is right: SCPs set permission limits for affected member-account principals regardless of whether they use a deployment pipeline.
BWhy this is right: Aspects traverse the construct tree during synthesis and can report policy validation errors.
CWhy not this: Change sets preview stack changes but do not validate CDK constructs or constrain actions outside CloudFormation.
DWhy not this: Service-managed StackSets distributes stacks across accounts but does not restrict principals' independent API actions.
CDK aspects can validate constructs during synthesis, while SCPs limit available permissions for principals in member accounts. StackSets distributes infrastructure but does not establish an organization-level permissions boundary.