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
In an Availability set with two update domains
To protect against planned maintenance , you have to consider update domains in an Availability Set. And then you need to ensure you have a separate update domain for each virtual machine.
Fault Domains:
Definition: A fault domain is a group of VMs that share a common power source and network switch.
Purpose: Provides redundancy against hardware failures by distributing VMs across different physical hardware.
Update Domains:
Definition: An update domain is a group of VMs that can be updated or rebooted at the same time.
Purpose: Ensures application availability during planned maintenance by staggering updates across multiple update domains.
Fault Domains vs. Update Domains:
Fault Domains: Focus on hardware redundancy. They protect against physical hardware failures.
Update Domains: Focus on software and maintenance redundancy. They protect against downtime during planned maintenance.
Min & Max Fault Domains: 2 & 2, Typically, Azure provides up to three fault domains for most regions
Min & Max Update Domains: 2 & 20
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
Across a set of Availability Zones
To protect against data center level failures and also if you want to connectivity to multiple machines, ensure that the VM’s are deployed across various Availability Zones.
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
Connection Troubleshoot
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