Microsoft AZ-104 (Microsoft Azure Administrator) Practice Test 27

Question 260

Security architects are choosing at-rest encryption boundaries for storage data. The runbook has two entries. Entry A says to control the encryption key through supported Azure Key Vault or Managed HSM integration. Entry B says to supply a key with supported blob requests for encryption of specific operations. Which proposed pair addresses both entries?

  1. On resource A use Customer-managed encryption key; on resource B use Infrastructure encryption.
  2. On resource A use Customer-provided encryption key; on resource B use Customer-managed encryption key.
  3. On resource A use Customer-managed encryption key; on resource B use Customer-provided encryption key.
  4. On resource A use Microsoft-managed encryption keys; on resource B use Customer-provided encryption key.

Explanation

Correct Answer

C:

For A, the selected Customer-managed encryption key achieves the stated result to control the encryption key through supported Azure Key Vault or Managed HSM integration; A customer-managed key lets an organization manage key access and rotation prerequisites; loss of key availability can disrupt storage operations; b: Customer-provided encryption key meets the requirement to supply a key with supported blob requests for encryption of specific operations; Customer-provided keys are passed on appropriate requests and are not stored by the storage service for later retrieval.

Incorrect Answers

A:

The A setting is right: Customer-managed encryption key supplies the ability to control the encryption key through supported Azure Key Vault or Managed HSM integration; A customer-managed key lets an organization manage key access and rotation prerequisites; loss of key availability can disrupt storage operations; b: Infrastructure encryption is meant to add a second layer of encryption at the storage infrastructure level, not to supply a key with supported blob requests for encryption of specific operations; Infrastructure encryption provides an additional independent encryption layer beyond service-level encryption when enabled for a supported account.

B:

A calls for a different mechanism to control the encryption key through supported Azure Key Vault or Managed HSM integration; Customer-provided encryption key instead supports the action to supply a key with supported blob requests for encryption of specific operations; Customer-provided keys are passed on appropriate requests and are not stored by the storage service for later retrieval; b: Customer-managed encryption key is meant to control the encryption key through supported Azure Key Vault or Managed HSM integration, not to supply a key with supported blob requests for encryption of specific operations; A customer-managed key lets an organization manage key access and rotation prerequisites; loss of key availability can disrupt storage operations.

D:

The A mapping to Microsoft-managed encryption keys misses the required goal to control the encryption key through supported Azure Key Vault or Managed HSM integration; Azure Storage encrypts data at rest by default with Microsoft-managed keys; customers need not operate a key vault for this option; it addresses use platform-managed encryption keys for standard Storage Service Encryption instead; at B, Customer-provided encryption key is appropriate; Customer-provided keys are passed on appropriate requests and are not stored by the storage service for later retrieval.

Question 261

Identity engineers must apply the correct control to a separate security problem. A migration preflight documents two outcomes on different targets: evaluate sign-in conditions and enforce access controls for a targeted cloud application; and authorize an authenticated principal to perform Azure resource operations. Which plan implements these in order?

  1. A uses Azure RBAC, whereas B uses Microsoft Entra multifactor authentication.
  2. A uses Microsoft Entra multifactor authentication, whereas B uses Azure RBAC.
  3. A uses Azure RBAC, whereas B uses Conditional Access policy.
  4. A uses Self-service password reset, whereas B uses Azure RBAC.
  5. A uses Conditional Access policy, whereas B uses Azure RBAC.
  6. A uses Microsoft Entra multifactor authentication, whereas B uses Conditional Access policy.

Explanation

Correct Answer

E:

The A choice, Conditional Access policy, fits the configured outcome; Conditional Access can consider users, applications and signals when applying grant controls; applicable licensing and exclusions must be reviewed; for B, the selected Azure RBAC achieves the stated result to authorize an authenticated principal to perform Azure resource operations; Azure RBAC evaluates actions at the chosen management or data scope; successful authentication alone does not grant Owner permissions.

Incorrect Answers

A:

At A, Azure RBAC is mismatched; Azure RBAC evaluates actions at the chosen management or data scope; successful authentication alone does not grant Owner permissions; the requested need is to evaluate sign-in conditions and enforce access controls for a targeted cloud application; b calls for a different mechanism to authorize an authenticated principal to perform Azure resource operations; Microsoft Entra multifactor authentication instead supports the action to require an additional authentication factor for eligible user sign-ins; MFA strengthens identity verification; it does not by itself determine which Azure subscription resources a signed-in user may modify.

B:

