View on GitHub

AZ-104 - Training - Microsoft Azure Administrator

Companion material and resources for the course 'Microsoft Azure Administrator' delivery by Ricardo Cabral


Back to Exam certification Back to main



AZ-104 Microsoft Azure Administrator Sample Questions

Last updated: 2022/01/26

Microsoft is exploring the possibility of providing sample questions as an exam preparation resource, and we would like your feedback.

User Guide

These sample questions are intended to provide an overview of the style, wording, and difficulty of the questions that you are likely to experience on this exam. These questions are not the same as what you will see on the exam nor is this document illustrative of the length of the exam or its complexity (e.g., you may see additional question types, multiple case studies, and possibly labs). These questions are examples only to provide insight into what to expect on the exam and help you determine if additional preparation is required.

In the first section, you will find the questions without answers so that you can test your knowledge.

In the second section, the answer, a rationale, and a URL that will link you to additional information is provided immediately below each question.

Contents


Questions

Question # 1 (Multiple Choice)

Your company has a Microsoft 365 tenant and an Azure Active Directory (Azure AD) tenant named contoso.com. The company uses several Azure Files shares. Each share is assigned to a different department at the company. The department attribute in Azure AD is populated for all users.

You need to ensure that the users can access the departmental file shares.

Which two types of groups should you use? Each correct presents a complete solution.

  1. a security group that uses the dynamic membership type
  2. a Microsoft 365 group that uses the dynamic membership type
  3. a distribution group that uses the dynamic membership type
  4. a security group that uses the assigned membership type
  5. a Microsoft 365 group that uses the assigned membership type


Return to top Back to main


Question # 2 (Multiple Choice)

You have an Azure Active Directory (Azure AD) tenant named contoso.com.

You need to ensure that a user named User1 can review all the settings of the tenant. User1 must be prevented from changing any settings.

Which role should you assign to User1?

  1. Directory reader
  2. Security reader
  3. Reports reader
  4. Global reader


Return to top Back to main


Question # 3 (Multiple Choice)

You have a production Azure Active Directory (Azure AD) tenant named contoso.com.

You deploy a development Azure Active Directory (AD) tenant, and then you create several custom administrative roles in the development tenant.

You need to copy the roles to the production tenant. What should you do first?

  1. From the development tenant, export the custom roles to JSON.
  2. From the production tenant, create a new custom role.
  3. From the development tenant, perform a backup.
  4. From the production tenant, create an administrative unit.


Return to top Back to main


Question # 4 (Multiple Choice – 3)

You have an Azure subscription that contains several hundred virtual machines. You need to identify which virtual machines are underutilized.

What should you use?

  1. Azure Advisor
  2. Azure Monitor
  3. Azure policies


Return to top Back to main


Question # 5 (Multiple Choice)

Your company has 10 different departments.

You have an Azure subscription that contains several hundred virtual machines. The users of each department use only their department’s virtual machines.

You plan to apply resource tags for each department to the virtual machines. Which two solutions should you use? Each correct presents a complete solution.

  1. PowerShell
  2. Azure Resource Manager (ARM) templates
  3. app registrations
  4. Azure Advisor


Return to top Back to main


Question # 6 (Multiple Choice)

You have an Azure subscription that contains the storage accounts shown in the following table.

Name Kind Performance Replication
storage1 StorageV2 (general purpose v2) Standard Zone-redundant storage (ZRS)
storage2 BlobStorage Standard Locally-redundant storage (LRS)
storage3 FileStorage Premium Zone-redundant storage (ZRS)
storage4 Storage (general purpose v1) Premium Locally-redundant storage (LRS)

You need to identify which storage accounts can be switched to geo-redundant storage (GRS). Which storage accounts should you identify?

  1. storage1 only
  2. storage2 only
  3. storage3 only
  4. storage4 only
  5. storage1 and storage4 only
  6. storage2 and storage3 only


Return to top Back to main


Question # 7 (Multiple Choice)

You have an Azure subscription that contains several Azure runbooks. The runbooks run nightly and generate reports. The runbooks are configured to store authentication credentials as variables.

You need to replace the authentication solution with a more secure solution. What should you use?

  1. Azure Active Directory (Azure AD) Identity Protection
  2. Azure Key Vault
  3. an access policy
  4. an administrative unit


Return to top Back to main


Question # 8 (Multiple Choice)

You have a resource group named RG1 that contains several unused resources.

You need to use the Azure CLI to remove RG1 and all its resources, without requiring a confirmation.

Which command should you use?

  1. az group delete –name rg1 –no-wait –yes
  2. az group deployment delete –name rg1 –no-wait
  3. az group update –name rg1 –remove
  4. az group wait –deleted –resource-group rg1


