nerdexam
Microsoft

AZ-400 · Question #598

Hotspot Question You have a Bicep file named Main.bicep. You run the following command. You receive the following response. Use the drop-down menus to select the answer choice that completes each stat

The correct answer is StorageAccount3 will be ignored. = Yes; The command will evaluate the resources in RG1. = Yes. The command shown is 'az deployment group what-if', which is a What-If operation that evaluates changes against an existing resource group (RG1) without actually deploying anything - hence 'The command will evaluate the resources in RG1' is correct (Yes). The What-If operation co

Submitted by sofia.br· Mar 6, 2026Deploy and manage Azure compute resources / Infrastructure as Code - Understanding Azure Bicep What-If operations and interpreting deployment evaluation results, typically tested in AZ-104 or AZ-305 certification exams.

Question

Hotspot Question You have a Bicep file named Main.bicep. You run the following command. You receive the following response. Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic. NOTE: Each correct selection is worth one point. Answer:

Exhibits

AZ-400 question #598 exhibit 1
AZ-400 question #598 exhibit 2
AZ-400 question #598 exhibit 3
AZ-400 question #598 exhibit 4

Answer Area

  • StorageAccount3 will be ignored.Yes
  • The command will evaluate the resources in RG1.Yes

Explanation

The command shown is 'az deployment group what-if', which is a What-If operation that evaluates changes against an existing resource group (RG1) without actually deploying anything - hence 'The command will evaluate the resources in RG1' is correct (Yes). The What-If operation compares the desired state in the Bicep file against the current state of the resource group; if StorageAccount3 exists in RG1 but is not defined in Main.bicep, it will be flagged as 'ignored' (shown in the What-If output as resources that exist but are not managed by the template), making 'StorageAccount3 will be ignored' also correct (Yes). The 'ignored' status in What-If output specifically means the resource exists in the resource group but is outside the scope of the template, so it will not be modified or deleted.

Topics

#Azure Bicep#What-If Deployment#ARM Templates#Azure Resource Manager

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice