CGE-AZ practice exam

20 questions across the 7 exam domains, weighted like the real exam. Untimed. Submit to see your score by domain and an explanation for every answer. The real exam is 50 questions in 75 minutes and you pass at 70%. These questions are for practice and do not appear on the graded exam.

  1. Question 1 of 20 · Azure FoundationsA subscription is moved from mg-sandbox to mg-prod. A deny initiative is assigned at mg-prod, and the subscription already holds a few resources that violate it. What happens after the move?
  2. Question 2 of 20 · Azure FoundationsAn access review export contains this row: Role: User Access Administrator Principal: dana@contoso.example (User) Scope: /providers/Microsoft.Management/managementGroups/mg-grc How should the reviewer rate this assignment?
  3. Question 3 of 20 · Azure FoundationsA Function App is deleted and redeployed from code several times a month. The team wants its identity and that identity's role assignments to stay stable across every redeploy, with no stored secret. Which principal type fits?
  4. Question 4 of 20 · The Azure GRC ToolkitA control requires every Key Vault to send its resource logs to the central Log Analytics workspace. The diagnostic setting is a separate child resource, and vaults that lack one must be fixed without a human touching them. Which policy effect fits?
  5. Question 5 of 20 · The Azure GRC ToolkitAn engineer saves this query in the central workspace: AzureActivity | where OperationNameValue =~ 'Microsoft.Authorization/roleAssignments/write' | where ActivityStatusValue == 'Success' | summarize grants = count() by Caller Which auditor question does it answer directly?
  6. Question 6 of 20 · The Azure GRC ToolkitA subscription has never had a paid Defender plan turned on. What does Defender for Cloud still give the GRC engineer on that subscription?
  7. Question 7 of 20 · Terraform on AzureA stage's backend is configured like this: backend "azurerm" { resource_group_name = "rg-tfstate" storage_account_name = "sttfstate01" container_name = "tfstate" key = "foundation.tfstate" use_azuread_auth = true } What must the identity running terraform init hold for state access to work?
  8. Question 8 of 20 · Terraform on AzureA plan job triggered by a pull request fails at the Azure login step: AADSTS70021: No matching federated identity record found for presented assertion. Assertion Subject: repo:acme/grc-pipeline:pull_request The app registration has one federated credential, with subject repo:acme/grc-pipeline:ref:refs/heads/main. What is the right fix?
  9. Question 9 of 20 · Terraform on AzureA custom azurerm_policy_definition is created with no management_group_id, so it is stored in the sandbox subscription. The initiative that references it is then assigned at mg-grc-sandbox, and the apply fails. Why?
  10. Question 10 of 20 · The Evidence PlaneAn engineer runs this in Azure Resource Graph: securityresources | where type == 'microsoft.security/assessments' | where properties.status.code == 'Unhealthy' | summarize count() by tostring(properties.metadata.severity) What does the result represent?
  11. Question 11 of 20 · The Evidence PlaneThe reports container carries a time-based retention policy. Tonight the generator uploads a new, dated artifact to a path that does not exist yet. What does the platform do?
  12. Question 12 of 20 · The Evidence PlaneThe evidence Cosmos account has key-based authentication turned off. To let the collector write documents, a teammate grants its managed identity the Azure RBAC role DocumentDB Account Contributor on the account. Writes still fail with 403. What is the cause?
  13. Question 13 of 20 · The Evidence PlaneAn assessor asks how many storage accounts were failing the public network access check on a specific date three weeks ago. Which source can answer that, and why does the answer hold up?
  14. Question 14 of 20 · Reporting & NarrativeAn engineering lead asks: which open findings are past their due date, and who owns each one? Which pipeline deliverable is built to answer that question?
  15. Question 15 of 20 · Reporting & NarrativeThe digest prompt template in the repo reads: Summarize the attached report JSON for leadership. Cite every figure from the input. Add nothing that is not in the input. A pull request appends: If a count looks stale, call the Defender API and use the latest number instead. How should the reviewer respond?
  16. Question 16 of 20 · Reporting & NarrativeLast Monday's SAR reports 18 unhealthy findings for its run. Today an executive opens the Defender portal, sees 11, and says the SAR is wrong. The engineer reruns the SAR's stored query pinned to that run and gets 18. What is the correct conclusion?
  17. Question 17 of 20 · Enforcement & OperationsA pull request check ends with: conftest test plan.json --policy policy/ Error: open plan.json: no such file or directory Process completed with exit code 1. A developer proposes appending || true to the command so that tooling errors stop blocking merges. How should the proposal be judged?
  18. Question 18 of 20 · Enforcement & OperationsLast night's scheduled terraform plan was clean for every stage. This morning an engineer finds a storage account that someone created by hand in the portal yesterday, in a resource group the pipeline governs. Why did the scheduled plan miss it, and what catches it?
  19. Question 19 of 20 · CapstoneA capstone repo's activation stage declares one azurerm_security_center_subscription_pricing resource per Defender plan, each hardcoded to Standard, with no reference to any discovery output. What is the main weakness of this design?
  20. Question 20 of 20 · CapstoneA candidate wants to show that the repo's CI gate really blocks a non-compliant change. Which artifact is the strongest proof?
0 of 20 answered