πŸ”

AZ-104 β€” questions

Page 9 of 18 Β· 350 total questions.

Topic 4 Β· Question 244

You have an Azure subscription that contains a web app named webapp1. You need to add a custom domain named www.contoso.com to webapp1. What should you do first?

  • ACreate a DNS record (correct answer)
  • BAdd a connection string
  • CUpload a certificate.
  • DStop webapp1.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create a DNS record.

Topic 4 Β· Question 245

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 subscription that contains the resources shown in the following table. VM1 connects to VNET1. You need to connect VM1 to VNET2. Solution: You move VM1 to RG2, and then you add a new network interface to VM1. 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 246

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 subscription that contains the resources shown in the following table. VM1 connects to VNET1. You need to connect VM1 to VNET2. Solution: You delete VM1. You recreate VM1, and then you create a new network interface for VM1 and connect it to VNET2. 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 249

You deploy an Azure Kubernetes Service (AKS) cluster named Cluster1 that uses the IP addresses shown in the following table. You need to provide internet users with access to the applications that run in Cluster1. Which IP address should you include in the DNS record for Cluster1?

  • A131.107.2.1 (correct answer)
  • B10.0.10.11
  • C172.17.7.1
  • D192.168.10.2
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: 131.107.2.1.

Topic 4 Β· Question 250

You have a deployment template named Template1 that is used to deploy 10 Azure web apps. You need to identify what to deploy before you deploy Template1. The solution must minimize Azure costs. What should you identify?

  • Afive Azure Application Gateways
  • Bone App Service plan (correct answer)
  • C10 App Service plans
  • Done Azure Traffic Manager
  • Eone Azure Application Gateway
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: one 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 252

You have an Azure subscription that contains a virtual machine named VM1. VM1 hosts a line-of-business application that is available 24 hours a day. VM1 has one network interface and one managed disk. VM1 uses the D4s v3 size. You plan to make the following changes to VM1: β€’ Change the size to D8s v3. β€’ Add a 500-GB managed disk. β€’ Add the Puppet Agent extension. β€’ Enable Desired State Configuration Management. Which change will cause downtime for VM1?

  • AEnable Desired State Configuration Management
  • BAdd a 500-GB managed disk
  • CChange the size to D8s v3 (correct answer)
  • DAdd the Puppet Agent extension
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Change the size to D8s v3.

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

You have an app named App1 that runs on an Azure web app named webapp1. The developers at your company upload an update of App1 to a Git repository named Git1. Webapp1 has the deployment slots shown in the following table. You need to ensure that the App1 update is tested before the update is made available to users. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

  • ASwap the slots (correct answer)
  • BDeploy the App1 update to webapp1-prod, and then test the update
  • CStop webapp1-prod
  • DDeploy the App1 update to webapp1-test, and then test the update (correct answer)
  • EStop webapp1-test
Reveal answer & explanation
Correct answer: A, D

The correct answer is A, D. Option A: Swap the slots Option D: Deploy the App1 update to webapp1-test, and then test the update.

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

You have an Azure subscription named Subscription1 that has the following providers registered: β€’ Authorization β€’ Automation β€’ Resources β€’ Compute β€’ KeyVault β€’ Network β€’ Storage β€’ Billing β€’ Web Subscription1 contains an Azure virtual machine named VM1 that has the following configurations: β€’ Private IP address: 10.0.0.4 (dynamic) β€’ Network security group (NSG): NSG1 β€’ Public IP address: None β€’ Availability set: AVSet β€’ Subnet: 10.0.0.0/24 β€’ Managed disks: No β€’ Location: East US You need to record all the successful and failed connection attempts to VM1. Which three actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

  • AEnable Azure Network Watcher in the East US Azure region.
  • BAdd an Azure Network Watcher connection monitor.
  • CRegister the MicrosoftLogAnalytics provider.
  • DCreate an Azure Storage account. (correct answer)
  • ERegister the Microsoft.Insights resource provider. (correct answer)
  • FEnable Azure Network Watcher flow logs. (correct answer)
Reveal answer & explanation
Correct answer: D, E, F

The correct answer is D, E, F. Option D: Create an Azure Storage account. Option E: Register the Microsoft.Insights resource provider. Option F: Enable Azure Network Watcher flow logs.

Explanation

An Azure Storage Account is the container that groups blob, file, queue, and table storage with unified access control.

Topic 4 Β· Question 255

