PrepAway - Latest Free Exam Questions & Answers

What method should I use to author automation if I want…

What method should I use to author automation if I want to wait for a CloudFormation stack to finish completing in a script?

PrepAway - Latest Free Exam Questions & Answers

A.
Event subscription using SQS.

B.
Event subscription using SNS.

C.
Poll using ListStacks / list-stacks.

D.
Poll using GetStackStatus / get-stack-status.

Explanation:
Event driven systems are good for IFTTT logic, but only polling will make a script wait to complete. ListStacks / list-stacks
is a real method, GetStackStatus / get-stack-status is not.
http://docs.aws.amazon.com/cli/latest/reference/cloudformation/list-stacks.html

2 Comments on “What method should I use to author automation if I want…

  1. Sadeel Anjum says:

    C
    I think there is no such command GetStackStatus/get-stack-status.
    We use ListStacks/list-stacks and give status (that we are searching for) as input parameter and regarding stacks are returned.




    0



    0

Leave a Reply

Your email address will not be published. Required fields are marked *