nerdexam
Fortinet

FCSS_CDS_AR-7.6 · Question #52

An Azure administrator is trying to optimize the Azure Bicep files currently used for cloud deployments. Which technique can Azure administrators use to improve the code in Azure Bicep files?

The correct answer is D. Limit the allowed parameters with the use of decorators. In Azure Bicep, decorators can be used to limit allowed parameter values, enforce constraints, and improve code reliability. This helps optimize and standardize deployments by preventing

FortiGate-VM Architectures in Azure

Question

An Azure administrator is trying to optimize the Azure Bicep files currently used for cloud deployments. Which technique can Azure administrators use to improve the code in Azure Bicep files?

Options

  • AUse the what-if operation before deploying new resources.
  • BAvoid nesting related resources to improve readability.
  • CAlways use parameter files with the .json extension.
  • DLimit the allowed parameters with the use of decorators.

How the community answered

(56 responses)
  • A
    2% (1)
  • B
    5% (3)
  • C
    9% (5)
  • D
    84% (47)

Explanation

In Azure Bicep, decorators can be used to limit allowed parameter values, enforce constraints, and improve code reliability. This helps optimize and standardize deployments by preventing

Topics

#Azure Bicep#decorators#parameter constraints#IaC optimization

Community Discussion

No community discussion yet for this question.

Full FCSS_CDS_AR-7.6 Practice