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

Question 590

A storage-connected application must choose a suitable path to a managed Azure service. A production change must allow specified networks or IP ranges to reach a service's authorized endpoint. What is the appropriate control or resource?

  1. Private endpoint target subresource
  2. Private DNS VNet link
  3. PaaS firewall rule
  4. Service endpoint

Explanation

Correct Answer

C:

To accomplish the specified task to allow specified networks or IP ranges to reach a service's authorized endpoint, use PaaS firewall rule; Service firewall rules limit connection sources to configured paths but do not provide client identity or private endpoint creation.

Incorrect Answers

A:

For the target required to allow specified networks or IP ranges to reach a service's authorized endpoint, Private endpoint target subresource is the wrong control: it is used to select the correct service subresource, such as blob or file, when creating a private link connection; The target subresource determines which part of a Private Link service the endpoint reaches; a blob subresource connection does not by itself cover a separate file endpoint.

B:

The proposed Private DNS VNet link addresses the separate function to make a private DNS zone resolvable from a selected virtual network; A VNet link enables DNS zone visibility for that network; links alone do not create service private endpoints, which does not meet the stated need to allow specified networks or IP ranges to reach a service's authorized endpoint.

D:

Service endpoint serves to secure a supported PaaS public endpoint to specific virtual-network subnets, whereas this case requires the action to allow specified networks or IP ranges to reach a service's authorized endpoint; Service endpoints extend subnet identity to a service and retain the service's public endpoint, unlike Private Link private IP access.

Question 591

A hybrid file services team needs shared file access with different constraints. Two operations are being approved together but applied separately. For task A the team must provide a managed network file share accessed over the SMB protocol; for task B it must capture a point-in-time read-only state of an Azure file share. Which configuration pair passes the review?

  1. Implement Azure Files share snapshot on the first target and Azure Files SMB share on the second.
  2. Implement Azure File Sync on the first target and Azure Files share snapshot on the second.
  3. Implement Azure File Sync on the first target and Azure Files NFS share on the second.
  4. Implement Azure Files SMB share on the first target and Azure Files share snapshot on the second.
  5. Implement Azure Files SMB share on the first target and Azure File Sync on the second.

Explanation

Correct Answer

D:

A is correctly mapped to Azure Files SMB share; SMB Azure file shares offer familiar file-system access; identity-based authorization and network prerequisites depend on the chosen configuration; the B choice, Azure Files share snapshot, fits the configured outcome; Share snapshots help recover earlier file contents and names; they do not replace all long-term backup or regional continuity planning.

Incorrect Answers

A:

A: Azure Files share snapshot is meant to capture a point-in-time read-only state of an Azure file share, not to provide a managed network file share accessed over the SMB protocol; Share snapshots help recover earlier file contents and names; they do not replace all long-term backup or regional continuity planning; the B mapping to Azure Files SMB share misses the required goal to capture a point-in-time read-only state of an Azure file share; SMB Azure file shares offer familiar file-system access; identity-based authorization and network prerequisites depend on the chosen configuration; it addresses provide a managed network file share accessed over the SMB protocol instead.

B:

At A, Azure File Sync is mismatched; File Sync lets servers maintain a local namespace and optional cloud tiering while Azure Files remains the cloud endpoint; the requested need is to provide a managed network file share accessed over the SMB protocol; the B choice, Azure Files share snapshot, fits the configured outcome; Share snapshots help recover earlier file contents and names; they do not replace all long-term backup or regional continuity planning.

C:

The A selection is incorrect for the need to provide a managed network file share accessed over the SMB protocol: Azure File Sync serves to cache and synchronize an Azure file share through Windows Server endpoints; File Sync lets servers maintain a local namespace and optional cloud tiering while Azure Files remains the cloud endpoint; the B mapping to Azure Files NFS share misses the required goal to capture a point-in-time read-only state of an Azure file share; NFS is appropriate for compatible Unix-style clients and has separate security and networking characteristics from SMB identity authentication; it addresses mount a supported premium Azure file share through the NFS protocol instead.

E:

For A, the selected Azure Files SMB share achieves the stated result to provide a managed network file share accessed over the SMB protocol; SMB Azure file shares offer familiar file-system access; identity-based authorization and network prerequisites depend on the chosen configuration; b: Azure File Sync is meant to cache and synchronize an Azure file share through Windows Server endpoints, not to capture a point-in-time read-only state of an Azure file share; File Sync lets servers maintain a local namespace and optional cloud tiering while Azure Files remains the cloud endpoint.

Question 592

An operations team is responding to shared-key credential exposure. A reviewer will approve only a method that can rotate one compromised account key after clients have switched to the alternate key. Which choice qualifies?

  1. Disable Shared Key authorization
  2. Regenerate a storage access key
  3. Blob snapshot
  4. Store a credential in Key Vault

Explanation

Correct Answer

B:

For the work item that must rotate one compromised account key after clients have switched to the alternate key, Regenerate a storage access key is appropriate: Regenerating a key invalidates signatures using the old value; coordinated client changes prevent avoidable outages.

Incorrect Answers

A:

The request to rotate one compromised account key after clients have switched to the alternate key is not fulfilled by Disable Shared Key authorization; its intended role is to require supported requests to use Microsoft Entra authorization instead of account keys: Disabling Shared Key authorization blocks requests authorized with account keys and affected key-signed SAS, subject to service-specific constraints.

C:

For the target required to rotate one compromised account key after clients have switched to the alternate key, Blob snapshot is the wrong control: it is used to capture a point-in-time read-only representation of a selected blob; A snapshot preserves a particular blob state when explicitly taken; it is not a schedule that automatically versions every change.

D:

The proposed Store a credential in Key Vault addresses the separate function to centralize controlled retrieval of a storage credential used by an application; Key Vault provides secret storage, access control and auditing; storing a key there does not narrow the permissions of the key itself, which does not meet the stated need to rotate one compromised account key after clients have switched to the alternate key.

Question 593

Administrators are selecting safeguards for critical shared resources. An administrator must distinguish two functions during deployment. Function A must protect resources that inherit a lock placed on their parent resource group; function B must allow an authorized administrator to intentionally remove a management lock before maintenance. Choose their correct respective features.

  1. First target: ReadOnly lock; second target: Lock removal with authorization.
  2. First target: Resource-group lock inheritance; second target: Lock removal with authorization.
  3. First target: CanNotDelete lock; second target: Lock removal with authorization.
  4. First target: Lock removal with authorization; second target: Resource-group lock inheritance.

Explanation

Correct Answer

B:

For A, the selected Resource-group lock inheritance achieves the stated result to protect resources that inherit a lock placed on their parent resource group; A lock assigned at resource-group scope is inherited by contained resources and can affect dependent management operations; the B choice, Lock removal with authorization, fits the configured outcome; Locks are governance safeguards, not immutable protections; principals with suitable Microsoft.Authorization/locks permissions can delete them.

Incorrect Answers

A:

A calls for a different mechanism to protect resources that inherit a lock placed on their parent resource group; ReadOnly lock instead supports the action to prevent management-plane changes as well as deletion on a locked resource; A ReadOnly lock blocks write and delete management operations; some read-like portal workflows also need blocked POST actions; the B choice, Lock removal with authorization, fits the configured outcome; Locks are governance safeguards, not immutable protections; principals with suitable Microsoft.Authorization/locks permissions can delete them.

C:

The A mapping to CanNotDelete lock misses the required goal to protect resources that inherit a lock placed on their parent resource group; A CanNotDelete lock blocks delete management operations in scope but generally allows modifications that do not require deletion; it addresses prevent accidental deletion while still permitting supported configuration writes instead; the B choice, Lock removal with authorization, fits the configured outcome; Locks are governance safeguards, not immutable protections; principals with suitable Microsoft.Authorization/locks permissions can delete them.

D:

A: Lock removal with authorization is meant to allow an authorized administrator to intentionally remove a management lock before maintenance, not to protect resources that inherit a lock placed on their parent resource group; Locks are governance safeguards, not immutable protections; principals with suitable Microsoft.Authorization/locks permissions can delete them; the B mapping to Resource-group lock inheritance misses the required goal to allow an authorized administrator to intentionally remove a management lock before maintenance; A lock assigned at resource-group scope is inherited by contained resources and can affect dependent management operations; it addresses protect resources that inherit a lock placed on their parent resource group instead.

Question 594

Security architects are choosing at-rest encryption boundaries for storage data. An operations ticket requires a solution to use platform-managed encryption keys for standard Storage Service Encryption. Select the relevant feature.

  1. Customer-provided encryption key
  2. Customer-managed encryption key
  3. Microsoft-managed encryption keys
  4. Lifecycle management rule

Explanation

Correct Answer

C:

For the work item that must use platform-managed encryption keys for standard Storage Service Encryption, Microsoft-managed encryption keys is appropriate: Azure Storage encrypts data at rest by default with Microsoft-managed keys; customers need not operate a key vault for this option.

Incorrect Answers

A:

Customer-provided encryption key serves to supply a key with supported blob requests for encryption of specific operations, whereas this case requires the action to use platform-managed encryption keys for standard Storage Service Encryption; Customer-provided keys are passed on appropriate requests and are not stored by the storage service for later retrieval.

B:

The request to use platform-managed encryption keys for standard Storage Service Encryption is not fulfilled by Customer-managed encryption key; its intended role is 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.

D:

For the target required to use platform-managed encryption keys for standard Storage Service Encryption, Lifecycle management rule is the wrong control: it 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.

Question 595

A compliance team wants an operational configuration to persist across VM instances. The deployment owner requests a capability to initialize supported Linux VMs at provisioning time using user data. What satisfies the requirement?

  1. Update Manager maintenance configuration
  2. Azure VM Image Builder
  3. Cloud-init
  4. Traffic routing to a slot

Explanation

Correct Answer

C:

The requested operation is to initialize supported Linux VMs at provisioning time using user data; Cloud-init provides this functionality: Cloud-init runs early boot configuration on supported Linux images and is not a reusable Azure Policy definition.

Incorrect Answers

A:

Update Manager maintenance configuration would be used to schedule recurring guest operating-system update installation for eligible Azure VMs; Azure Update Manager uses maintenance configurations for scheduled guest patching; Azure VMs require appropriate customer-managed patch orchestration settings and a supported maintenance window, but the question asks how to initialize supported Linux VMs at provisioning time using user data.

B:

Azure VM Image Builder serves to bake approved software and configuration into a reusable managed virtual-machine image before deployment, whereas this case requires the action to initialize supported Linux VMs at provisioning time using user data; VM Image Builder customizes a source image through a managed build, then distributes an image artifact; it is distinct from configuring a running VM through an extension.

D:

Traffic routing to a slot is designed to send a selected fraction of production traffic to a nonproduction deployment slot, not to initialize supported Linux VMs at provisioning time using user data in this case; Routing percentages enable controlled validation of a candidate release without a full production swap.

Question 596

An application owner is connecting a branded hostname to an Azure web app. Which of the listed choices would allow the operator to point an eligible apex or custom hostname directly to a web app's supported IP address?

  1. A DNS record
  2. App Service managed certificate
  3. TXT domain verification record
  4. Premium App Service plan

Explanation

Correct Answer

A:

To accomplish the specified task to point an eligible apex or custom hostname directly to a web app's supported IP address, use A DNS record; An A record resolves the hostname to an IPv4 address and may need additional verification records for App Service ownership validation.

Incorrect Answers

B:

App Service managed certificate serves to secure an eligible supported custom hostname using a platform-managed TLS certificate, whereas this case requires the action to point an eligible apex or custom hostname directly to a web app's supported IP address; Managed certificates can provide TLS for supported App Service custom domains with relevant restrictions; DNS mapping must also be correct.

C:

The request to point an eligible apex or custom hostname directly to a web app's supported IP address is not fulfilled by TXT domain verification record; its intended role is to prove control of a custom domain to App Service before binding it: The verification TXT record helps prevent domain takeover by proving ownership; it does not route HTTP requests itself.

D:

Premium App Service plan is designed to obtain higher performance and supported advanced App Service scaling capabilities, not to point an eligible apex or custom hostname directly to a web app's supported IP address in this case; Premium offers more compute and scaling options than Standard; supported features still depend on specific plan generation and region.

Question 597

A service is granting temporary storage access with the narrowest practical credential model. In a scheduled configuration update, the first service must issue a SAS for one storage service and optionally associate it with a stored access policy, while a different service must delegate operations across supported services or service-level operations from one token. Select the appropriate two-part plan.

  1. For A, configure User delegation SAS; for B, configure Account SAS.
  2. For A, configure Service SAS; for B, configure Account SAS.
  3. For A, configure Account SAS; for B, configure Service SAS.
  4. For A, configure Stored access policy; for B, configure Account SAS.

Explanation

Correct Answer

B:

The A choice, Service SAS, fits the configured outcome; A service SAS is signed using an account key and targets a service such as Blob or Files; a suitable stored policy can control revocation; at B, Account SAS is appropriate; An account SAS can span services and resource types and is signed with an account key; it is broader than a single-object service SAS.

Incorrect Answers

A:

For A, the proposed User delegation SAS handles issue a Blob Storage SAS signed using a Microsoft Entra user delegation key, which is not the requested issue a SAS for one storage service and optionally associate it with a stored access policy outcome; A user delegation SAS uses Entra-based authorization instead of an account key and is preferred for supported blob scenarios; at B, Account SAS is appropriate; An account SAS can span services and resource types and is signed with an account key; it is broader than a single-object service SAS.

C:

A: Account SAS is meant to delegate operations across supported services or service-level operations from one token, not to issue a SAS for one storage service and optionally associate it with a stored access policy; An account SAS can span services and resource types and is signed with an account key; it is broader than a single-object service SAS; the B selection is incorrect for the need to delegate operations across supported services or service-level operations from one token: Service SAS serves to issue a SAS for one storage service and optionally associate it with a stored access policy; A service SAS is signed using an account key and targets a service such as Blob or Files; a suitable stored policy can control revocation.

D:

At A, Stored access policy is mismatched; A stored access policy on a supported container or share can be modified or deleted to affect associated service SAS tokens; the requested need is to issue a SAS for one storage service and optionally associate it with a stored access policy; the B setting is right: Account SAS supplies the ability to delegate operations across supported services or service-level operations from one token; An account SAS can span services and resource types and is signed with an account key; it is broader than a single-object service SAS.

Question 598

The service desk is automating operating-system configuration after Azure VM deployment. At the same review, one workload is required to download and execute an initialization script through a supported Azure VM extension; another must coordinate a repeatable scheduled or triggered operational script across Azure resources. Which feature allocation is correct?

  1. A uses Custom Script Extension, whereas B uses VM extension management.
  2. A uses VM extension management, whereas B uses Run Command.
  3. A uses Run Command, whereas B uses Custom Script Extension.
  4. A uses Custom Script Extension, whereas B uses Azure Automation runbook.
  5. A uses Custom Script Extension, whereas B uses Run Command.
  6. A uses Azure Automation runbook, whereas B uses Custom Script Extension.

Explanation

Correct Answer

D:

A: Custom Script Extension meets the requirement to download and execute an initialization script through a supported Azure VM extension; Custom Script Extension runs a specified command or script under the guest extension framework and can apply configuration postdeployment; at B, Azure Automation runbook is appropriate; Automation runbooks execute process logic using configured identity and modules, beyond an individual VM's extension invocation.

Incorrect Answers

A:

A is correctly mapped to Custom Script Extension; Custom Script Extension runs a specified command or script under the guest extension framework and can apply configuration postdeployment; b: VM extension management is meant to install and update Azure VM agents or extension handlers for management tasks, not to coordinate a repeatable scheduled or triggered operational script across Azure resources; Extensions add guest management functionality such as monitoring or configuration; they are not a full infrastructure declaration language.

B:

For A, the proposed VM extension management handles install and update Azure VM agents or extension handlers for management tasks, which is not the requested download and execute an initialization script through a supported Azure VM extension outcome; Extensions add guest management functionality such as monitoring or configuration; they are not a full infrastructure declaration language; b: Run Command is meant to execute a diagnostic or remediation command inside an Azure VM through Azure control-plane tooling, not to coordinate a repeatable scheduled or triggered operational script across Azure resources; Run Command can run supported scripts without a direct inbound SSH or RDP connection, subject to guest agent and permissions.

C:

