AND ANSWER UPDATED ALL ANSWERS
AVAILABLE with rationales.
### Question 1
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?
A. Azure HDInsight
B. Linux Diagnostic Extension (LAD) 3.0
C. Azure Performance Diagnostics extension
D. Azure Analysis Services
**Answer: B**
**Rationale:** The Linux Diagnostic Extension (LAD) 3.0 is specifically
designed to collect metrics and logs from Linux VMs in Azure. It enables
monitoring of performance metrics, system logs, and custom metrics.
HDInsight is for big data analytics, Performance Diagnostics is for
troubleshooting performance issues, and Analysis Services is for
business intelligence.
,### Question 2
You plan to deploy three Azure virtual machines named VM1, VM2, and
VM3. The virtual machines will host a web app named App1. You need
to ensure that at least two virtual machines are available if a single
Azure datacenter becomes unavailable. What should you deploy?
A. All three virtual machines in a single Availability Zone
B. All virtual machines in a single Availability Set
C. Each virtual machine in a separate Availability Zone
D. Each virtual machine in a separate Availability Set
**Answer: B**
**Rationale:** An Availability Set ensures that VMs are distributed
across multiple fault domains and update domains within a single
datacenter. This protects against failures within the datacenter.
Availability Zones protect against entire datacenter failures but would
require VMs in different zones. For protection against a single
datacenter failure, Availability Sets are the appropriate choice.
### Question 3
You have an Azure virtual machine named VM1 that runs Windows
Server 2019. You save VM1 as a template named Template1 to the
Azure Resource Manager library. You plan to deploy a virtual machine
,named VM2 from Template1. What can you configure during the
deployment of VM2?
A. Operating system
B. Administrator username
C. Virtual machine size
D. Resource group
**Answer: B**
**Rationale:** When deploying from an ARM template, you can
configure the administrator username during deployment. The
operating system is fixed by the template, VM size typically requires
modifying the template, and resource group can be specified but the
VM size itself cannot be changed without template modification.
### Question 4
You have an Azure subscription that contains an Azure virtual machine
named VM1. VM1 runs a financial reporting app named App1 that does
not support multiple active instances. At the end of each month, CPU
usage for VM1 peaks when App1 runs. You need to create a scheduled
runbook to increase the processor performance of VM1 at the end of
each month. What task should you include in the runbook?
A. Add the Azure Performance Diagnostics agent to VM1
, B. Modify the VM size property of VM1
C. Add VM1 to a scale set
D. Increase the vCPU quota for the subscription
E. Add a Desired State Configuration (DSC) extension to VM1
**Answer: B**
**Rationale:** To increase processor performance, you need to resize
the VM to a larger size with more vCPUs. This can be automated using a
runbook. The DSC extension is for configuration management, not
scaling; scale sets are for multiple instances; and quota changes don't
directly resize VMs.
### Question 5
You have an Azure subscription that contains 10 virtual networks. The
virtual networks are hosted in separate resource groups. Another
administrator plans to create several network security groups (NSGs) in
the subscription. You need to ensure that when an NSG is created, it
automatically blocks TCP port 8080 between the virtual networks.
Solution: You configure a custom policy definition, and then you assign
the policy to the subscription. Does this meet the goal?
A. Yes
B. No