Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
AWS Certified DevOps Engineer - Professional · AWS
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
A and B are wrong because "SCP never grants permissions", as stated at https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html?icmpid=docs_orgs_console#scp-effects-on-permissions. C is wrong because you can't attach the permission boundary to an AWS account, only to IAM entities, https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html#access_policies_boundaries-eval-logic. D is the correct option.
I'm sorry Folks! I'm wrong the right option is A and here is the solution: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_examples_general.html#example-scp-restricts-with-exception I thought it was suggesting to add two statements one allow and another deny, but in fact, option A is suggesting to add one Deny with the condition parameter.