Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

AZ-104 Practice test Questions with complete Solutions

Rating
-
Sold
-
Pages
59
Grade
A+
Uploaded on
14-05-2025
Written in
2024/2025

AZ-104 Practice test Questions with complete Solutions Your company's Azure environment consists of two virtual networks (VNets) with the following topology: • prod-vnet: 9 virtual machines (VMS) • dev-vnet: 9 virtual machines (VMS) The VMS in the prod-vnet should run continuously. The VMS in dev-vnet are used only between 7:00 A.M. and 7:00 P.M. local time. You need to automate the shutdown and startup of the dev-vnet VMS to reduce the organization's monthly Azure costs. Which Azure feature should you use? A-Azure Auto-shutdown B-Azure Change Tracking C-Azure Automation Desired State Configuration (DSC) D Azure Automation runbook - ANSWER ANSWER: D Explanation: You should create an Azure Automation runbook. Azure Automation is a management solution that allows to publish PowerShell or Python scripts in Azure and optionally schedule Azure to run them automatically. In this case, the best practice is to write a PowerShell workflow script that automates VM startup and shutdown, and then bind the script to two Azure Automation schedules: one to describe shutdown time, and the other to describe startup time. You should not use Azure Automation Desired State Configuration (DSC). DSC is a PowerShell feature that prevents configuration drift on your Azure and/or on-premises servers. For example, you could deploy a DSC configuration that prevents server services from stopping. You should not use Azure Auto-Shutdown_ This feature, part of Azure DevTest Labs, allows to schedule Azure VMS to shut down at the same time every day or night. However, this feature does not provide for automated VM startup. You should not use Azure change tracking. Change tracking is an IT service management (ITSM) feature that is part of the Azure Automation service and records all configuration changes to your Azure VM resources. You want to install SQL Server 2019 on an Azure Windows virtual machine (VM). You need to ensure that the VM has a Service Level Agreement (SLA) of percent. Your solution must minimize costs. Which value should you choose for each configuration option? To ANSWER, drag the appropriate value to each configuration property. A value may be used once, more than once or not at all. Configuration: Size - (1) OS disk Type - (2) Data storage type - (3) Choose the correct options: (1) A-Standard D4_v2, B-Standard DS4_v2, C-Standard A4_v2, D-Standard A8_v2 (2) A-Premium SSD, B-Standard SSD, C-Standard HDD (3) A-Premium SSD, B-Standard SSD, C-Standard HDD - ANSWER ANSWER: (1) B- Standard DS4_v2 (2) A-Premium SSD (3) A-Premium SSD Explanation: You should set the size to Standard_DS4 v2. For an Azure single instance VM, an SLA of 99.9 percent connectivity will only be guaranteed if all disks are premium SSD or Ultra Disk. Not all Azure VM sizes support premium storage. The Standard_DS4 v2 VM size supports premium storage. Q Your company has an Azure subscription. You create a Recovery Services vault named RSV1. You have a virtual machine (VM) named VM1 that is deployed in the East US region. You create a backup policy for backing up VM1 to RSV1 on a recurring schedule. You are preparing to run your first backup and find the Backup Pre-Check status displays a status of Warning. You need to determine the possible cause of this status. Which condition would result in a Warning status? A-The most recent VM agent is not installed on VM1. B-VM1 has a non-premium storage account. C-VM1 cannot communicate with the Azure Backup service. D-VM1 is an unmanaged Azure VM encrypted with BitLocker encryption keys (BEKs). - ANSWER ANSWER: A Explanation: One possible reason for a Warning status during the Backup Pre-check is that the most recent VM agent is not installed on VM1. A Warning status indicates that the backup process might fail. The report status provides recommended steps to ensure successful backups. A status of Critical would be reported if VM1 cannot communicate with the Azure Backup service. A Critical status indicates that the current VM configuration will result in a backup failure. A situation where VM1 has a non-premium storage account will not report a Warning status. This is a supported configuration. Having VM1 as an unmanaged Azure VM encrypted with BEK will not result in a warning status. Backups of managed and unmanaged VMS encrypted with BEK are supported by Azure Backup. You are preparing a private deployment template that will be saved to an Azure Storage account. You need to make sure that access to the template is protected by a shared access signature (SAS) token. How should you complete the command? To ANSWER, select the appropriate parts from the drop-down menus. $templateuri = (1) ` -Container private ` -Blob SAS.json ` -Permission r ` -ExpiryTime (Get-Date).AddHours(2.0) ` New-AzResourceGroup -Name RGI -Location "West US" New-AzResourceGroupDeployment -ResourceGroupName RG1 (2) templateuri Choose the correct options: (1) A-New-AzStorageBlobSASToken, B-New-AzStorageShareSASToken, C-New- AzSTorageContainerStoredAccessPolicy (2) A-TemplateUri, B-TemplateParameterFile, C-TemplateFile - ANSWER ANSWER: (1) A- New-AzStorageBlobSASToken (2) A-TemplateUri Explanation: You should use the New-AzStorageglobSASToken cmdlet to generate the SAS token for the storage account. The SAS token is valid for a specified time interval. You can also specify permission level. Typically, this would be the read permission. You should not use the New-AzStorageShareSASToken cmdlet. It is used to generate a SAS token for Azure Share. You should not use the New-AzStorageContainerStoredAccessPolicy cmdlet. It is used to create a stored access policy for an Azure storage container. You should use the TemplateUri parameter in the New-AzResourceGroupDeployment cmdlet because the template is stored in an external resource. You should not use the TemplateFile parameter because the template is stored in an external resource. You would use the TemplateFile parameter if you attached the template file from a local computer. You should not use the TemplateParameterFile parameter because the template is stored in an external resource. You would use the TemplateParameterFile parameter to specify values for the template parameters. Your company's Azure environment consists of the following resources: • 4 virtual networks (VNets)

Show more Read less
Institution
AZ-104
Course
AZ-104

Content preview

AZ-104 Practice test Questions with complete
Solutions

Your company's Azure environment consists of two virtual networks (VNets) with the
following topology:
• prod-vnet: 9 virtual machines (VMS)
• dev-vnet: 9 virtual machines (VMS)
The VMS in the prod-vnet should run continuously. The VMS in dev-vnet are used
only between 7:00 A.M. and 7:00 P.M. local time.
You need to automate the shutdown and startup of the dev-vnet VMS to reduce
the organization's monthly Azure costs. Which Azure feature should you use?


A-Azure Auto-shutdown
B-Azure Change Tracking
C-Azure Automation Desired State Configuration (DSC) D-
Azure Automation runbook - ANSWER ANSWER: D
Explanation:
You should create an Azure Automation runbook. Azure Automation is a management
solution that allows to publish PowerShell or Python scripts in Azure and optionally
schedule Azure to run them automatically. In this case, the best practice is to write a
PowerShell workflow script that automates VM startup and shutdown, and then bind
the script to two Azure Automation schedules: one to describe shutdown time, and the
other to describe startup time.
You should not use Azure Automation Desired State Configuration (DSC). DSC is a
PowerShell feature that prevents configuration drift on your Azure and/or on-premises
servers. For example, you could deploy a DSC configuration that prevents server
services from stopping.
You should not use Azure Auto-Shutdown_ This feature, part of Azure DevTest Labs,
allows to schedule Azure VMS to shut down at the same time every day or night.
However, this feature does not provide for automated VM startup.
You should not use Azure change tracking. Change tracking is an IT service
management (ITSM) feature that is part of the Azure Automation service and records
all configuration changes to your Azure VM resources.

You want to install SQL Server 2019 on an Azure Windows virtual machine (VM).
You need to ensure that the VM has a Service Level Agreement (SLA) of percent. Your
solution must minimize costs.

,Which value should you choose for each configuration option? To ANSWER, drag
the
appropriate value to each configuration property. A value may be used once, more than
once or not at all.

Configuration:
Size - (1)
OS disk Type - (2)
Data storage type - (3)


Choose the correct options:
(1) A-Standard D4_v2, B-Standard DS4_v2, C-Standard A4_v2, D-Standard A8_v2
(2) A-Premium SSD, B-Standard SSD, C-Standard HDD
(3) A-Premium SSD, B-Standard SSD, C-Standard HDD - ANSWER ANSWER: (1) B-
Standard DS4_v2 (2) A-Premium SSD (3) A-Premium SSD Explanation:
You should set the size to Standard_DS4 v2. For an Azure single instance VM, an
SLA of 99.9 percent connectivity will only be guaranteed if all disks are premium SSD
or Ultra Disk. Not all Azure VM sizes support premium storage. The Standard_DS4 v2
VM size supports premium storage.


Q Your company has an Azure subscription. You create a Recovery Services vault
named RSV1. You have a virtual machine (VM) named VM1 that is deployed in the
East US region. You create a backup policy for backing up VM1 to RSV1 on a
recurring schedule. You are preparing to run your first backup and find the Backup
Pre-Check status displays a status of Warning. You need to determine the possible
cause of this status.
Which condition would result in a Warning status?


A-The most recent VM agent is not installed on VM1.
B-VM1 has a non-premium storage account.
C-VM1 cannot communicate with the Azure Backup service.
D-VM1 is an unmanaged Azure VM encrypted with BitLocker encryption keys (BEKs).
-
ANSWER ANSWER: A
Explanation:
One possible reason for a Warning status during the Backup Pre-check is that the
most recent VM agent is not installed on VM1. A Warning status indicates that the
backup process might fail. The report status provides recommended steps to ensure
successful backups.
A status of Critical would be reported if VM1 cannot communicate with the Azure
Backup service. A Critical status indicates that the current VM configuration will result
in a backup failure.

,A situation where VM1 has a non-premium storage account will not report a Warning
status. This is a supported configuration.
Having VM1 as an unmanaged Azure VM encrypted with BEK will not result in a
warning status. Backups of managed and unmanaged VMS encrypted with BEK are
supported by Azure Backup.


You are preparing a private deployment template that will be saved to an Azure
Storage account. You need to make sure that access to the template is protected by a
shared access signature (SAS) token. How should you complete the command? To
ANSWER, select the appropriate parts from the drop-down menus.

$templateuri = (1) `
-Container private `
-Blob SAS.json `
-Permission r `
-ExpiryTime (Get-Date).AddHours(2.0) `
New-AzResourceGroup -Name RGI -Location "West US"
New-AzResourceGroupDeployment -ResourceGroupName RG1 (2) templateuri


