AWS Certified Solutions Architect – Professional SAP-C01 – Question317

When using the AWS CLI for AWS CloudFormation, which of the following commands returns a description of the specified resource in the specified stack?

A.
describe-stack-events
B. describe-stack-resource
C. create-stack-resource
D. describe-stack-returns

Correct Answer: B

Explanation:

Explanation: awsclicloudformation describe-stack-resource Description Returns a description of the specified resource in the specified stack. For deleted stacks, describe-stack-resource returns resource information for up to 90 days after the stack has been deleted.
Reference:
http://docs.aws.amazon.com/cli/latest/reference/cloudformation/desc…