AZ-104 Study Guide Questions with Correct
Answers
Your company wants to share the JSON files stored in a container inside a storage
account:
Storage Account (monthlyreports)-> Container(april2022) -> file (employee_data.json)
What is the correct URL for the file called 'employee_data.json':
a. employee_data.json
b. monthlyreports.blob.core.windows.net/april2022/employee_data.json
c. monthlyreports.blob.core.windows.net/employee_data.json
d. monthlyreports/april2022/employee_data.json
b. monthlyreports.blob.core.windows.net/april2022/employee_data.json
Custom script extension timeout after
a. 30 mins
b. 45 mins
c. 90mins
d. never times out
c. 90 mins
Where do the custom script extensions download and run scripts on?
Azure virtual machines
,What is the Custom script extension useful for?
post-deployment configuration, software installation, or any other configuration or
management task
You have an Azure subscription named Subscription1. You plan to deploy an Ubuntu
Server VM named VM1 to Subscription1. You need to perform a custom deployment of
the VM. A specific trusted root certification authority (CA) must be added during the
deployment.
What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
File to Create:
answer.ini
autounattend.conf
cloud-init.txt
unattend.xml
Tool to deploy VM:
new-AzureRmVm cmdlet
New-AzVM cmdlet
Create-AzVM cmdlet
az cm create command
,File to Create:
cloud-init.txt
Tool to deploy VM:
az cm create command
Your company has a MS AZ subscription. The company has datacenters in LA and NY.
You are configuring the two datacenters as geo-clustered sites for site resiliency.
You need to recommend an Azure storage redundancy option.
You have the following data storage requirements:
-Data must be stored on multiple nodes
-Data must be stored on nodes in separate geographic locations
-Data can be read from the secondary location as well as from the primary location.
Which of the following Azure stored redundancy options should you recommend?
a. Geo-redundant storage
b. Read-only geo-redundant storage
c. zone-redundant storage
d. locally redundant storage
, b. Read-only geo-redundant storage
You plan to deploy three AZ VMs named VM1, VM2 and VM3. The VMs will host web
app named App1. You need to ensure that at least two virtual machines are available if
a single AZ datacenter becomes unavailable.
What should you deploy?
a. all three VMs in a single Availability Zone
b. all VMs in a single availability set
c. each VM in a separate availability zone.
d. each VM in a separate availability set
c. each VM in a separate availability zone.
What are AZ regions and availability zones designed to help you achieve?
Resiliency and reliability
What are Azure region feature datacenters deployed within?
A latency-defined perimeter and connected through a dedicated regional low-latency
network.
What is the purpose of having an AZ region being connected through a dedicated
regional low-latency network?
To ensure AZ services within any region offer the best performance/security
What are Azure Availability zones?
Physically separate locations within each Azure region that are tolerant to local failures.
Answers
Your company wants to share the JSON files stored in a container inside a storage
account:
Storage Account (monthlyreports)-> Container(april2022) -> file (employee_data.json)
What is the correct URL for the file called 'employee_data.json':
a. employee_data.json
b. monthlyreports.blob.core.windows.net/april2022/employee_data.json
c. monthlyreports.blob.core.windows.net/employee_data.json
d. monthlyreports/april2022/employee_data.json
b. monthlyreports.blob.core.windows.net/april2022/employee_data.json
Custom script extension timeout after
a. 30 mins
b. 45 mins
c. 90mins
d. never times out
c. 90 mins
Where do the custom script extensions download and run scripts on?
Azure virtual machines
,What is the Custom script extension useful for?
post-deployment configuration, software installation, or any other configuration or
management task
You have an Azure subscription named Subscription1. You plan to deploy an Ubuntu
Server VM named VM1 to Subscription1. You need to perform a custom deployment of
the VM. A specific trusted root certification authority (CA) must be added during the
deployment.
What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
File to Create:
answer.ini
autounattend.conf
cloud-init.txt
unattend.xml
Tool to deploy VM:
new-AzureRmVm cmdlet
New-AzVM cmdlet
Create-AzVM cmdlet
az cm create command
,File to Create:
cloud-init.txt
Tool to deploy VM:
az cm create command
Your company has a MS AZ subscription. The company has datacenters in LA and NY.
You are configuring the two datacenters as geo-clustered sites for site resiliency.
You need to recommend an Azure storage redundancy option.
You have the following data storage requirements:
-Data must be stored on multiple nodes
-Data must be stored on nodes in separate geographic locations
-Data can be read from the secondary location as well as from the primary location.
Which of the following Azure stored redundancy options should you recommend?
a. Geo-redundant storage
b. Read-only geo-redundant storage
c. zone-redundant storage
d. locally redundant storage
, b. Read-only geo-redundant storage
You plan to deploy three AZ VMs named VM1, VM2 and VM3. The VMs will host web
app named App1. You need to ensure that at least two virtual machines are available if
a single AZ datacenter becomes unavailable.
What should you deploy?
a. all three VMs in a single Availability Zone
b. all VMs in a single availability set
c. each VM in a separate availability zone.
d. each VM in a separate availability set
c. each VM in a separate availability zone.
What are AZ regions and availability zones designed to help you achieve?
Resiliency and reliability
What are Azure region feature datacenters deployed within?
A latency-defined perimeter and connected through a dedicated regional low-latency
network.
What is the purpose of having an AZ region being connected through a dedicated
regional low-latency network?
To ensure AZ services within any region offer the best performance/security
What are Azure Availability zones?
Physically separate locations within each Azure region that are tolerant to local failures.