AWS Certified Solutions Architect – Professional — Question 593

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

Answer options

Correct answer: B

Explanation

The describe-stack-resource command is used in the AWS CLI to return details about a specific resource in a specified CloudFormation stack. In contrast, describe-stack-events lists events associated with the stack, while create-stack-resource and describe-stack-returns are not valid AWS CloudFormation CLI commands.