The A selection is incorrect for the need to evaluate sign-in conditions and enforce access controls for a targeted cloud application: Microsoft Entra multifactor authentication serves to require an additional authentication factor for eligible user sign-ins; MFA strengthens identity verification; it does not by itself determine which Azure subscription resources a signed-in user may modify; for B, the selected Azure RBAC achieves the stated result to authorize an authenticated principal to perform Azure resource operations; Azure RBAC evaluates actions at the chosen management or data scope; successful authentication alone does not grant Owner permissions.

C:

A calls for a different mechanism to evaluate sign-in conditions and enforce access controls for a targeted cloud application; Azure RBAC instead supports the action to authorize an authenticated principal to perform Azure resource operations; Azure RBAC evaluates actions at the chosen management or data scope; successful authentication alone does not grant Owner permissions; for B, the proposed Conditional Access policy handles evaluate sign-in conditions and enforce access controls for a targeted cloud application, which is not the requested authorize an authenticated principal to perform Azure resource operations outcome; Conditional Access can consider users, applications and signals when applying grant controls; applicable licensing and exclusions must be reviewed.

D:

For A, the proposed Self-service password reset handles allow eligible users to recover a forgotten account password, which is not the requested evaluate sign-in conditions and enforce access controls for a targeted cloud application outcome; SSPR supplies identity recovery after verification of registered methods; it is not a substitute for per-resource authorization; for B, the selected Azure RBAC achieves the stated result to authorize an authenticated principal to perform Azure resource operations; Azure RBAC evaluates actions at the chosen management or data scope; successful authentication alone does not grant Owner permissions.

F:

A: Microsoft Entra multifactor authentication is meant to require an additional authentication factor for eligible user sign-ins, not to evaluate sign-in conditions and enforce access controls for a targeted cloud application; MFA strengthens identity verification; it does not by itself determine which Azure subscription resources a signed-in user may modify; for B, the proposed Conditional Access policy handles evaluate sign-in conditions and enforce access controls for a targeted cloud application, which is not the requested authorize an authenticated principal to perform Azure resource operations outcome; Conditional Access can consider users, applications and signals when applying grant controls; applicable licensing and exclusions must be reviewed.

Question 262

A central IT team administers multiple subscriptions through an organizational hierarchy. During acceptance testing, the operator must change which governance branch contains an existing subscription. Identify the appropriate Azure mechanism.

  1. Assign subscription to management group
  2. Policy at management-group scope
  3. Conditional Access policy
  4. RBAC at management-group scope

Explanation

Correct Answer

A:

The stated need is to change which governance branch contains an existing subscription, so the applicable mechanism is Assign subscription to management group: Placing a subscription under a management group changes inheritance from that branch; it does not migrate resources between subscriptions.

Incorrect Answers

B:

Policy at management-group scope would be used to enforce a compliance rule across descendant subscriptions from one assignment; Assignments at management-group scope inherit downward, allowing a shared governance baseline across the contained subscriptions, but the question asks how to change which governance branch contains an existing subscription.

C:

Conditional Access policy serves to evaluate sign-in conditions and enforce access controls for a targeted cloud application, whereas this case requires the action to change which governance branch contains an existing subscription; Conditional Access can consider users, applications and signals when applying grant controls; applicable licensing and exclusions must be reviewed.

D:

The request to change which governance branch contains an existing subscription is not fulfilled by RBAC at management-group scope; its intended role is to delegate Azure permissions over resources in all descendant subscriptions: Management-group role assignments flow into child subscriptions; they do not grant Microsoft Entra directory admin roles.

Question 263

A site reliability team needs to connect Azure alerts to existing response workflows. The deployment owner requests a capability to invoke a suitable Azure Function receiver for programmatic alert handling. What satisfies the requirement?

  1. Traffic Analytics
  2. Action group Logic App
  3. Action group SMS receiver
  4. Action group Azure Function

Explanation

Correct Answer

D:

For the work item that must invoke a suitable Azure Function receiver for programmatic alert handling, Action group Azure Function is appropriate: Azure Functions can process alert payloads through supported integrations, subject to authentication and runtime configuration.

Incorrect Answers

A:

Traffic Analytics would be used to aggregate virtual network flow-log data into traffic trends, top talkers and security insights; Traffic Analytics processes eligible flow logs into summarized network traffic and security views in a Log Analytics workspace; it is not a single-packet NSG decision test, but the question asks how to invoke a suitable Azure Function receiver for programmatic alert handling.

B:

