πŸ”

AZ-104 β€” questions

Page 8 of 18 Β· 350 total questions.

Topic 3 Β· Question 214

You have an Azure subscription that contains the storage accounts shown in the following table. Which storage account can be converted to zone-redundant storage (ZRS) replication?

Exhibit 1 for question 214
  • Astorage1
  • Bstorage2 (correct answer)
  • Cstorage3
  • Dstorage4
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: storage2.

Topic 3 Β· Question 215

You have an Azure subscription that contains the devices shown in the following table. On which devices can you install Azure Storage Explorer?

Exhibit 1 for question 215
  • ADevice1 only
  • BDevice1 and Device2 only
  • CDevice1 and Device3 only
  • DDevice1, Device2, and Device3 only (correct answer)
  • EDevice1, Device3, and Device4 only
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Device1, Device2, and Device3 only.

Topic 3 Β· Question 216

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure Storage account named storage1. You need to enable a user named User1 to list and regenerate storage account keys for storage1. Solution: You assign the Storage Account Key Operator Service Role to User1. Does this meet the goal?

  • AYes (correct answer)
  • BNo
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Yes.

Topic 3 Β· Question 221

You have an Azure subscription that contains the storage accounts shown in the following table. Which storage account can be converted to zone-redundant storage (ZRS) replication?

Exhibit 1 for question 221
  • Astorage1 only (correct answer)
  • Bstorage2 only
  • Cstorage3 only
  • Dstorage2 and storage3
  • Estorage1, storage2, and storage3
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: storage1 only.

Topic 3 Β· Question 222

You have an Azure subscription that contains a Standard SKU Azure container registry named ContReg1. You need to ensure that ContReg1 supports geo-replication. What should you do first for ContReg1?

  • AEnable Admin user.
  • BAdd a scope map.
  • CAdd an automation task.
  • DCreate a cache rule.
  • EUpgrade the SKU. (correct answer)
Reveal answer & explanation
Correct answer: E

The correct answer is E. Option E: Upgrade the SKU.

Topic 3 Β· Question 224

Case study - This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided. To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study. At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section. To start the case study - To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question. Overview - ADatum Corporation is consulting firm that has a main office in Montreal and branch offices in Seattle and New York. Existing Environment - Azure Environment - ADatum has an Azure subscription that contains three resource groups named RG1, RG2, and RG3. The subscription contains the storage accounts shown in the following table. The subscription contains the virtual machines shown in the following table. The subscription has an Azure container registry that contains the images shown in the following table. The subscription contains the resources shown in the following table. Azure Key Vault - The subscription contains an Azure key vault named Vault1. Vault1 contains the certificates shown in the following table. Vault1 contains the keys shown in the following table. Microsoft Entra Environment - ADatum has a Microsoft Entra tenant named adatum.com that is linked to the Azure subscription and contains the users shown in the following table. The tenant contains the groups shown in the following table. The adatum.com tenant has a custom security attribute named Attribute1. Planned Changes - ADatum plans to implement the following changes: β€’ Configure a data collection rule (DCR) named DCR1 to collect only system events that have an event ID of 4648 from VM2 and VM4. β€’ In storage1, create a new container named cont2 that has the following access policies: o Three stored access policies named Stored1, Stored2, and Stored3 o A legal hold for immutable blob storage β€’ Whenever possible, use directories to organize storage account content. β€’ Grant User1 the permissions required to link Zone1 to VNet1. β€’ Assign Attribute1 to supported adatum.com resources. β€’ In storage2, create an encryption scope named Scope1. β€’ Deploy new containers by using Image1 or Image2. Technical Requirements - ADatum must meet the following technical requirements: β€’ Use TLS for WebApp1. β€’ Follow the principle of least privilege. β€’ Grant permissions at the required scope only. β€’ Ensure that Scope1 is used to encrypt storage services. β€’ Use Azure Backup to back up cont1 and share1 as frequently as possible. β€’ Whenever possible, use Azure Disk Encryption and a key encryption key (KEK) to encrypt the virtual machines. You need to configure encryption for the virtual machines. The solution must meet the technical requirements. Which virtual machines can you encrypt?

Exhibit 1 for question 224Exhibit 2 for question 224Exhibit 3 for question 224Exhibit 4 for question 224Exhibit 5 for question 224Exhibit 6 for question 224Exhibit 7 for question 224Exhibit 8 for question 224
  • AVM1 and VM3
  • BVM4 and VM5
  • CVM2 and VM3 (correct answer)
  • DVM2 and VM4
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: VM2 and VM3.

