AWS DevOps Engineer Professional Practice Test

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the AWS DevOps Engineer Professional Test. Enhance your skills with flashcards and multiple-choice questions, each offering hints and explanations. Become exam-ready!

Practice this question and more.


When deploying a stack, which parameter can be used for notifications?

  1. --template-body

  2. --notification-arns

  3. --stack-policy-body

  4. --parameters

The correct answer is: --notification-arns

When deploying a stack in AWS CloudFormation, the correct parameter for setting up notifications is indeed the one that indicates Amazon Resource Names (ARNs) for notification targets. The purpose of utilizing notification ARNs is to allow CloudFormation to send event notifications to specified resources, such as Amazon Simple Notification Service (SNS) topics, when certain stack events occur. By specifying the notification ARNs, users can receive alerts regarding the state changes of their stack—such as when the stack creation succeeds or fails, which is crucial for monitoring the health and progress of the deployment process. This allows teams to react promptly to any issues or key events in the lifecycle of their CloudFormation stacks. The other options, while relevant to stack deployment, serve different purposes. The template body is used to provide the actual CloudFormation template, the stack policy body is used to define permissions regarding update actions, and parameters are for passing specific values to the resources defined in the template, but none of these pertain to notification setup. Thus, the option related to notification ARNs is essential for incorporating notification management into the CloudFormation stack deployment.