Action group Logic App serves to start a Logic Apps workflow when supported alert actions trigger, whereas this case requires the action to invoke a suitable Azure Function receiver for programmatic alert handling; Logic Apps can orchestrate approvals, messages and other connected steps after an alert is raised.

C:

The request to invoke a suitable Azure Function receiver for programmatic alert handling is not fulfilled by Action group SMS receiver; its intended role is to send a concise text notification to a configured supported phone number: SMS is a notification channel rather than a mechanism for executing infrastructure remediation.

Question 264

A web application needs deployment safety without a long maintenance outage. An administrator needs a feature for each of these individual outcomes: (1) create an additional live App Service deployment endpoint for staging releases; (2) exchange configured source and target deployment slots to promote tested code. What belongs in the design? Choose TWO.

  1. Deployment slot
  2. Traffic routing to a slot
  3. Slot swap
  4. Sticky slot setting

Explanation

Correct Answers

A:

The stated condition to create an additional live App Service deployment endpoint for staging releases calls for Deployment slot; Slots run in the same plan and let teams validate a version before swapping it into production, in eligible tiers, directly addressing that individual target.

C:

Slot swap is included because it can exchange configured source and target deployment slots to promote tested code; A swap exchanges applicable content and configuration while respecting designated slot-specific settings, which fits one of the stated operational goals.

Incorrect Answers

B:

The requirements do not call for Traffic routing to a slot, which is used to send a selected fraction of production traffic to a nonproduction deployment slot; Routing percentages enable controlled validation of a candidate release without a full production swap, and no listed target requires that distinct use.

D:

Sticky slot setting would instead keep an environment-specific application setting with its slot during swap; Deployment-slot settings are marked sticky so secrets or endpoint values remain associated with their intended slot, which is unrelated to the listed objectives for this item.

Question 265

A subscription team must separate resource administration from authorization delegation. A change board is assessing two scopes of work. On the first, engineers will view Azure resource configuration without altering management-plane settings. On the second, they will manage resources and grant other principals Azure RBAC permissions at the assigned scope. Which selection is valid?

  1. Implement Role Based Access Control Administrator on the first target and Owner on the second.
  2. Implement Role Based Access Control Administrator on the first target and Contributor on the second.
  3. Implement Owner on the first target and Reader on the second.
  4. Implement Reader on the first target and Owner on the second.
  5. Implement Contributor on the first target and Owner on the second.

Explanation

Correct Answer

D:

The A choice, Reader, fits the configured outcome; Reader grants read actions on Azure management resources but not write or delete operations; it does not imply every data-plane permission; at B, Owner is appropriate; Owner combines broad resource control with authorization management at its assignment scope; least-privilege practice limits where it is granted.

Incorrect Answers

A:

The A selection is incorrect for the need to view Azure resource configuration without altering management-plane settings: Role Based Access Control Administrator serves to manage Azure RBAC role assignments without receiving general resource modification rights; The RBAC Administrator role focuses on role-assignment management and can be constrained by conditions; it is not equivalent to full resource Owner access; b: Owner meets the requirement to manage resources and grant other principals Azure RBAC permissions at the assigned scope; Owner combines broad resource control with authorization management at its assignment scope; least-privilege practice limits where it is granted.

B:

A calls for a different mechanism to view Azure resource configuration without altering management-plane settings; Role Based Access Control Administrator instead supports the action to manage Azure RBAC role assignments without receiving general resource modification rights; The RBAC Administrator role focuses on role-assignment management and can be constrained by conditions; it is not equivalent to full resource Owner access; b: Contributor is meant to deploy and modify Azure resources without granting role-assignment authority, not to manage resources and grant other principals Azure RBAC permissions at the assigned scope; Contributor manages most resources at the assigned scope but excludes Microsoft.Authorization role-assignment privileges needed for delegating access.

C:

For A, the proposed Owner handles manage resources and grant other principals Azure RBAC permissions at the assigned scope, which is not the requested view Azure resource configuration without altering management-plane settings outcome; Owner combines broad resource control with authorization management at its assignment scope; least-privilege practice limits where it is granted; b: Reader is meant to view Azure resource configuration without altering management-plane settings, not to manage resources and grant other principals Azure RBAC permissions at the assigned scope; Reader grants read actions on Azure management resources but not write or delete operations; it does not imply every data-plane permission.

E:

A: Contributor is meant to deploy and modify Azure resources without granting role-assignment authority, not to view Azure resource configuration without altering management-plane settings; Contributor manages most resources at the assigned scope but excludes Microsoft.Authorization role-assignment privileges needed for delegating access; at B, Owner is appropriate; Owner combines broad resource control with authorization management at its assignment scope; least-privilege practice limits where it is granted.

