View all questions & answers for the NSE 7 - Public Cloud Security 7.6.4 Architect Exam Materials exam


Question 66 Discussion

Refer to the exhibit. A senior administrator in a multinational organization needs to include a comment in the template shown in the exhibit to ensure that administrators from other regions change the Amazon Machine Image (AMI) ID to one that is valid in their location. How can the administrator add the required comment in that section of the file? (Choose one answer)

  • A. The administrator can add the comment starting with the # character next to the "Resources" section.
  • B. The administrator must convert the template file to YAML format to add a comment.
  • C. The administrator must update the AWSTemplateFormatVersion to the latest version.
  • D. The administrator can include the comment with the aws cloudformation update-stack command.
Correct Answer: B

Brave-Dump Clients Votes

B 100%

Comments



Mr_Fortitito 2025-09-07 10:16:51

Selected Answers: B


Study guide page 43-44:
The Fortinet study guide explains that CloudFormation templates can be written in either JSON or YAML format. On page 44, it specifically states:
"Both codes achieve the same results, but most administrators prefer YAML because it is more concise and easier to read. Additionally, YAML allows you to include comments in the code, which is not supported in JSON."
The exhibit shows a JSON format template (indicated by the curly braces and syntax structure). Since JSON does not support comments, the administrator would need to convert it to YAML format to add the required comment about changing the AMI ID for different regions.


alex silva 2025-09-13 16:13:10

Selected Answers: B


B