StudyByteLearn
← AZ-802: Administering Windows Server
AZ-802 · Hybrid server management · Hybrid server management | Manage Windows Server instances and workloads by using Azure services in a hybrid environment

Practice question 93 of 506 · hard

A runbook using Az modules must operate only in a specified subscription, and prior worker jobs may have saved an Azure context. Which two measures directly address that risk? Select two answers.

Select all that apply. Every correct option and no extras are required for credit in the app.

  1. A.Disable context autosave for the process and authenticate deliberately
  2. B.Set and use the intended subscription context for the operations
  3. C.Store a plaintext account password in the resource tags
  4. D.Grant every worker identity Owner across all subscriptions
  5. E.Assume the last saved subscription is always the correct one
Show the answer and explanation

✓ Correct answers

  • Disable context autosave for the process and authenticate deliberately
  • Set and use the intended subscription context for the operations

Deliberate authentication plus an explicit subscription context avoids accidentally using a previous worker session’s saved context. Assuming the previous subscription is correct is unsafe. Plaintext secrets and broad Owner permissions neither isolate the intended context nor satisfy least privilege.

Read the source reference

Read and review here, or open the app to practise and save your results on this device.

Unofficial study material, independently written and not affiliated with or endorsed by Microsoft. These are original learning questions, not actual exam questions. Product support and exam scope can change; a practice percentage is not a Microsoft exam scaled score.