Question 266

A containerized API is using Azure Container Apps features. Two design notes describe different behaviors: A should expose an application endpoint internally or externally over supported protocols; B should provide the shared networking and operational boundary for one or more Container Apps. Which matched combination supports both behaviors?

  1. First target: Container Apps ingress; second target: Container Apps scale rule.
  2. First target: Container Apps ingress; second target: Container Apps environment.
  3. First target: Container Apps environment; second target: Container Apps ingress.
  4. First target: Container Apps ingress; second target: Container App revision.

Explanation

Correct Answer

B:

The A setting is right: Container Apps ingress supplies the ability to expose an application endpoint internally or externally over supported protocols; Ingress controls how traffic reaches the Container App; it does not itself define how many replicas should run; at B, Container Apps environment is appropriate; An environment hosts connected Container Apps and shared infrastructure settings; it is not a single revision of an individual app.

Incorrect Answers

A:

At A, Container Apps ingress is appropriate; Ingress controls how traffic reaches the Container App; it does not itself define how many replicas should run; at B, Container Apps scale rule is mismatched; Scale rules translate signals into desired replica counts within configured limits, including scale-to-zero for supported workloads; the requested need is to provide the shared networking and operational boundary for one or more Container Apps.

C:

A calls for a different mechanism to expose an application endpoint internally or externally over supported protocols; Container Apps environment instead supports the action to provide the shared networking and operational boundary for one or more Container Apps; An environment hosts connected Container Apps and shared infrastructure settings; it is not a single revision of an individual app; at B, Container Apps ingress is mismatched; Ingress controls how traffic reaches the Container App; it does not itself define how many replicas should run; the requested need is to provide the shared networking and operational boundary for one or more Container Apps.

D:

For A, the selected Container Apps ingress achieves the stated result to expose an application endpoint internally or externally over supported protocols; Ingress controls how traffic reaches the Container App; it does not itself define how many replicas should run; at B, Container App revision is mismatched; Revisions capture eligible configuration and image changes, allowing controlled rollout patterns in supported revision modes; the requested need is to provide the shared networking and operational boundary for one or more Container Apps.

Question 267

A storage administrator is distinguishing recovery mechanisms after data changes. The acceptance criteria across separate services are (1) retain prior blob versions when a current blob is overwritten or deleted; (2) capture a point-in-time read-only representation of a selected blob. Choose TWO Azure capabilities that implement them.

  1. Blob versioning
  2. Blob soft delete
  3. Lifecycle management rule
  4. Blob snapshot

Explanation

Correct Answers

A:

Blob versioning is needed for the specified objective to retain prior blob versions when a current blob is overwritten or deleted; Versioning creates historical versions for eligible block blobs, supporting point-in-time object recovery after modifications, making it one of the requested controls.

D:

The stated condition to capture a point-in-time read-only representation of a selected blob calls for Blob snapshot; A snapshot preserves a particular blob state when explicitly taken; it is not a schedule that automatically versions every change, directly addressing that individual target.

Incorrect Answers

B:

The purpose of Blob soft delete is to recover a blob that was deleted within the configured retention window; Soft delete preserves recoverable deleted blob states for a period; it is not the same as an independent version for every overwrite, but no target in this question asks for that capability.

C:

The requirements do not call for Lifecycle management rule, which is used to automatically tier or delete blobs after conditions such as age or last modification; Lifecycle rules evaluate matching blobs and perform configured transitions or deletion; they are not a user-initiated restore operation, and no listed target requires that distinct use.

Question 268

Architects are deciding how widely inherited Azure permissions should extend. The deployment owner requests a capability to restrict a role assignment to one specific Azure resource. What satisfies the requirement?

  1. Management group scope
  2. Subscription scope
  3. Reset a user's password
  4. Individual resource scope

Explanation

Correct Answer

D:

For the work item that must restrict a role assignment to one specific Azure resource, Individual resource scope is appropriate: A resource-level assignment is the narrowest of these scopes and avoids granting permissions over its sibling resources.

Incorrect Answers

A:

Management group scope would be used to grant a role across subscriptions that belong to a management-group branch; A management-group role assignment is inherited by descendant subscriptions and their resources, extending farther than a single subscription assignment, but the question asks how to restrict a role assignment to one specific Azure resource.

B:

Subscription scope serves to apply a role across all resource groups and resources inside one subscription, whereas this case requires the action to restrict a role assignment to one specific Azure resource; Subscription-scope Azure RBAC flows downward through that subscription but does not automatically extend to unrelated subscriptions.

C:

The request to restrict a role assignment to one specific Azure resource is not fulfilled by Reset a user's password; its intended role is to set a fresh credential for a cloud user who cannot sign in: An authorized password-reset operation changes the account credential; it does not remove access assignments or necessarily invalidate every already-issued token.

Question 269

A departmental file share must support several failure and recovery events. The deployment checklist assigns one action to resource A and another to resource B: retrieve an earlier version of a particular file from a share snapshot; apply a centrally managed backup policy and protected restore points to a file share. Which mapping should be used?

  1. For A, configure Azure File Sync cloud tiering; for B, configure Azure Backup for Azure Files.
  2. For A, configure Share snapshot restore; for B, configure Azure Backup for Azure Files.
  3. For A, configure Azure Files soft delete; for B, configure Azure Backup for Azure Files.
  4. For A, configure Azure Backup for Azure Files; for B, configure Share snapshot restore.

Explanation

Correct Answer

B:

At A, Share snapshot restore is appropriate; Snapshots preserve file states captured at their creation time; recovery requires choosing the appropriate snapshot and path; b is correctly mapped to Azure Backup for Azure Files; Azure Backup integrates backup scheduling and retention controls for supported Azure file shares; protection settings and vault selection matter.

Incorrect Answers

A:

A: Azure File Sync cloud tiering is meant to reduce local Windows Server storage usage by retaining colder file data in Azure, not to retrieve an earlier version of a particular file from a share snapshot; Cloud tiering leaves the directory namespace visible locally but recalls cloud-stored file contents as needed; it is not data deletion; b is correctly mapped to Azure Backup for Azure Files; Azure Backup integrates backup scheduling and retention controls for supported Azure file shares; protection settings and vault selection matter.

C:

The A selection is incorrect for the need to retrieve an earlier version of a particular file from a share snapshot: Azure Files soft delete serves to recover a deleted Azure file share during the enabled retention window; File-share soft delete protects against accidental share deletion; it does not automatically restore overwritten individual files; for B, the selected Azure Backup for Azure Files achieves the stated result to apply a centrally managed backup policy and protected restore points to a file share; Azure Backup integrates backup scheduling and retention controls for supported Azure file shares; protection settings and vault selection matter.

D:

A calls for a different mechanism to retrieve an earlier version of a particular file from a share snapshot; Azure Backup for Azure Files instead supports the action to apply a centrally managed backup policy and protected restore points to a file share; Azure Backup integrates backup scheduling and retention controls for supported Azure file shares; protection settings and vault selection matter; for B, the proposed Share snapshot restore handles retrieve an earlier version of a particular file from a share snapshot, which is not the requested apply a centrally managed backup policy and protected restore points to a file share outcome; Snapshots preserve file states captured at their creation time; recovery requires choosing the appropriate snapshot and path.

Question 270

A regulated workload has explicit requirements for VM disk protection. Which of the listed choices would allow the operator to perform supported guest-level volume encryption using BitLocker or DM-Crypt?

  1. Server-side encryption with platform keys
  2. Azure Disk Encryption
  3. Disk Encryption Set with CMK
  4. Vertical VM resize

Explanation

Correct Answer

B:

Azure Disk Encryption addresses the request to perform supported guest-level volume encryption using BitLocker or DM-Crypt: Azure Disk Encryption integrates guest encryption technology and Key Vault; it is separate from automatic managed-disk server-side encryption.

Incorrect Answers

A:

Server-side encryption with platform keys would be used to rely on Azure managed-disk encryption at rest without guest encryption configuration; Managed disks are encrypted at rest by platform-managed keys by default; this happens below the guest operating system, but the question asks how to perform supported guest-level volume encryption using BitLocker or DM-Crypt.

C:

The request to perform supported guest-level volume encryption using BitLocker or DM-Crypt is not fulfilled by Disk Encryption Set with CMK; its intended role is to use a customer-managed key for Azure managed-disk server-side encryption: A Disk Encryption Set connects supported disks to a Key Vault or HSM key so the customer controls the server-side key lifecycle.

D:

Vertical VM resize is designed to increase per-instance CPU and memory by selecting a larger VM SKU, not to perform supported guest-level volume encryption using BitLocker or DM-Crypt in this case; Scaling up changes each instance's capacity and can require maintenance; it does not automatically create redundancy.

Microsoft Azure Administrator (AZ-104) Practice Tests