NSE 7 – Public Cloud Security 6.4 — Question 7
You have been asked to develop an Azure Resource Manager infrastructure as a code template for the FortiGate-VM, that can be reused for multiple deployments. The deployment fails, and errors point to the storageAccount name.
Which two are restrictions for a storageAccount name in an Azure Resource Manager template? (Choose two.)
Answer options
- A. The uniqueString() function must be used.
- B. The storageAccount name must use special characters.
- C. The storageAccount name must be in lowercase.
- D. The storageAccount name must contain between 3 and 24 alphanumeric characters.
Correct answer: C, D
Explanation
The correct answers are C and D because Azure requires that storage account names be in lowercase and have a length of 3 to 24 characters, consisting of alphanumeric characters. Option A is incorrect as the uniqueString() function is not a requirement for naming, and option B is wrong because special characters are not allowed in storage account names.