You need to deploy an Azure virtual machine scale set that contains five instances as quickly as possible. What should you do?

  • ADeploy five virtual machines. Modify the Availability Zones settings for each virtual machine.
  • BDeploy five virtual machines. Modify the Size setting for each virtual machine.
  • CDeploy one virtual machine scale set that is set to VM (virtual machines) orchestration mode.
  • DDeploy one virtual machine scale set that is set to ScaleSetVM orchestration mode. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Deploy one virtual machine scale set that is set to ScaleSetVM orchestration mode.

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 257

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 subscription named Subscription1. Subscription1 contains a resource group named RG1. RG1 contains resources that were deployed by using templates. You need to view the date and time when the resources were created in RG1. Solution: From the Subscriptions blade, you select the subscription, and then click Programmatic deployment. 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 258

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 subscription that contains the resources shown in the following table. VM1 connects to VNET1. You need to connect VM1 to VNET2. Solution: You create a new network interface, and then you add the network interface to VM1. 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 259

You have an Azure Active Directory (Azure AD) tenant named adatum.com that contains the users shown in the following table. Adatum.com has the following configurations: β€’ Users may join devices to Azure AD is set to User1. β€’ Additional local administrators on Azure AD joined devices is set to None. You deploy Windows 10 to a computer named Computer1. User1 joins Computer1 to adatum.com. You need to identify the local Administrator group membership on Computer1. Which users are members of the local Administrators group?

  • AUser1 only
  • BUser2 only
  • CUser1 and User2 only (correct answer)
  • DUser1, User2, and User3 only
  • EUser1, User2, User3, and User4
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: User1 and User2 only.

Topic 4 Β· Question 263

You have an Azure subscription named Subscription1 that contains the resources shown in the following table. You create virtual machines in Subscription1 as shown in the following table. You plan to use Vault1 for the backup of as many virtual machines as possible. Which virtual machines can be backed up to Vault1?

  • AVM1 only
  • BVM3 and VMC only
  • CVM1, VM2, VM3, VMA, VMB, and VMC
  • DVM1, VM3, VMA, and VMC only (correct answer)
  • EVM1 and VM3 only
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: VM1, VM3, VMA, and VMC only.

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

You have an Azure Kubernetes Service (AKS) cluster named AKS1. You need to configure cluster autoscaler for AKS1. Which two tools should you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

  • Athe kubectl command
  • Bthe az aks command (correct answer)
  • Cthe Set-AzVm cmdlet
  • Dthe Azure portal (correct answer)
  • Ethe Set-AzAks cmdlet
Reveal answer & explanation
Correct answer: B, D

The correct answer is B, D. Option B: the az aks command Option D: the Azure portal

Explanation

Azure Kubernetes Service (AKS) provides managed Kubernetes clusters with reduced control-plane overhead.

Topic 4 Β· Question 265

You create the following resources in an Azure subscription: β€’ An Azure Container Registry instance named Registry1 β€’ An Azure Kubernetes Service (AKS) cluster named Cluster1 You create a container image named App1 on your administrative workstation. You need to deploy App1 to Cluster1. What should you do first?

  • ARun the docker push command. (correct answer)
  • BCreate an App Service plan.
  • CRun the az acr build command.
  • DRun the az aks create command.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Run the docker push command.

Topic 4 Β· Question 266

You have an Azure subscription that contains the resources shown in the following table. You need to configure a proximity placement group for VMSS1. Which proximity placement groups should you use?

  • AProximity2 only (correct answer)
  • BProximity1, Proximity2, and Proximity3
  • CProximity1 only
  • DProximity1 and Proximity3 only
Reveal answer & explanation
Correct answer: A

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

Topic 4 Β· Question 267

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 subscription named Subscription1. Subscription1 contains a resource group named RG1. RG1 contains resources that were deployed by using templates. You need to view the date and time when the resources were created in RG1. Solution: From the Subscriptions blade, you select the subscription, and then click Resource providers. 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 268

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 subscription named Subscription1. Subscription1 contains a resource group named RG1. RG1 contains resources that were deployed by using templates. You need to view the date and time when the resources were created in RG1. Solution: From the RG1 blade, you click Automation script. 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 269

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 subscription named Subscription1. Subscription1 contains a resource group named RG1. RG1 contains resources that were deployed by using templates. You need to view the date and time when the resources were created in RG1. Solution: From the RG1 blade, you click Deployments. 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 270

You have an Azure subscription named Subscription1. You deploy a Linux virtual machine named VM1 to Subscription1. You need to monitor the metrics and the logs of VM1. What should you use?

  • AAzure HDInsight
  • BLinux Diagnostic Extension (LAD) 3.0 (correct answer)
  • Cthe AzurePerformanceDiagnostics extension
  • DAzure Analysis Services
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Linux Diagnostic Extension (LAD) 3.0.

Showing questions 161–180 of 350 Β· Page 9 of 18