AWS Certified Sysops Administrator Associate · Free Practice Question Medium

Question 32

A SysOps administrator has deployed an application using an AWS CloudFormation stack set across multiple AWS accounts and Regions. The administrator plans to deploy and updated template and wants to test the update in subset of the accounts and Regions before rolling it out to the entire stack set.

How can the administrator implement the test update?

  • A

    Create a nested stack to deploy the update.

  • B

    Use a change set for the stack set to test the update.

  • C

    Update the stack set and select a single account and Region.

  • D

    Create a separate stack set to test the update.

Reveal correct answer

Correct answer: D

Explanation

By default, updating a stack set updates all stack instances. If you have 20 accounts each in two regions, you will have 40 stack instances, and all will be updated when you update the stack set.

For stack sets with many stack instances, AWS recommends that to test the updated version of a template, you selectively update the stack instances in a few test accounts before updating all stack instances.

To get more granular control over updating individual stacks within your stack set, plan to create multiple stack sets.

CORRECT: "Create a separate stack set to test the update" is the correct answer.

INCORRECT: "Create a nested stack to deploy the update" is incorrect. A nested stack will not assist with deploying an updated template to a subset of accounts and Regions in a stack set.

INCORRECT: "Use a change set for the stack set to test the update" is incorrect. You can only preview changes with a change set, and you cannot select individual accounts and Regions within a stack set.

INCORRECT: "Update the stack set and select a single account and Region" is incorrect. As per the explanation above you can only deploy updates to the entire stack set.

References:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-bestpractices.html

Save time with our AWS cheat sheets:

https://digitalcloud.training/aws-cloudformation/

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need