ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 692 - SAP-C01 discussion

Report
Export

True or false: In a CloudFormation template, you can reuse the same logical ID several times to reference the resources in other parts of the template.

A.
True, a logical ID can be used several times to reference the resources in other parts of the template.
Answers
A.
True, a logical ID can be used several times to reference the resources in other parts of the template.
B.
False, a logical ID must be unique within the template.
Answers
B.
False, a logical ID must be unique within the template.
C.
False, you can mention a resource only once and you cannot reference it in other parts of a template.
Answers
C.
False, you can mention a resource only once and you cannot reference it in other parts of a template.
D.
False, you cannot reference other parts of the template.
Answers
D.
False, you cannot reference other parts of the template.
Suggested answer: B

Explanation:

In AWS CloudFormation, the logical ID must be alphanumeric (A-Za-z0-9) and unique within the template. You use the logical name to reference the resource in other parts of the template.

Reference: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/concept-resources.html

asked 16/09/2024
Marek Broadstock
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first