What is the relationship between a CloudFormation template and a stack?
A.Templates and stacks are the same thing
B.A template is created from a stack
C.A stack is an instantiation of a template
D.A stack contains multiple templates
A CloudFormation stack creation fails, and the administrator wants to keep the resources for troubleshooting instead of automatic rollback. Which option should be used?
A.--disable-rollback
B.--retain-resources
C.--on-failure DO_NOTHING
D.--rollback-configuration
Which CloudFormation helper script is used to signal success or failure to CloudFormation, allowing synchronization of stack resources?
A.cfn-get-metadata
B.cfn-signal
C.cfn-init
D.cfn-hup
What is drift in the context of AWS CloudFormation?
A.The difference between estimated and actual deployment time
B.The time delay between template update and resource update
C.Changes made to stack resources outside of CloudFormation
D.Network latency affecting stack creation
An administrator needs to preview changes before updating a production CloudFormation stack. Which feature should they use?
A.Change sets
B.Drift detection
C.Stack policies
D.Template validation
What is the purpose of the DependsOn attribute in CloudFormation templates?
A.To improve stack performance
B.To reduce deployment costs
C.To enable cross-region replication
D.To specify resource creation order
A CloudFormation stack is in UPDATE_ROLLBACK_FAILED state. What is the most likely cause?
A.The stack has too many resources
B.A resource cannot be returned to its previous state
C.The template syntax is invalid
D.Network connectivity was lost
Which pseudo parameter returns the AWS Region where the CloudFormation stack is being created?
A.AWS::Location
B.AWS::Region
C.AWS::AccountRegion
D.AWS::StackRegion
In AWS Service Catalog, what is the purpose of a launch constraint?
A.To set a maximum cost for provisioned products
B.To specify the IAM role used to provision resources
C.To limit the number of products that can be launched
D.To control which regions products can be launched in
Which CloudFormation section is used to return values that can be imported by other stacks?
A.Exports
B.Returns
C.Parameters
D.Outputs
What is the primary benefit of using AWS Service Catalog over direct CloudFormation access for end users?
A.Service Catalog supports more AWS services
B.Service Catalog is faster than CloudFormation
C.Service Catalog provides self-service with governance
D.Service Catalog is less expensive than CloudFormation