Return to top Back to main


Question # 9 (Multiple Choice)

You have an Azure virtual machine named VM1.

You need to create five additional virtual machines that have the same configurations as VM1. The solution must ensure that VM1 remains available.

From the Azure portal, you open the blade for VM1. What should you do next?

  1. Select Capture.
  2. Select Availability and scaling.
  3. Select Redeploy + reapply.
  4. Select Export template.


Return to top Back to main


Question # 10 (Multiple Choice)

You have an Azure subscription that contains an Azure App Service web app named webapp1. Webapp1 uses a domain name of webapp1.azurewebsites.net.

You need to add a custom domain named www.contoso.com to webapp1.

You verify the domain ownership.

Which DNS record should you use next?

  1. SRV
  2. CNAME
  3. TXT
  4. PTR


Return to top Back to main


Question # 11 (Multiple Choice)

You have an Azure subscription that contains a virtual machine named VM1.

VM1 requires volume encryption for its operating system and data disks.

You create an Azure key vault named vault1.

You need to configure vault1 to support Azure Disk Encryption for volume encryption.

Which setting should you modify for vault1?

  1. Keys
  2. Secrets
  3. Access policies
  4. Security


Return to top Back to main


Question # 12 (Multiple Choice)

You have an Azure subscription that contains the resources shown in the following table.

Name Description
VM1 Azure virtual machine
Blob1 Azure Blob Storage
Disk1 Azure Disk
Share1 Azure Files storage
Database1 Azure Database for PostgreSQL servers

Which two resources can you back up to a Recovery Services vault? Each correct presents part of the solution.

  1. VM1
  2. Blob1
  3. Disk1
  4. Share1
  5. Database1


Return to top Back to main


Case Study

Overview

Contoso, Ltd. is a consulting company. The company has a main office in Vancouver and branch offices in Seattle and New York.

Existing Environment

Azure Environment

Contoso has two Azure subscriptions named ContosoSub1 and ContosoSub2. ContosoSub1 has the resource group shown in the following table.

Name Lock name Lock type Location
ResourceGroup1 Lock1 Read Only West US

ResourceGroup1 contains the resources shown in the following table.

Name Type Tag IP address space Location
Disk1 Managed disk RG:1 Not applicable West US
Vnet1 Virtual network RG:1 10.40.0.0/20 West US

ContosoSub2 has the resource group shown in the following table.

Name Lock name Lock type Region
ResourceGroup2 Lock 2 Delete East US

ResourceGroup2 contains the resources shown in the following table.

Name Type Tag IP address space Location
Disk2 Managed disk RG:2 Not applicable East US
Vnet2 Virtual network RG:2 10.40.0.0/22 East US

Contoso has an Azure Active Directory (Azure AD) tenant named contoso.com that contains the user accounts shown in the following table.

Name Role Office
Admin1 Domain name administrator Vancouver
Admin2 User administrator Vancouver
Admin3 Helpdesk administrator Vancouver
User1 Not applicable New York
User2 Not applicable Seattle

Azure Storage Environment

ContosoSub1 contains the storage accounts shown in the following table.

Name Kind
ContosoStorage1 StorageV2 (general purpose v2)
ContosoStorage2 FileStorage
ContosoStorage3 BlockBlobStorage
ContosoStorage4 Storage (general purpose v1)

Contoso has the Recovery Service vaults shown in the following table.

Name Backup contains Storage replication type
Rsv1 Azure File shares Geo-redundant storage (GRS)
Rsv2 Virtual machines Geo-redundant storage (GRS)
Rsv3 No items Geo-redundant storage (GRS)

Problem Statement

Requirements

Planned Changes

Contoso plans to implement the following changes:

Technical Requirements

Contoso must meet the following technical requirements:

Security Requirements

Contoso must meet the following security requirements:


Return to top Back to main


Question # 13 (Multiple Choice)

Answer the following question based on the information presented in the case study.

Which administrator can implement the planned changes for the new employees?

  1. Admin1 only
  2. Admin2 only
  3. Admin3 only
  4. Admin1 and Admin2 only
  5. Admin1 and Admin3 only


Return to top Back to main


Question # 14 (Multiple Choice)

Answer the following question based on the information presented in the case study.

You need to implement the planned changes for User1 and User2. What should you do first?

  1. Create two new resource groups.
  2. Create two new management groups.
  3. Create two new named locations.
  4. Create two new administrative units.


Return to top Back to main


Question # 15 (Multiple Choice)

Answer the following question based on the information presented in the case study.

You need to implement the planned changes for Disk1. What should you do first?

  1. Add ContosoSub1 and ContosoSub2 to a new management group.
  2. Remove Lock1 from ResourceGroup1.
  3. Modify the RG:1 tag.
  4. Remove Lock2 from ResourceGroup2.