Topic 3 Β· Question 225

Case study - This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided. To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study. At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section. To start the case study - To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question. Overview - ADatum Corporation is consulting firm that has a main office in Montreal and branch offices in Seattle and New York. Existing Environment - Azure Environment - ADatum has an Azure subscription that contains three resource groups named RG1, RG2, and RG3. The subscription contains the storage accounts shown in the following table. The subscription contains the virtual machines shown in the following table. The subscription has an Azure container registry that contains the images shown in the following table. The subscription contains the resources shown in the following table. Azure Key Vault - The subscription contains an Azure key vault named Vault1. Vault1 contains the certificates shown in the following table. Vault1 contains the keys shown in the following table. Microsoft Entra Environment - ADatum has a Microsoft Entra tenant named adatum.com that is linked to the Azure subscription and contains the users shown in the following table. The tenant contains the groups shown in the following table. The adatum.com tenant has a custom security attribute named Attribute1. Planned Changes - ADatum plans to implement the following changes: β€’ Configure a data collection rule (DCR) named DCR1 to collect only system events that have an event ID of 4648 from VM2 and VM4. β€’ In storage1, create a new container named cont2 that has the following access policies: o Three stored access policies named Stored1, Stored2, and Stored3 o A legal hold for immutable blob storage β€’ Whenever possible, use directories to organize storage account content. β€’ Grant User1 the permissions required to link Zone1 to VNet1. β€’ Assign Attribute1 to supported adatum.com resources. β€’ In storage2, create an encryption scope named Scope1. β€’ Deploy new containers by using Image1 or Image2. Technical Requirements - ADatum must meet the following technical requirements: β€’ Use TLS for WebApp1. β€’ Follow the principle of least privilege. β€’ Grant permissions at the required scope only. β€’ Ensure that Scope1 is used to encrypt storage services. β€’ Use Azure Backup to back up cont1 and share1 as frequently as possible. β€’ Whenever possible, use Azure Disk Encryption and a key encryption key (KEK) to encrypt the virtual machines. You need to implement the planned changes for the storage account content. Which containers and file shares can you use to organize the content?

Exhibit 1 for question 225Exhibit 2 for question 225Exhibit 3 for question 225Exhibit 4 for question 225Exhibit 5 for question 225Exhibit 6 for question 225Exhibit 7 for question 225Exhibit 8 for question 225
  • Ashare1 only
  • Bcont1 and share1 only
  • Cshare1 and share2 only
  • Dcont1, share1, and share2 only (correct answer)
  • Econt1, cont2, share1, and share2
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: cont1, share1, and share2 only.

Topic 4 Β· Question 226

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You deploy an Azure Kubernetes Service (AKS) cluster named AKS1. You need to deploy a YAML file to AKS1. Solution: From Azure CLI, you run az aks. Does this meet the goal?

  • AYes
  • BNo (correct answer)
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: No.

Topic 4 Β· Question 227

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You deploy an Azure Kubernetes Service (AKS) cluster named AKS1. You need to deploy a YAML file to AKS1. Solution: From Azure CLI, you run the kubectl client. Does this meet the goal?

  • AYes (correct answer)
  • BNo
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Yes.

Topic 4 Β· Question 228

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You deploy an Azure Kubernetes Service (AKS) cluster named AKS1. You need to deploy a YAML file to AKS1. Solution: From Azure CLI, you run azcopy. Does this meet the goal?

  • AYes
  • BNo (correct answer)
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: No.

Topic 4 Β· Question 229

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure virtual machine named VM1 that runs Windows Server 2016. You need to create an alert in Azure when more than two error events are logged to the System event log on VM1 within an hour. Solution: You create an Azure storage account and configure shared access signatures (SASs). You install the Microsoft Monitoring Agent on VM1. You create an alert in Azure Monitor and specify the storage account as the source. Does that meet the goal?

  • AYes
  • BNo (correct answer)
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: No.

Topic 4 Β· Question 231

You download an Azure Resource Manager template based on an existing virtual machine. The template will be used to deploy 100 virtual machines. You need to modify the template to reference an administrative password. You must prevent the password from being stored in plain text. What should you create to store the password?

  • Aan Azure Key Vault and an access policy (correct answer)
  • Ban Azure Storage account and an access policy
  • Ca Recovery Services vault and a backup policy
  • DAzure Active Directory (AD) Identity Protection and an Azure policy
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: an Azure Key Vault and an access policy

