test 4 Flashcards
Your team needs to deploy an Azure Kubernetes cluster. It needs to be ensured that applications can connect to the pods deployed to the cluster via the IP addresses assigned to the pod. Which of the following network type would you choose for the cluster?
Azure Private Endpoint
Azure Container Networking Interface
Kubenet
Kubectl
Azure Container Networking Interface
In order for each pod to get its own IP address, we need to use the Azure Container Networking Interface.
Your company has set an Azure subscription. They want to transfer 40 TB of data onto an Azure Storage Account. The transfer should not have an impact on the company’s existing network. It should be the fastest and the most secure way of transferring of data. Which of the following can be used for this requirement?
A. Azure Storage Explorer
B. AzCopy tool
C. Azure Import/Export Service
D. Azure DataBox
Azure DataBox
When you want to transfer data greater than 30 TB, its ideal to use the Azure DataBox service
One can refer to the below URL for more information on the same
Your company has the following storage accounts
appstore100—-General Purpose V1
appstore200—-General Purpose V2
appstore300—-BlockBlobStorage
appstore400—-FileStorage
Can you create a premium file share in appstore400?
Yes
No
Yes, you can create a premium file share in this type of storage account.
Your company has the following storage accounts
appstore100—-General Purpose V1
appstore200—-General Purpose V2
appstore300—-BlockBlobStorage
appstore400—-FileStorage
Can you create a premium file share in appstore200?
Yes
No
No
You can only create Premium files shares in the FileStorage account.
You have an Azure Storage Account. You need copy files via the AzCopy tool to Blob and File storage.
Can you use access keys as a means of authorization for Azure File storage when it comes to the AzCopy tool?
A. Yes
B. No
No
For Azure File storage, you can only use Shared Access Signatures when it comes to authorization.
Your company is planning on hosting an application on a couple of Azure virtual machines named appvm1 and appvm2. You have to ensure that the application continues to work even if there is a planned maintenance event of the underlying hardware. How would you plan to deploy the Azure virtual machines?
A. In an Availability set with one fault domain
B. In an Availability set with two fault domains
C. In an Availability set with one update domain
D. In an Availability set with two update domains
The correct answer is D: In an Availability set with two update domains
Here’s why:
The key requirement is to “ensure that the application continues to work even if there is a planned maintenance event”
Understanding Update Domains:
Update Domains (UDs) are specifically designed to handle planned maintenance events [1]
When planned maintenance occurs, only one update domain is updated at a time
Having VMs in different update domains ensures that not all VMs are updated simultaneously
This maintains application availability during planned maintenance
Why two Update Domains is correct:
With two VMs (appvm1 and appvm2) in different update domains
When one update domain undergoes maintenance, the VM in the other update domain remains available
This ensures continuous application availability during planned maintenance
Why other options are incorrect:
A. In an Availability set with one fault domain
Fault domains protect against hardware failures, not planned maintenance
Single fault domain doesn’t provide redundancy
Doesn’t address the planned maintenance requirement
B. In an Availability set with two fault domains
Fault domains protect against hardware/rack failures
While important for overall availability, they don’t specifically address planned maintenance
Doesn’t solve the planned maintenance scenario
C. In an Availability set with one update domain
Single update domain means all VMs would be updated at the same time
Would result in application downtime during planned maintenance
Defeats the purpose of high availability
Key Points for AZ-104:
Update Domains (UD) = Protection against planned maintenance
Fault Domains (FD) = Protection against hardware failures
For planned maintenance scenarios, focus on Update Domains
Default: Azure provides up to 5 update domains [2]
Best practice: Distribute VMs across multiple update domains for maximum availability during planned maintenance
Your company is planning on hosting an application on a set of Azure virtual machines. The implementation should ensure that at least two virtual machines are available if a single Azure datacenter goes down. How would you plan to deploy the Azure virtual machines?
Across a single Availability Set
Across a set of Availability sets
Across a single Availability Zone
Across a set of Availability Zones
The correct answer is: Across a set of Availability Zones [1]
Here’s why this is the correct answer:
The key requirement is “ensure that at least two virtual machines are available if a single Azure datacenter goes down”
Availability Zones provide:
Physical separation of resources across different datacenters within the same Azure region [2]
Each zone is made up of one or more datacenters equipped with independent power, cooling, and networking
If one datacenter/zone fails, the other zones in the region remain operational
Why other options are not correct:
Across a single Availability Set
An Availability Set only protects against hardware failures within the same datacenter
Does not protect against datacenter-level failures
All VMs in an Availability Set are in the same datacenter
Across a set of Availability Sets
Multiple Availability Sets are still within the same datacenter
Does not protect against datacenter-level failures
Across a single Availability Zone
This would place all VMs in the same zone (datacenter)
Does not provide protection if that datacenter goes down
Best Practice Implementation:
Deploy VMs across multiple Availability Zones (minimum of 2 zones) [3]
Use a Load Balancer or Application Gateway to distribute traffic
Configure zone-redundant storage for VM disks
This ensures high availability even if an entire datacenter fails
Remember for AZ-104:
Availability Sets = Protection within a single datacenter
Availability Zones = Protection across different datacenters in the same region
Your company has an Azure virtual network that contains the following subnets
subnet A: 10.0.0.0/24
subnet B: 10.0.1.0/24
The following VMs:
appvm1: 10.0.0.5
appvm2: 10.0.1.5
appvm3: 10.0.1.6
A Network Security group named app-nsg1 has the following Inbound rules. This NSG is attached to SubnetA.
A Network Security group named app-nsg1 has the following Inbound rules. This NSG is attached to SubnetA.
Priority 120 allow 443 TCP from source 10.0.1.0/24 to 10.0.0.0/24
A Network Security group named app-nsg2 has the following Inbound rules. This NSG is attached to appvm1.
Priority 200 deny 443 TCP from source 10.0.1.5 to 10.0.0.5
Would appvm2 be able to connect on the TCP port of 443 of appvm1?
Yes
No
No
Since there is a specific rule in app-nsg2 to deny traffic, the request will not be allowed.
Your company has an Azure virtual network that contains the following subnets
subnet A: 10.0.0.0/24
subnet B: 10.0.1.0/24
The following VMs:
appvm1: 10.0.0.5
appvm2: 10.0.1.5
appvm3: 10.0.1.6
A Network Security group named app-nsg1 has the following Inbound rules. This NSG is attached to SubnetA.
A Network Security group named app-nsg1 has the following Inbound rules. This NSG is attached to SubnetA.
Priority 120 allow 443 TCP from source 10.0.1.0/24 to 10.0.0.0/24
A Network Security group named app-nsg2 has the following Inbound rules. This NSG is attached to appvm1.
Priority 200 deny 443 TCP from source 10.0.1.5 to 10.0.0.5
Would appvm1 be able to connect on the TCP port of 443 of appvm2?
Yes
No
Yes
Since there is no NSG specifically denying the request, the request will be allowed.
You have to use Azure Network Watcher to perform the various activities
1) Find out if a particular Network Security Group rule is preventing traffic from reaching an Azure virtual machine
2) Check the outbound connectivity from an Azure virtual machine to an external host
Which of the following can be used for the following requirement?
“Check the outbound connectivity from an Azure virtual machine to an external host”
Connection Troubleshoot
Next Hop
IP Flow Verify
Traffic Analytics
The correct answer is: Connection Troubleshoot
Here’s why Connection Troubleshoot is the correct answer:
Connection Troubleshoot:
Specifically designed to check connectivity between a source (VM) and a destination (external host)
Can verify outbound connections from a VM to:
External websites
External IP addresses
URLs
FQDN (Fully Qualified Domain Names)
Provides detailed diagnostic information about:
Connection status
Latency
Path information
Any connectivity issues
Why other options are incorrect:
IP Flow Verify:
Only checks if a specific packet is allowed or denied by NSG rules
Doesn’t actually test real connectivity
Limited to checking NSG rules, not actual network path or reachability
Next Hop:
Shows the next routing hop a packet would take
Used for routing troubleshooting
Doesn’t test actual connectivity
Only shows the next hop in the routing path
Traffic Analytics:
Provides visibility into network traffic patterns
Analyzes NSG flow logs
Historical analysis tool, not a real-time connectivity testing tool
Used for traffic monitoring and security analysis
Key Points for AZ-104:
Connection Troubleshoot = End-to-end connectivity testing
IP Flow Verify = NSG rule verification
Next Hop = Routing path verification
Traffic Analytics = Traffic pattern analysis
Remember: When you need to test actual connectivity from a VM to an external destination, Connection Troubleshoot is the appropriate Network Watcher feature to use.
You have to use Azure Network Watcher to perform the various activities
1) Find out if a particular Network Security Group rule is preventing traffic from reaching an Azure virtual machine
2) Check the outbound connectivity from an Azure virtual machine to an external host
Which of the following can be used for the following requirement?
“Find out if a particular Network Security Group rule is preventing traffic from reaching an Azure virtual machine”
Connection Troubleshoot
Next Hop
IP Flow Verify
Traffic Analytics
IP Flow Verify
You are going to be creating the following Azure Availability set
Fault domain: 2
Update domain: 10
12 virtual machines have been added to the availability set.
What is the maximum number of unavailable machines when a planned maintenance is carried out which impacts the Availability set?
A. 1
B. 2
C. 6
D. 12
2
Since there are 10 updates domains, there will be 2 updates domains that will have 2 machines each and the remaining update domains will have 1 machine each. This will give a total of 12 virtual machines spread across the update domains.
This means that at any point in time a maximum of 2 machines will not be available.
Formula for maximum unavailable VMs during planned maintenance:
Max Unavailable VMs = Total VMs ÷ Number of Update Domains
Let’s apply this to your scenario:
Total VMs = 12
Update Domains = 10
Max Unavailable VMs = 12 ÷ 10 = 1.2 (rounded up to 2)
Therefore, the answer is B. 2 machines.
Explanation:
During planned maintenance, Azure processes one update domain at a time
VMs are distributed across update domains evenly
When dividing 12 VMs across 10 update domains:
Some update domains will have 1 VM
Some update domains will have 2 VMs
The worst-case scenario is when maintenance affects an update domain containing 2 VMs
Note: The Fault Domain count (2) doesn’t affect planned maintenance calculations - it’s relevant for hardware failure scenarios.
Your Azure AD tenant currently has the following settings enabled for self-service password reset.
Select group: GroupA
Number method required to reset: 2
methods available to users:
+ Mobile app code
+ Security questions
Number of questions is required to register: 5
Number of questions is required to reset: 2
The following users are defined as part of your Azure AD tenant
User1@techsup4000gmail.onmicrosoft.com –GroupA
User2@techsup4000gmail.onmicrosoft.com –GroupB
Would User1 be able to reset their password after answering 4 of the security questions?
A. Yes
B. No
No
The user also needs to perform the method of Mobile app code to complete the process for reseting the password.
Your team has deployed an Azure virtual machine. You have to create an alert in Azure Monitor. The alert needs to send an email to an IT administrator whenever an error is detected in the System event log of the virtual machine. Which of the following would you create in Azure for this requirement?
A. Azure Log Analytics workspace
B. Azure Storage Account
C. Azure SQL database
D. Azure Logic Apps
Azure Log Analytics workspace
You can direct the logs to a Log Analytics workspace. And then create an alert based on the logs in the Log Analytics workspace.
You need to use the Azure Import/Export service to add files to an Azure Storage account. Which of the following files need to be in place for the import job? Choose 2 answers from the options given below (multi choose)
A. An XML file
B. A driveset CSV file
C. A dataset CSV file
D. A JSON file
A driveset CSV file
A dataset CSV file
Your team has a Recovery Services vault defined in the North Europe location and part of a resource group named app-grp.
The team also has the following Azure General Purpose V2 storage accounts in place
Name————————–Resource group———————-Location
appstore1000————–app-grp———————————-North Europe
appstore2000————–app-grp———————————-UK South
The team also has the following Azure Log Analytics workspaces in place
Name————————–Resource group———————-Location
logworkspace1000——–app-grp———————————-North Europe
logworkspace2000——–app-grp———————————-UK South
You need to configure the Diagnostic settings for the Recovery Services vault for the Azure Backup Reports log.
Can you configure appstore2000 for storage of the reports?
Yes
No
No
The Recovery Services Vault and the Azure Storage Account need to be in the same region.
Your company currently has the following Azure Storage Accounts in place
Name Storage Account Type Performance Replication
appstore1000 General Purpose V2 Standard Locally-redundant storage
appstore2000 BlockBlobStorage Premium Locally-redundant storage
appstore3000 General Purpose V2 Standard Read-access geo-redundant storage
appstore4000 General Purpose V1 Premium Locally-redundant storage
Can you convert the replication of appstore3000 to Zone-redundant storage by requesting Azure support for a live migration?
A. Yes
B. No
The answer is B. No
Here’s why:
Direct Replication Conversion Rules:
For GZRS/ZRS conversion:
- You CANNOT convert from RA-GRS (Read-access geo-redundant storage) to ZRS (Zone-redundant storage)
- Even Azure Support cannot perform this conversion as a live migration
Allowed Conversion Paths:
LRS -> ZRS (in supported regions)
ZRS -> LRS
LRS -> GRS/RA-GRS
GRS/RA-GRS -> LRS
Key Points:
appstore3000 is currently using RA-GRS (Read-access geo-redundant storage)
There is no direct conversion path from RA-GRS to ZRS
This limitation exists because:
ZRS and GRS/RA-GRS use fundamentally different architectures
ZRS replicates across availability zones in a single region
RA-GRS replicates across regions
Solution if ZRS is needed:
To get ZRS for this storage:
1. Create a new storage account with ZRS
2. Migrate data to the new account
3. Update applications to use new storage account
4. Delete old storage account
Your company currently has the following Azure Storage Accounts in place
Name Storage Account Type Performance Replication
appstore1000 General Purpose V2 Standard Locally-redundant storage
appstore2000 BlockBlobStorage Premium Locally-redundant storage
appstore3000 General Purpose V2 Standard Read-access geo-redundant storage
appstore4000 General Purpose V1 Premium Locally-redundant storage
Can you convert the replication of appstore1000 to Zone-redundant storage by requesting Azure support for a live migration?
A. Yes
B. No
Yes, this is supported for General Purpose V2 storage accounts that have the current replication type as Locally-redundant storage.