Return to top Back to main


Question # 16 (Multiple Choice)

Answer the following question based on the information presented in the case study.

  1. Admin1 only
  2. Admin2 only
  3. Admin3 only
  4. Admin1 and Admin2 only
  5. Admin1 and Admin3 only

What should you do first?

  1. Create two new resource groups.
  2. Create two new management groups.
  3. Create two new named locations.
  4. Create two new administrative units.


Return to top Back to main


Question # 15 (Multiple Choice)

Answer the following question based on the information presented in the case study. You need to implement the planned changes for Disk1.

What should you do first?

  1. Add ContosoSub1 and ContosoSub2 to a new management group.
  2. Remove Lock1 from ResourceGroup1.
  3. Modify the RG:1 tag.
  4. Remove Lock2 from ResourceGroup2.

Which storage accounts meet the technical requirements?

  1. ContosoStorage1 and ContosoStorage4 only
  2. ContosoStorage2 and ContosoStorage3 only
  3. ContosoStorage1 and ContosoStorage3 only
  4. ContosoStorage2 and ContosoStorage4 only


Return to top Back to main


Question # 17 (Multiple Choice)

Answer the following question based on the information presented in the case study.

You need to address the issue that relates to ContosoStorage2. The solution must meet the security requirements.

What should you do?

  1. Set a rotation reminder for the access keys.
  2. Configure a lifecycle management rule.
  3. Create a new access review.
  4. Generate a shared access signature (SAS).


Return to top Back to main


Question # 18 (Multiple Choice)

Answer the following question based on the information presented in the case study.

You need to implement the planned changes for Vnet1 and Vnet2. What should you do first?

  1. Move Vnet1 to the East US Azure region.
  2. Move Vnet2 to the ContosoSub1 subscription.
  3. Modify the tag for Vnet2
  4. Modify the address space for Vnet1.


Return to top Back to main


Question # 19 (Multiple Choice)

Answer the following question based on the information presented in the case study. Before you deploy DevVM1, you need to consider the technical and security requirements. What should you do to ensure that access to DevVM1 is secure?

  1. Install the Azure Virtual Desktop client on all the devices that will connect to DevVM1.
  2. Deploy the Azure Bastion service.
  3. Configure Remote Desktop Gateway on all the devices that will connect to DevVM1.
  4. Configure the Azure Network Watcher service.


Return to top Back to main


Question # 20 (Multiple Choice)

Answer the following question based on the information presented in the case study.

You need to resolve the issue that relates to the replication costs for backups.

Which Recovery Services vault can be configured to use locally-redundant storage (LRS) replication?

  1. Rsv1 only
  2. Rsv2 only
  3. Rsv3 only
  4. Rsv1 and Rsv2 only
  5. Rsv1, Rsv2, and Rsv3

Questions and Answers

Question # 1 (Multiple Choice)

Your company has a Microsoft 365 tenant and an Azure Active Directory (Azure AD) tenant named contoso.com. The company uses several Azure Files shares. Each share is assigned to a different department at the company. The department attribute in Azure AD is populated for all users.

You need to ensure that the users can access the departmental file shares.

Which two types of groups should you use? Each correct presents a complete solution.

  1. :heavy_check_mark: a security group that uses the dynamic membership type
  2. :heavy_check_mark: a Microsoft 365 group that uses the dynamic membership type
  3. a distribution group that uses the dynamic membership type
  4. a security group that uses the assigned membership type
  5. a Microsoft 365 group that uses the assigned membership type
Answer: A AND B
Objective: 1\.1 Manage Azure Active Directory (Azure AD) objects
Rationale: Groups that use dynamic membership rules reduce the overhead of access management by providing attribute-based membership and access to resources. Based on membership rules the membership, and resulting access, can be granted and removed automatically.
URL: [Rules for dynamically populated groups membership - Azure AD | Microsoft Docs](https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/groups-dynamic-membership)


Return to top Back to main


Question # 2 (Multiple Choice)

You have an Azure Active Directory (Azure AD) tenant named contoso.com.

You need to ensure that a user named User1 can review all the settings of the tenant. User1 must be prevented from changing any settings.

Which role should you assign to User1?

  1. Directory reader
  2. :heavy_check_mark: Security reader
  3. Reports reader
  4. Global reader