Explanation

Azure Key Vault securely stores and manages secrets, keys, and certificates with access policies.

Topic 4 Β· Question 234 Β· Select all that apply

You plan to automate the deployment of a virtual machine scale set that uses the Windows Server 2016 Datacenter image. You need to ensure that when the scale set virtual machines are provisioned, they have web server components installed. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

  • AUpload a configuration script (correct answer)
  • BCreate an automation account
  • CCreate an Azure policy
  • DModify the extensionProfile section of the Azure Resource Manager template (correct answer)
  • ECreate a new virtual machine scale set in the Azure portal
Reveal answer & explanation
Correct answer: A, D

The correct answer is A, D. Option A: Upload a configuration script Option D: Modify the extensionProfile section of the Azure Resource Manager template.

Topic 4 Β· Question 237

You have an Azure Resource Manager template named Template1 that is used to deploy an Azure virtual machine. Template1 contains the following text: The variables section in Template1 contains the following text: "location": "westeurope" The resources section in Template1 contains the following text: You need to deploy the virtual machine to the West US location by using Template1. What should you do?

  • AModify the location in the resources section to westus (correct answer)
  • BSelect West US during the deployment
  • CModify the location in the variables section to westus
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Modify the location in the resources section to westus.

Topic 4 Β· Question 238

You create an App Service plan named Plan1 and an Azure web app named webapp1. You discover that the option to create a staging slot is unavailable. You need to create a staging slot for Plan1. What should you do first?

  • AFrom Plan1, scale up the App Service plan (correct answer)
  • BFrom webapp1, modify the Application settings
  • CFrom webapp1, add a custom domain
  • DFrom Plan1, scale out the App Service plan
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: From Plan1, scale up the App Service plan

Explanation

Azure App Service is a fully managed platform for hosting web apps and APIs with built-in scaling and patching.

Topic 4 Β· Question 239

You plan to move a distributed on-premises app named App1 to an Azure subscription. After the planned move, App1 will be hosted on several Azure virtual machines. You need to ensure that App1 always runs on at least eight virtual machines during planned Azure maintenance. What should you create?

  • Aone virtual machine scale set that has 10 virtual machines instances (correct answer)
  • Bone Availability Set that has three fault domains and one update domain
  • Cone Availability Set that has 10 update domains and one fault domain
  • Done virtual machine scale set that has 12 virtual machines instances
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: one virtual machine scale set that has 10 virtual machines instances

Explanation

Virtual Machine Scale Sets automatically add or remove identical VMs to match demand for scale and availability. A Virtual Machine Scale Set keeps a group of identical VMs and autoscales them for availability and load. An Azure Virtual Machine provides full control of the OS when you need to run custom or legacy workloads.

Topic 4 Β· Question 240

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure virtual machine named VM1 that runs Windows Server 2016. You need to create an alert in Azure when more than two error events are logged to the System event log on VM1 within an hour. Solution: You create an event subscription on VM1. You create an alert in Azure Monitor and specify VM1 as the source Does this meet the goal?

  • AYes
  • BNo (correct answer)
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: No.

Topic 4 Β· Question 241

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure virtual machine named VM1. VM1 was deployed by using a custom Azure Resource Manager template named ARM1.json. You receive a notification that VM1 will be affected by maintenance. You need to move VM1 to a different host immediately. Solution: From the Overview blade, you move the virtual machine to a different subscription. Does this meet the goal?

  • AYes
  • BNo (correct answer)
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: No.

Topic 4 Β· Question 242

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure virtual machine named VM1. VM1 was deployed by using a custom Azure Resource Manager template named ARM1.json. You receive a notification that VM1 will be affected by maintenance. You need to move VM1 to a different host immediately. Solution: From the Redeploy blade, you click Redeploy. Does this meet the goal?

  • AYes (correct answer)
  • BNo
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Yes.

Topic 4 Β· Question 243

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure virtual machine named VM1. VM1 was deployed by using a custom Azure Resource Manager template named ARM1.json. You receive a notification that VM1 will be affected by maintenance. You need to move VM1 to a different host immediately. Solution: From the Update management blade, you click Enable. Does this meet the goal?

  • AYes
  • BNo (correct answer)
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: No.

Showing questions 141–160 of 350 Β· Page 8 of 18