Choose the correct options:
(1) A-New-AzStorageBlobSASToken, B-New-AzStorageShareSASToken, C-New-
AzSTorageContainerStoredAccessPolicy
(2) A-TemplateUri, B-TemplateParameterFile, C-TemplateFile - ANSWER
ANSWER: (1) A- New-AzStorageBlobSASToken (2) A-TemplateUri Explanation:
You should use the New-AzStorageglobSASToken cmdlet to generate the SAS token
for the storage account. The SAS token is valid for a specified time interval. You can
also specify permission level. Typically, this would be the read permission.
You should not use the New-AzStorageShareSASToken cmdlet. It is used to generate
a SAS token for Azure Share.
You should not use the New-AzStorageContainerStoredAccessPolicy cmdlet. It is
used to create a stored access policy for an Azure storage container.
You should use the TemplateUri parameter in the New-AzResourceGroupDeployment
cmdlet because the template is stored in an external resource.
You should not use the TemplateFile parameter because the template is stored in an
external resource. You would use the TemplateFile parameter if you attached the
template file from a local computer.
You should not use the TemplateParameterFile parameter because the template is
stored in an external resource. You would use the TemplateParameterFile parameter
to specify values for the template parameters.


Your company's Azure environment consists of the following resources:
• 4 virtual networks (VNets)