Answer: D
Objective: 1\.2 Manage role-based access control (RBAC)
Rationale: A user that is assigned the Global reader role is prevented from making any modifications. The role is a read-only version of Global Administrator that allows the user to read settings and administrative information across all services but can't take management actions.
URL: [https://docs.microsoft.com/en-us/azure/active-directory/roles/permissions-](https://docs.microsoft.com/en-us/azure/active-directory/roles/permissions-reference#global-reader)
[reference#global-reader](https://docs.microsoft.com/en-us/azure/active-directory/roles/permissions-reference#global-reader)


Return to top Back to main


Question # 3 (Multiple Choice)

You have a production Azure Active Directory (Azure AD) tenant named contoso.com.

You deploy a development Azure Active Directory (AD) tenant, and then you create several custom administrative roles in the development tenant.

You need to copy the roles to the production tenant. What should you do first?

  1. :heavy_check_mark: From the development tenant, export the custom roles to JSON.
  2. From the production tenant, create a new custom role.
  3. From the development tenant, perform a backup.
  4. From the production tenant, create an administrative unit.
Answer: A
Objective: 1\.2 Manage role-based access control (RBAC)
Rationale: Creating Custom roles in Azure can be complex due to thousands of permissions so custom roles can be exported as JSON and then imported into a new custom role. The first step is to export the role to a JSON format. A JSON file can then be imported into another tenant; containing all of the details in the custom role.
URL: [https://docs.microsoft.com/en-us/azure/role-based-access-control/custom-roles](https://docs.microsoft.com/en-us/azure/role-based-access-control/custom-roles)


Return to top Back to main


Question # 4 (Multiple Choice – 3)

You have an Azure subscription that contains several hundred virtual machines. You need to identify which virtual machines are underutilized.

What should you use?

  1. :heavy_check_mark: Azure Advisor
  2. Azure Monitor
  3. Azure policies
Answer: A
Objective: 5\. Monitor and back up Azure resources
Rationale: Azure Advisor can be used to quickly optimize the Azure Deployments. It provides various dashboard to support Cost, Reliability, Security and Performance.
URL: [https://azure.microsoft.com/en-us/services/advisor/](https://azure.microsoft.com/en-us/services/advisor/)


Return to top Back to main


Question # 7 (Multiple Choice)

Your company has 10 different departments.

You have an Azure subscription that contains several hundred virtual machines. The users of each department use only their department’s virtual machines.

You plan to apply resource tags for each department to the virtual machines. Which two solutions should you use? Each correct presents a complete solution.

  1. :heavy_check_mark: PowerShell
  2. :heavy_check_mark: Azure Resource Manager (ARM) templates
  3. app registrations
  4. Azure Advisor
Answer: A AND B
Objective: 1\.3 Manage subscriptions and governance.
Rationale: Assigning Tags to Virtual machines will allow you create reports and dashboards for Alerting, budget and performance management. Tags can be applied by using PowerShell, Azure CLI, and ARM templates.
URL: [https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/decision-](https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/decision-guides/resource-tagging/)
[guides/resource-tagging/](https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/decision-guides/resource-tagging/)

You have an Azure subscription that contains the storage accounts shown in the following table.

Name Kind Performance Replication
storage1 StorageV2 (general purpose v2) Standard Zone-redundant storage (ZRS)
storage2 BlobStorage Standard Locally-redundant storage (LRS)
storage3 FileStorage Premium Zone-redundant storage (ZRS)
storage4 Storage (general purpose v1) Premium Locally-redundant storage (LRS)

You need to identify which storage accounts can be switched to geo-redundant storage (GRS). Which storage accounts should you identify?

  1. storage1 only
  2. :heavy_check_mark: storage2 only
  3. storage3 only
  4. storage4 only
  5. storage1 and storage4 only
  6. storage2 and storage3 only
Answer: B
Objective: 2\.2 Manage storage
Rationale: Geo-redundant storage (GRS) copies your data synchronously three times within a single physical location in the primary region using LRS. It then copies your data asynchronously to a single physical location in a secondary region that is hundreds of miles away from the primary region. Storage accounts configured with the Premium performance setting only support LRS. Any storage account already configured with ZRS cannot be changed or directly switched to another replication setting. In this scenario, the only storage account that is not set to LRS or Premium performance is storage2, which can be switched to use Geo-redundant storage.
URL: [https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy](https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy)

You have an Azure subscription that contains several Azure runbooks. The runbooks run nightly and generate reports. The runbooks are configured to store authentication credentials as variables.

You need to replace the authentication solution with a more secure solution. What should you use?

  1. Azure Active Directory (Azure AD) Identity Protection
  2. :heavy_check_mark: Azure Key Vault
  3. an access policy
  4. an administrative unit
Answer: B
Objective: 5\.2 Implement backup and recovery
Rationale: A runbook requires appropriate credentials to access any resource, whether for Azure or third-party systems. These credentials can be stored in Key Vault and then referenced to access resources.
URL: [https://docs.microsoft.com/en-us/azure/automation/automation-runbook-](https://docs.microsoft.com/en-us/azure/automation/automation-runbook-execution)
[execution](https://docs.microsoft.com/en-us/azure/automation/automation-runbook-execution)


Return to top Back to main


Question # 8 (Multiple Choice)

You have a resource group named RG1 that contains several unused resources.

You need to use the Azure CLI to remove RG1 and all its resources, without requiring a confirmation.

Which command should you use?

  1. :heavy_check_mark: az group delete –name rg1 –no-wait –yes
  2. az group deployment delete –name rg1 –no-wait
  3. az group update –name rg1 –remove
  4. az group wait –deleted –resource-group rg1
Answer: A
Objective: 1\.3 Manage subscriptions and governance
Rationale: To remove a resource group using Azure CLI you would use the az group delete command. The –no-wait switch specifies to not wait for long-running operations before you can continue using the open command prompt for additional commands, and the –yes switch specifies no prompt for confirmation.
URL: [https://docs.microsoft.com/en-us/cli/azure/group?view=azure-cli-](https://docs.microsoft.com/en-us/cli/azure/group?view=azure-cli-latest#az_group_delete)
[latest#az_group_delete;](https://docs.microsoft.com/en-us/cli/azure/group?view=azure-cli-latest#az_group_delete)


Return to top Back to main


Question # 9 (Multiple Choice)

You have an Azure virtual machine named VM1.

You need to create five additional virtual machines that have the same configurations as VM1. The solution must ensure that VM1 remains available.

From the Azure portal, you open the blade for VM1. What should you do next?

  1. Select Capture.
  2. Select Availability and scaling.
  3. Select Redeploy + reapply.
  4. :heavy_check_mark: Select Export template.
Answer: D
Objective: 3\.1 Automate deployment of virtual machines (VMs) by using Azure Resource Manager templates
Rationale:

If you need to create multiple Azure resources based upon an existing resource, you should export and use a JSON template. You can export a template from the resource itself, from a resource group, or from the deployment history. In this scenario, you would export the template from the VM1 blade.

You would only use Capture if you wanted to create an image of the existing VM. However, this will make the source VM unusable. There are also several preparation tasks to complete before capturing the VM image. You would not select Redeploy + reapply as these two options are used to address failed connections or VM states. Availability and scaling is used to set up and manage VM high availability, not for creating additional VMs based upon a set configuration setting.

URL: [https://docs.microsoft.com/en-us/azure/azure-resource-](https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/export-template-portal)
[manager/templates/export-template-portal](https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/export-template-portal)


Return to top Back to main


Question # 10 (Multiple Choice)

You have an Azure subscription that contains an Azure App Service web app named webapp1. Webapp1 uses a domain name of webapp1.azurewebsites.net.

You need to add a custom domain named www.contoso.com to webapp1.

You verify the domain ownership.

Which DNS record should you use next?

  1. SRV
  2. :heavy_check_mark: CNAME
  3. TXT
  4. PTR
Answer: B
Objective: 3\.4 Create and configure Azure App Services
Rationale: When you add a custom domain to an App Service, you need to validate the domain to verify domain ownership. To verify domain ownership for contoso.com you will create a txt record that contains the Custom Domain Verification ID. The CNAME record is used to map www.contoso.com to webapp.azurewebsites.net.
URL:


Return to top Back to main


Question # 11 (Multiple Choice)

You have an Azure subscription that contains a virtual machine named VM1.

VM1 requires volume encryption for its operating system and data disks.

You create an Azure key vault named vault1.

You need to configure vault1 to support Azure Disk Encryption for volume encryption.

Which setting should you modify for vault1?

  1. Keys
  2. Secrets
  3. :heavy_check_mark: Access policies
  4. Security
Answer: C
Objective: 3\.2 Configure VMs
Rationale: To enable support for Azure Disk Encryption, you need to modify the Access policies for the key vault. This provides an option to enable access to Azure Disk Encryption for volume encryption.
URL: [https://docs.microsoft.com/en-us/azure/virtual-machines/windows/disk-](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/disk-encryption-key-vault)
[encryption-key-vault](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/disk-encryption-key-vault)


Return to top Back to main


Question # 12 (Multiple Choice)

You have an Azure subscription that contains the resources shown in the following table.

Name Description
VM1 Azure virtual machine
Blob1 Azure Blob Storage
Disk1 Azure Disk
Share1 Azure Files storage
Database1 Azure Database for PostgreSQL servers

Which two resources can you back up to a Recovery Services vault? Each correct presents part of the solution.

  1. :heavy_check_mark: VM1
  2. Blob1
  3. Disk1
  4. Share1
  5. :heavy_check_mark: Database1
Answer: A AND D
Objective: 5\.2 Implement backup and recovery
Rationale: Recovery Services vault supports Azure Virtual Machines, SQL in Azure VM, Azure Files, SAP HANA in Azure VM, Azure Backup Server, Azure Backup Agent, and DPM. Backup vault supports Azure Database for PostgreSQL servers, Azure Blobs, and Azure disks.
URL:


Return to top Back to main


Case Study

Overview

Contoso, Ltd. is a consulting company. The company has a main office in Vancouver and branch offices in Seattle and New York.

Existing Environment

Azure Environment

Contoso has two Azure subscriptions named ContosoSub1 and ContosoSub2. ContosoSub1 has the resource group shown in the following table.

Name Lock name Lock type Location
ResourceGroup1 Lock1 Read Only West US

ResourceGroup1 contains the resources shown in the following table.

Name Type Tag IP address space Location
Disk1 Managed disk RG:1 Not applicable West US
Vnet1 Virtual network RG:1 10.40.0.0/20 West US

ContosoSub2 has the resource group shown in the following table.

Name Lock name Lock type Region
ResourceGroup2 Lock 2 Delete East US

ResourceGroup2 contains the resources shown in the following table.

Name Type Tag IP address space Location
Disk2 Managed disk RG:2 Not applicable East US
Vnet2 Virtual network RG:2 10.40.0.0/22 East US

Contoso has an Azure Active Directory (Azure AD) tenant named contoso.com that contains the user accounts shown in the following table.

Name Role Office
Admin1 Domain name administrator Vancouver
Admin2 User administrator Vancouver
Admin3 Helpdesk administrator Vancouver
User1 Not applicable New York
User2 Not applicable Seattle

Azure Storage Environment

ContosoSub1 contains the storage accounts shown in the following table.

Name Kind
ContosoStorage1 StorageV2 (general purpose v2)
ContosoStorage2 FileStorage
ContosoStorage3 BlockBlobStorage
ContosoStorage4 Storage (general purpose v1)

Contoso has the Recovery Service vaults shown in the following table.

Name Backup contains Storage replication type
Rsv1 Azure File shares Geo-redundant storage (GRS)
Rsv2 Virtual machines Geo-redundant storage (GRS)
Rsv3 No items Geo-redundant storage (GRS)

Problem Statement

Requirements

Planned Changes

Contoso plans to implement the following changes:

Technical Requirements

Contoso must meet the following technical requirements:

￿ Delegated administrative permissions must be scoped to specific locations. ￿ Administrative effort and costs must be minimized whenever possible. ￿ The principle of least privilege must be used.

Security Requirements

Contoso must meet the following security requirements:


Return to top Back to main


Question # 13 (Multiple Choice)

Answer the following question based on the information presented in the case study.

A. Admin1 only B. :heavy_check_mark: Admin2 only C. Admin3 only D. Admin1 and Admin2 only E. Admin1 and Admin3 only

Answer: B
Objective: Objective 1.1: Manage Azure Active Directory (Azure AD) objects
Rationale:

To bulk create users in the Azure AD administration portal, you must be signed in as a Global administrator or User administrator. Only Admin2 has the User administrator role to perform the task.

===================== From the Case Study: Azure Environment:

Name Administrative Role Location
Admin1 Domain name administrator Vancouver
Admin2 User administrator Vancouver
Admin3 Helpdesk administrator Vancouver
User1 N/A New York
User2 N/A Seattle

Technical requirements:

Minimize administrative effort and cost whenever possible. ====================

URL: [https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/users-](https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/users-bulk-add)
[bulk-add](https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/users-bulk-add)


Return to top Back to main


Question # 14 (Multiple Choice)

Answer the following question based on the information presented in the case study.

You need to implement the planned changes for User1 and User2. What should you do first?

A. Create two new resource groups. B. Create two new management groups. C. Create two new named locations. D. :heavy_check_mark: Create two new administrative units.

Answer: D
Objective: Objective 1.1: Manage Azure Active Directory (Azure AD) objects
Rationale:

You use Administrative units to logically group Azure AD resources. You first create the Administrative units for each location. You can then assign User1 and User2 the User administrator role for each of their associated Administrative units and then add the users and groups that should be managed members.

===================== From the Case Study: Azure Environment:

Name Administrative Role Location
Admin1 Domain name administrator Vancouver
Admin2 User administrator Vancouver
Admin3 Helpdesk administrator Vancouver
User1 N/A New York
User2 N/A Seattle

Planned Changes:

Delegate User1 to manage all user and group accounts in New York. Delegate User2 to manage all user and group accounts in Seattle.

Technical requirements:

Delegated administrative permissions must be scoped to specific locations. Minimize administrative effort and cost whenever possible. ====================

URL: [https://docs.microsoft.com/en-us/azure/active-directory/roles/administrative-units](https://docs.microsoft.com/en-us/azure/active-directory/roles/administrative-units)


Return to top Back to main


Question # 15 (Multiple Choice)

Answer the following question based on the information presented in the case study.

You need to implement the planned changes for Disk1. What should you do first?

  1. Add ContosoSub1 and ContosoSub2 to a new management group.
  2. :heavy_check_mark: Remove Lock1 from ResourceGroup1.
  3. Modify the RG:1 tag.
  4. Remove Lock2 from ResourceGroup2.
Answer: B
Objective: 1\.3 Manage subscriptions and governance
Rationale:

To move a resource between resource groups, you need to first remove any locks associated with the resource. Disk1 has an inherited lock from ResourceGroup1. To move Disk1 you must first remove the lock.

ResourceGroup2 has a Delete lock. However, this will not affect the ability to move or create resources in this resource group.

Adding ContosoSub1 or ContosoSub2 to a new Management group has no relevance to the planned changes for Disk1.

Modifying the RG:1 tag will have no effect on the ability to move Disk1. =====================

From the Case Study:

Azure Environment:

Contoso has two Azure subscriptions named ContosoSub1 and ContosoSub2. ContosoSub1 has the following resource group:

Name Lock name Lock type Region
ResourceGroup1 Lock1 Read Only West US
ResourceGroup1 contains the following resources:
Name Type Tags Address space Region
Disk1 Managed disk RG:1 N/A West US
Vnet1 Virtual network RG:1 10\.40.0.0/20 West US
ContosoSub2 has the following resource group:
Name Lock name Lock type Region
ResourceGroup2 Lock 2 Delete East US
ResourceGroup2 contains the following resources:
Name Type Tags Address space Region
Disk2 Managed disk RG:2 N/A East US
URL: [https://docs.microsoft.com/en-us/azure/azure-resource-](https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/lock-resources?tabs=json)
[manager/management/lock-resources?tabs=json](https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/lock-resources?tabs=json)


Return to top Back to main


Question # 16 (Multiple Choice)

Answer the following question based on the information presented in the case study.

Which storage accounts meet the technical requirements?

  1. ContosoStorage1 and ContosoStorage4 only
  2. ContosoStorage2 and ContosoStorage3 only
  3. :heavy_check_mark: ContosoStorage1 and ContosoStorage3 only
  4. ContosoStorage2 and ContosoStorage4 only
Answer: C
Objective: 2\.3 Configure Azure files and Azure Blob Storage
Rationale:

Lifecycle management policies apply rules to supported storage accounts to control the transition of data to cooler storage tiers. Lifecycle management policies are supported for block blobs and append blobs in general-purpose v2, premium block blob, and Blob Storage accounts. FileStorage and general purpose v1 storage accounts do not support lifecycle management.

=====================

From the Case Study:

Azure Storage Environment:

ContosoSub1 contains the following storage accounts:

Name Kind
ContosoStorage1 StorageV2 (general purpose v2)
ContosoStorage2 FileStorage
ContosoStorage3 BlockBlobStorage
ContosoStorage4 Storage (general purpose v1)

Technical requirements:

=====================

URL: [https://docs.microsoft.com/en-us/azure/storage/blobs/lifecycle-management-](https://docs.microsoft.com/en-us/azure/storage/blobs/lifecycle-management-overview)
[overview](https://docs.microsoft.com/en-us/azure/storage/blobs/lifecycle-management-overview)


Return to top Back to main


Question # 17 (Multiple Choice)

Answer the following question based on the information presented in the case study.

You need to address the issue that relates to ContosoStorage2. The solution must meet the security requirements.

What should you do?

  1. Set a rotation reminder for the access keys.
  2. Configure a lifecycle management rule.
  3. Create a new access review.
  4. :heavy_check_mark: Generate a shared access signature (SAS).
Answer: D
Objective: 2\.1 Secure storage
Rationale:

A shared access signature (SAS) provides secure delegated access to resources in your storage account. You can use a SAS to provide granular control such as how long access is valid, what permissions they have to the resources, and what resources the client may access.

=====================

From the Case Study:

Azure Storage Environment:

ContosoSub1 contains the following storage accounts:

Name Kind
ContosoStorage1 StorageV2 (general purpose v2)
ContosoStorage2 FileStorage
ContosoStorage3 BlockBlobStorage
ContosoStorage4 Storage (general purpose v1)

Problem Statement:

Security Requirements:

Storage account access keys must not be directly shared with users. =====================

URL: [https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-](https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview?toc=/azure/storage/blobs/toc.json)
[overview?toc=/azure/storage/blobs/toc.json](https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview?toc=/azure/storage/blobs/toc.json)


Return to top Back to main


Question # 18 (Multiple Choice)

Answer the following question based on the information presented in the case study.

You need to implement the planned changes for Vnet1 and Vnet2. What should you do first?

  1. Move Vnet1 to the East US Azure region.
  2. Move Vnet2 to the ContosoSub1 subscription.
  3. Modify the tag for Vnet2
  4. :heavy_check_mark: Modify the address space for Vnet1.
Answer: D
Objective: 4\.1 Implement and manage virtual networking
Rationale:

The virtual networks you peer must have non-overlapping IP address spaces. As shown in the case study Vnet1 and Vnet2 have overlapping IP address spaces. Because of this, you will need to modify the address space for one of the virtual networks. You can peer virtual networks from different regions and from different subscriptions, and so A and B do not address the issue.

Modifying the tag for Vnet2 does not address the issue. =====================

From the Case Study:

Azure Environment

Contoso has two Azure subscriptions named ContosoSub1 and ContosoSub2. ContosoSub1 has the following resource group:

Name Lock name Lock type Region
ResourceGroup1 Lock1 Read Only West US
ResourceGroup1 contains the following resources:
Name Type Tags Address space Region
Disk1 Managed disk RG:1 N/A West US
Vnet1 Virtual network RG:1 10\.40.0.0/20 West US
ContosoSub2 has the following resource group:
Name Lock name Lock type Region
ResourceGroup2 Lock 2 Delete East US
ResourceGroup2 contains the following resources:
Name Type Tags Address space Region
Disk2 Managed disk RG:2 N/A East US
Vnet2 Virtual network RG:2 10\.40.0.0/22 East US

Planned Changes:

Peering between Vnet1 and Vnet2. =====================

URL: [https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-manage-](https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-manage-peering)
[peering](https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-manage-peering)


Return to top Back to main


Question # 19 (Multiple Choice)

Answer the following question based on the information presented in the case study.

Before you deploy DevVM1, you need to consider the technical and security requirements. What should you do to ensure that access to DevVM1 is secure?

  1. Install the Azure Virtual Desktop client on all the devices that will connect to DevVM1.
  2. :heavy_check_mark: Deploy the Azure Bastion service.
  3. Configure Remote Desktop Gateway on all the devices that will connect to DevVM1.
  4. Configure the Azure Network Watcher service.
Answer: B
Objective: 4\.2 Secure access to virtual networks
Rationale:

Azure Bastion is a service that provides secure and seamless RDP/SSH connectivity to your virtual machines directly from the Azure portal over TLS. When you connect via Azure Bastion, your virtual machines do not need a public IP address, agent, or special client software. Not requiring a public IP address protects the virtual machine from outside port scanning.

===================== From the Case Study: Planned Changes:

Deploy a new Windows 10 Azure VM named DevVM1. Technical requirements:

DevVM1 must be accessible from the Azure portal over TLS and provide seamless RDP/SSH connectivity.

Security Requirements:

DevVM1 must be protected from port scanning from outside the virtual network. =====================

URL: [https://docs.microsoft.com/en-us/azure/bastion/bastion-overview](https://docs.microsoft.com/en-us/azure/bastion/bastion-overview)


Return to top Back to main


Question # 20 (Multiple Choice)

Answer the following question based on the information presented in the case study.

You need to resolve the issue that relates to the replication costs for backups.

Which Recovery Services vault can be configured to use locally-redundant storage (LRS) replication?

  1. Rsv1 only
  2. Rsv2 only
  3. :heavy_check_mark: Rsv3 only
  4. Rsv1 and Rsv2 only
  5. Rsv1, Rsv2, and Rsv3
Answer: C
Objective: 5\.2 Implement backup and recovery
Rationale:

The storage replication type cannot be changed after protecting items. Since Rsv3 is the only Recovery services vault that does not contain items, it is the only one that can be modified to use the Locally-redundant storage replication type.

=====================

From the Case Study:

Azure Storage Environment:

Recovery service vaults have been configured as follows:

Name Backup contains: Storage replication type:
Rsv1 Azure file shares Geo-redundant
Rsv2 Virtual machines Geo-redundant
Rsv3 No items Geo-redundant

Problem Statement:

Replication costs for backups are over budget.

Planned Changes:

Configure backups to use Locally-redundant replication when possible. =====================

URL: [https://docs.microsoft.com/en-us/azure/backup/backup-create-rs-vault](https://docs.microsoft.com/en-us/azure/backup/backup-create-rs-vault)