Skip to content

Practice Tests · Certification prep

Free certification practice tests.

Sharpen up for your next certification with free, realistic multiple-choice practice tests. Every question runs entirely in your browser — instant scoring, per-question explanations, and your best score saved locally. No signup, no paywall.

Choose a certification

Sample question

Try one before you start.

Question 8 of the AWS DevOps Engineer Practice Set 2, exactly as the test asks it. Decide on an answer, then open the explanation.

dop-c02-practice-set-2 · q8

During an outage last month, engineers edited security group rules and an RDS parameter group directly in the console to restore service. Those stacks are managed by AWS CloudFormation, and the platform team now wants a report of every resource whose live configuration no longer matches the template that produced it.

Which CloudFormation capability produces that report?

  1. A Drift detection, which compares live resources against their template configuration.
  2. B Change sets, which compute the effect of a proposed template update.
  3. C Stack policies, which control the resources an update is allowed to change.
  4. D Rollback triggers, which monitor CloudWatch alarms while a stack update is in progress.
Show the answer and explanation

Answer A

Drift detection is the feature for out-of-band changes that already happened: it inspects each supported resource, compares it with the properties CloudFormation expects, and reports each one as IN_SYNC or MODIFIED with the exact property differences. That is precisely the console-edit scenario described. A change set looks forward rather than backward, previewing what a proposed update would do to a stack that is assumed to be in its expected state. A stack policy is a guardrail that permits or denies updates and reports nothing. Rollback triggers watch CloudWatch alarms during an in-progress update and can abort it, which does not help once the update has long finished.

Take Practice Set 2 Every answer explained