AWS Certified DevOps Engineer - Professional Practice Questions

AWS Certified DevOps Engineer - Professional (DOP-C02) exam preparation

AWS Certified DevOps Engineer - Professional practice questions in English: 180 questions with explanations. The mock exam has 75 questions and 180 minutes.

AWS Certified DevOps Engineer - Professional free question 4 / 10 · Domain 2: Configuration Management and IaC

An account that is enrolled in AWS Control Tower is moved from one OU to another. The controls on the old OU were implemented with SCPs and AWS Config rules. What happens to those controls on the account?

  1. They stay on the account until an administrator removes them manually, and the account is flagged as having drifted
  2. They are suspended on the account and restored when the destination OU enables the same controls, as drift detection pauses them
  3. They are removed from the account when the move completes, and the controls of the destination OU take their place
  4. They are replaced by the controls of the destination OU, as a new hook-based control replaces them on the account
Show the answer and explanation

Answer: A

Why this is correct
Moving an account between OUs is one of the types of account drift that AWS Control Tower detects. The controls from the previous OU are not removed by the move. A new hook-based control on the destination OU replaces the old hook-based control on the account, but controls implemented with SCPs and AWS Config rules always have to be removed manually.

Why the other options are wrong
"They are removed from the account when the move completes, and the controls of the destination OU take their place" … When you move an account to another OU, the controls from the previous OU are not removed.
"They are replaced by the controls of the destination OU, as a new hook-based control replaces them on the account" … A new hook-based control on the destination OU replaces an old hook-based control. Controls implemented with SCPs and AWS Config rules always have to be removed manually.
"They are suspended on the account and restored when the destination OU enables the same controls, as drift detection pauses them" … The controls are not suspended. They remain in place and are removed manually when an account changes OUs.

Key points
After an OU move, clean up SCP-based and Config-rule-based controls by hand and review the drift notification.

Go to the AWS Certified DevOps Engineer - Professional practice app (10 free questions; purchase unlocks all questions)

See the full practice set