The A mapping to Run Command misses the required goal to download and execute an initialization script through a supported Azure VM extension; Run Command can run supported scripts without a direct inbound SSH or RDP connection, subject to guest agent and permissions; it addresses execute a diagnostic or remediation command inside an Azure VM through Azure control-plane tooling instead; at B, Custom Script Extension is mismatched; Custom Script Extension runs a specified command or script under the guest extension framework and can apply configuration postdeployment; the requested need is to coordinate a repeatable scheduled or triggered operational script across Azure resources.

E:

At A, Custom Script Extension is appropriate; Custom Script Extension runs a specified command or script under the guest extension framework and can apply configuration postdeployment; at B, Run Command is mismatched; Run Command can run supported scripts without a direct inbound SSH or RDP connection, subject to guest agent and permissions; the requested need is to coordinate a repeatable scheduled or triggered operational script across Azure resources.

F:

The A selection is incorrect for the need to download and execute an initialization script through a supported Azure VM extension: Azure Automation runbook serves to coordinate a repeatable scheduled or triggered operational script across Azure resources; Automation runbooks execute process logic using configured identity and modules, beyond an individual VM's extension invocation; at B, Custom Script Extension is mismatched; Custom Script Extension runs a specified command or script under the guest extension framework and can apply configuration postdeployment; the requested need is to coordinate a repeatable scheduled or triggered operational script across Azure resources.

Question 599

An enterprise wants predictable membership decisions for Microsoft Entra groups. During acceptance testing, the operator must collect devices automatically using their directory device attributes. Identify the appropriate Azure mechanism.

  1. Invite external user
  2. Dynamic user membership rule
  3. Assigned group membership
  4. Dynamic device membership rule

Explanation

Correct Answer

D:

The requested operation is to collect devices automatically using their directory device attributes; Dynamic device membership rule provides this functionality: A dynamic device group evaluates device records and their properties, not human user profile attributes; the membership result can be used for device-focused controls.

Incorrect Answers

A:

The proposed Invite external user addresses the separate function to start B2B collaboration for an external email address not yet represented as a guest; An invitation establishes the collaboration workflow and allows the invited user to redeem access to the resource tenant, which does not meet the stated need to collect devices automatically using their directory device attributes.

B:

Dynamic user membership rule would be used to automatically enroll users according to properties such as department; A dynamic user rule evaluates user attributes and updates eligible group membership when the attributes match; the rule applies to users rather than devices, but the question asks how to collect devices automatically using their directory device attributes.

C:

Assigned group membership serves to have administrators explicitly add and remove selected group members, whereas this case requires the action to collect devices automatically using their directory device attributes; Assigned membership follows deliberate membership operations and does not automatically evaluate user attributes to change membership.

Question 600

A continuity team is selecting a protection service and its management boundary. The architect wants a minimal set of mechanisms for distinct targets: (1) organize Azure VM backups and applicable disaster recovery protection workflows; (2) protect supported newer Azure Backup workloads using a dedicated Backup vault; (3) keep backup vault data replicated to another region according to supported redundancy settings. Select THREE matching controls.

  1. Backup vault
  2. Recovery Services vault
  3. Geo-redundant backup storage
  4. Azure Site Recovery

Explanation

Correct Answers

A:

For the target that must protect supported newer Azure Backup workloads using a dedicated Backup vault, Backup vault is a direct match because Backup vaults support particular workload types such as eligible disks or blobs, not every scenario handled by Recovery Services vaults, not a different configuration.

B:

Recovery Services vault is included because it can organize Azure VM backups and applicable disaster recovery protection workflows; A Recovery Services vault stores backup metadata and coordinates supported workload protection, with security and region constraints, which fits one of the stated operational goals.

C:

For the target that must keep backup vault data replicated to another region according to supported redundancy settings, Geo-redundant backup storage is a direct match because Geo-redundancy increases backup-data geographic resilience but is not the same as enabling live VM replication or executing failover, not a different configuration.

Incorrect Answers

D:

Azure Site Recovery would instead replicate and orchestrate failover of supported VMs or servers to a recovery location; Site Recovery is disaster recovery replication and orchestration; it is distinct from long-term scheduled backup retention, which is unrelated to the listed objectives for this item.

Microsoft Azure Administrator (AZ-104) Practice Tests