, • 48 Windows Server and Linux virtual machines (VMS)
• 6 general-purpose storage accounts
You need to design a universal monitoring solution that enables you to query across
all diagnostic and telemetry data emitted by resources. What should you do first?


A-Install the Microsoft Monitoring Agent. B-
Create a Log Analytics workspace.
C-Activate resource diagnostic settings. D-
Enable Network Watcher. - ANSWER
ANSWER: B Explanation:
You should create a Log Analytics workspace. Azure Log Analytics is the central
resource monitoring platform in Azure. The Log Analytics workspace is the data
warehouse to which associated resources send their telemetry data. Azure Log
Analytics has its own query language with which you can generate reports that stretch
across all your Azure deployments and management solutions.
You should not install the Microsoft Monitoring Agent (MMA). This agent is indeed
required to associate Windows physical and virtual servers (on-premises and in
Azure). However, Log Analytics automatically deploys the MMA to Azure virtual
machines when you onboard them to your Log Analytics workspace.
You should not enable Network Watcher. Network Watcher is a virtual network
diagnostics platform. While can link Network Watcher to Azure Log Analytics, you still
need to create the Log Analytics workspace first.
You should not activate resource diagnostic settings. Before Microsoft developed Log
Analytics, administrators were required to configure diagnostic settings on a per-
resource level. This is no longer necessary because Microsoft Monitoring Agent
configures nodes to send their diagnostics logs to a Log Analytics workspace.


You are asked to configure Azure DNS records for the root domain company1.com
and add two records to that zone for independently hosted websites on different
servers but using the same alias of "www". These servers will round-robin the DNS
requests for high availability of the service. The time to live for the records must also
be set to 1 hour. You need to configure Azure DNS to support the requirements. How
should you complete the Azure PowerShell script? To ANSWER, select the
appropriate options from the drop-down menus.


(1) -Name "@" -RecordType A -ZoneName "company1.com" `
-ResourceGroupName "MyResourceGroup" -Ttl (2) -DnsRecords `
( (3) -IPv4Address "1.2.3.4")
$aRecords @()
$aRecords += (4) -IPv4Address "2.3.4.5"
$aRecords += (5) -IPv4Address "3.4.5.6"
(6) -Name "www" -ZoneName "company1.com" `

Written for

Institution
AZ-104
Course
AZ-104

Document information

Uploaded on
May 14, 2025
Number of pages
59
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$17.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TopGradeGuru Teachme2-tutor
Follow You need to be logged in order to follow users or courses
Sold
15
Member since
1 year
Number of followers
0
Documents
2395
Last sold
2 months ago
GRADEHUB

We provide access to a wide range of professionally curated exams for students and educators. It offers high-quality, up-to-date assessment materials tailored to various subjects and academic levels. With instant downloads and affordable pricing, it\'s the go-to resource for exam preparation and academic success.

1.5

2 reviews

5
0
4
0
3
0
2
1
1
1

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions