Unit 5 - Practice Quiz

INT327 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is a virtual machine (VM) in the context of cloud computing?

virtual machines Easy
A. A type of network router.
B. A container for running a single application process.
C. A software-based emulation of a physical computer.
D. A physical server located in a data center.

2 Which cloud service model does providing a virtual machine fall under?

virtual machines Easy
A. Software as a Service (SaaS)
B. Function as a Service (FaaS)
C. Platform as a Service (PaaS)
D. Infrastructure as a Service (IaaS)

3 What is the primary purpose of an Azure Availability Set?

Configure virtual machine availability Easy
A. To ensure high availability for VMs within a single datacenter by distributing them across different hardware.
B. To automatically scale the number of VMs based on traffic.
C. To provide a template for creating new VMs.
D. To group VMs together for easier billing.

4 Which Azure feature protects your applications from an entire datacenter failure by using physically separate locations within a region?

Configure virtual machine availability Easy
A. Availability Zones
B. Availability Sets
C. Update Domains
D. Resource Groups

5 What does an Azure App Service Plan define?

Azure App Service plans Easy
A. The source code and programming language of your web app.
B. The security rules and firewall settings for your web app.
C. The custom domain name and SSL certificate for your web app.
D. The compute resources (region, instance size, scale count) for your web apps.

6 If you have multiple web apps, can they share the same App Service Plan?

Azure App Service plans Easy
A. Only if the web apps are written in the same programming language.
B. Only if the web apps are in the 'Free' pricing tier.
C. Yes, multiple apps can run in and share the resources of a single plan.
D. No, every web app must have its own unique App Service Plan.

7 What is a 'deployment slot' in Azure App Service primarily used for?

Configure Azure App Service Easy
A. To reserve a static IP address for the application.
B. To define a specific server rack for the application to run on.
C. To stage and test a new version of an app before swapping it into production.
D. To store application log files and diagnostics data.

8 Which Azure App Service feature allows you to automatically increase or decrease the number of running instances based on performance metrics?

Configure Azure App Service Easy
A. Deployment Slots
B. Autoscaling
C. Application Insights
D. Load Balancing

9 What is the main benefit of using Azure Container Instances (ACI)?

Configure Azure Container Instances Easy
A. It is the best service for running stateful, database-driven applications.
B. It automatically builds container images from source code.
C. It allows you to run containers without managing any underlying virtual machines.
D. It provides a full Kubernetes orchestration environment.

10 Which of the following is billed on a per-second basis in Azure Container Instances?

Configure Azure Container Instances Easy
A. vCPU and memory resources allocated to the container group.
B. The amount of network data transferred out of Azure.
C. A flat monthly fee per subscription.
D. The number of container images stored in the registry.

11 Which is the correct Azure CLI command to start a stopped virtual machine?

Manage virtual machines with the Azure CLI Easy
A. az vm create --name MyVM --resource-group MyResourceGroup
B. az vm run --name MyVM --resource-group MyResourceGroup
C. az vm poweron --name MyVM --resource-group MyResourceGroup
D. az vm start --name MyVM --resource-group MyResourceGroup

12 What is the purpose of the --resource-group parameter in an az vm create command?

Manage virtual machines with the Azure CLI Easy
A. To select the VM size and performance tier.
B. To name the operating system disk for the new VM.
C. To specify the logical container where the new VM will be placed.
D. To assign a group of administrators to the new VM.

13 Azure App Service is an example of which type of cloud service model?

Host a web application with Azure App Service Easy
A. Infrastructure as a Service (IaaS)
B. Software as a Service (SaaS)
C. Platform as a Service (PaaS)
D. Desktop as a Service (DaaS)

14 Which of the following is a common method for deploying code to an Azure App Service web app?

Host a web application with Azure App Service Easy
A. Continuous deployment from a Git repository (like GitHub or Azure Repos).
B. Requesting a Microsoft engineer to manually upload the files.
C. Mailing a USB drive with the code to the Azure datacenter.
D. Using Remote Desktop to copy and paste files onto the server.

15 What is the primary purpose of an Azure Recovery Services vault?

Backup Vaults Easy
A. To manage DNS records and custom domain names.
B. To store and manage backups, recovery points, and backup policies.
C. To store virtual machine disk (VHD) files.
D. To store and manage user passwords and application secrets.

16 In the context of Azure Backup, what is a 'recovery point'?

Backup Vaults Easy
A. A user account with permission to perform a restore operation.
B. A copy of the original data from a specific point in time, from which you can restore.
C. A script that automates the backup process.
D. The physical datacenter location where the backup is stored.

17 What does a backup policy in an Azure Recovery Services vault define?

Backup Vaults Easy
A. The schedule for when backups are taken and how long they are kept.
B. The encryption key used to secure the backup data.
C. The network bandwidth limit for backup operations.
D. The list of users who are allowed to access the backups.

18 What file is used by a virtual machine to store its operating system and user data?

virtual machines Easy
A. A text file (.txt)
B. A configuration file (.config)
C. A network interface card (NIC)
D. Virtual Hard Disk (VHD)

19 Which of the following App Service Plan tiers is designed for development/testing and does not support custom domains?

Azure App Service plans Easy
A. Free
B. Basic
C. Premium
D. Standard

20 What is the Azure CLI?

Manage virtual machines with the Azure CLI Easy
A. A software development kit (SDK) for building applications on Azure.
B. A command-line tool for creating and managing Azure resources.
C. A web-based portal for managing billing and subscriptions.
D. A graphical user interface for monitoring Azure services.

21 You are deploying a new application that is memory-intensive for in-memory caching but has relatively low CPU requirements. To optimize costs, which Azure VM size series would be the most appropriate choice?

virtual machines Medium
A. D-series (General Purpose)
B. E-series (Memory Optimized)
C. N-series (GPU Optimized)
D. F-series (Compute Optimized)

22 You are deploying a critical 2-tier application consisting of two web servers and two database servers. To ensure the application can survive planned maintenance or a hardware failure within a datacenter, what is the best availability configuration?

Configure virtual machine availability Medium
A. Deploy all four virtual machines into a single Availability Zone.
B. Place the two web servers in one Availability Set, and the two database servers in a second, separate Availability Set.
C. Place all four virtual machines into a single Availability Set.
D. Place one web server and one database server into Availability Set 1, and the other pair into Availability Set 2.

23 Your company runs three web applications: a high-traffic production app, a staging app for testing, and a low-traffic development app. You need to ensure the production app's performance is not affected by the other apps, while minimizing costs. Which App Service Plan strategy should you implement?

Azure App Service plans Medium
A. Place all three apps in a single, large Premium V3 (P3V3) App Service Plan.
B. Create three separate Basic (B1) App Service Plans, one for each app.
C. Create a Premium V2 (P2V2) plan for the production app, and a single Basic (B1) plan for both the staging and development apps.
D. Create a single Standard (S3) plan and use deployment slots for each environment.

24 You need to temporarily stop a virtual machine named vm-main-01 in the resource group rg-prod to save on compute costs over the weekend. However, you must ensure that its public IP address is not released. Which Azure CLI command achieves this?

Manage virtual machines with the Azure CLI Medium
A. az vm deallocate --resource-group rg-prod --name vm-main-01
B. az vm stop --resource-group rg-prod --name vm-main-01
C. az vm delete --resource-group rg-prod --name vm-main-01
D. az vm poweroff --resource-group rg-prod --name vm-main-01

25 You need to run a container that executes a data-processing script once a day. The script runs for approximately 30 minutes and then exits. Which restart policy should you configure for the Azure Container Instance to ensure it runs to completion and does not restart automatically, optimizing for this type of task-based workload?

Configure Azure Container Instances Medium
A. Always
B. UnlessStopped
C. Never
D. OnFailure

26 You are managing a web application hosted on Azure App Service. You want to implement a blue-green deployment strategy to test a new version of the app with live traffic before making it the primary version. Which App Service feature is specifically designed for this purpose?

Configure Azure App Service Medium
A. Deployment slots
B. WebJobs
C. Kudu console
D. App Service diagnostics

27 You have developed a Python Flask web application and pushed the code to a GitHub repository. You want to configure the Azure App Service so that any new commit to the main branch of your GitHub repository automatically triggers a deployment to the App Service. What feature should you configure in the Azure portal?

Host a web application with Azure App Service Medium
A. A CI/CD pipeline using the Deployment Center with GitHub as the source
B. FTP/S credentials in the Deployment Center
C. A scheduled WebJob that pulls code from the repository
D. A manual deployment using the Kudu console after each commit

28 You have configured Azure Backup for a critical VM using a Recovery Services vault with the Cross-Region Restore feature enabled. A regional disaster makes the primary Azure region completely unavailable. What capability does Cross-Region Restore provide in this scenario?

Backup Vaults Medium
A. It creates a snapshot of the VM in the secondary region every hour.
B. It automatically fails over the VM to the secondary region.
C. It synchronizes the VM's disk writes in real-time to the secondary region.
D. It allows you to initiate a restore of the VM and its data to the paired secondary region from the backups stored there.

29 You need to deploy a business-critical application on Azure VMs that must be resilient to an entire datacenter failure within an Azure region. Which availability feature should you use?

Configure virtual machine availability Medium
A. Availability Sets
B. Availability Zones
C. Proximity Placement Groups
D. VM Scale Sets

30 An App Service Plan is currently hosting a web app that is experiencing high CPU usage. You decide to change the plan from a Standard S1 instance to a Premium P2V2 instance. What type of scaling operation is this, and what is its primary benefit?

Azure App Service plans Medium
A. Scaling in, which decreases the number of VM instances.
B. Scaling out, which adds more VM instances to handle the load.
C. Scaling down, which reduces the resources to save costs.
D. Scaling up, which increases the CPU, memory, and storage of the existing VM instance.

31 You are writing a script to automate the deployment of a new Linux VM. You need to resize the VM temp-vm in resource group dev-rg from its current Standard_B1s size to a Standard_D2s_v3. Which Azure CLI command correctly performs this action?

Manage virtual machines with the Azure CLI Medium
A. az vm resize --resource-group dev-rg --name temp-vm --size Standard_D2s_v3
B. az vm scale --resource-group dev-rg --name temp-vm --new-size Standard_D2s_v3
C. az vm modify --resource-group dev-rg --name temp-vm --size Standard_D2s_v3
D. az vm update --resource-group dev-rg --name temp-vm --set hardwareProfile.vmSize=Standard_D2s_v3

32 You are deploying a container to Azure Container Instances (ACI) that needs to securely access resources within an existing Azure Virtual Network (VNet). What is the primary prerequisite for deploying an ACI into a VNet?

Configure Azure Container Instances Medium
A. The VNet must be peered with another VNet.
B. The ACI configuration must include a Network Security Group (NSG).
C. The ACI must be deployed into a subnet that is delegated to 'Microsoft.ContainerInstance/containerGroups'.
D. The VNet must have a public IP address.

33 You are provisioning a new Windows Server VM in Azure that will host a high-traffic I/O-intensive database. For simplified management, high performance, and better reliability, which disk type should you choose for the OS and data disks?

virtual machines Medium
A. Unmanaged Disks on a Standard storage account.
B. Managed Disks with the Standard HDD option.
C. Unmanaged Disks on a Premium storage account.
D. Managed Disks with the Premium SSD option.

34 You have an Azure App Service web app and need to map a custom domain www.contoso.com to it. You have already verified ownership of contoso.com. What DNS records must you create with your domain registrar to point the domain to your web app?

Configure Azure App Service Medium
A. An A record pointing to the App Service's IP address and a TXT record for verification.
B. An MX record pointing to the App Service's IP address.
C. A CNAME record pointing www to the app's default hostname (e.g., myapp.azurewebsites.net).
D. A PTR record for reverse DNS lookup and an A record.

35 After deploying a new version of your .NET web application to Azure App Service, users report seeing a generic "502 Bad Gateway" error. You suspect an issue with the application's startup process. What is the most effective first step to diagnose this problem?

Host a web application with Azure App Service Medium
A. Restart the web app from the Azure portal.
B. Check the Azure Service Health dashboard for regional outages.
C. Scale up the App Service Plan to a higher tier.
D. Enable and review the Application Logging (Log stream) to check for startup errors or exceptions.

36 You have an App Service Plan running on the S1 tier with one instance. During a marketing campaign, your web app's traffic spikes, and you need to handle the increased load immediately. Which action represents 'scaling out' and would be an appropriate response?

Azure App Service plans Medium
A. Adding a new Web App to the existing S1 App Service Plan.
B. Configuring a Content Delivery Network (CDN) in front of the web app.
C. Increasing the number of worker instances in the S1 plan from one to three.
D. Changing the App Service Plan tier from S1 to P1V2.

37 You need to create a new Ubuntu Linux VM named web-vm-01 in the prod-rg resource group using a single Azure CLI command. The VM should have a public IP address and automatically generate SSH keys for authentication. Which command structure is correct for this task?

Manage virtual machines with the Azure CLI Medium
A. az vm new --name web-vm-01 --rg prod-rg --os-type Linux --ssh-keys-generate
B. az vm create --resource-group prod-rg --name web-vm-01 --image UbuntuLTS --generate-ssh-keys
C. az vm create --name web-vm-01 --resource-group prod-rg --image UbuntuLTS --generate-ssh-keys --public-ip-address ""
D. az vm run-command --resource-group prod-rg --name web-vm-01 --command-id CreateVM --image UbuntuLTS

38 An Availability Set in Azure is configured with 3 fault domains and 10 update domains. A virtual machine is placed within this set. What does this configuration imply for the VM?

Configure virtual machine availability Medium
A. The VM will not be rebooted for planned maintenance more than once in any 10-minute maintenance window.
B. The VM is isolated from hardware failures in 3 different racks and its host OS will be updated separately from hosts in 9 other update groups.
C. The VM is protected from the failure of up to 3 entire datacenters.
D. The VM shares a common power source and network switch with at most 2 other VMs in the set.

39 You need to pass a database connection string to a container running in Azure Container Instances without exposing this sensitive information in the container image or in deployment scripts. What is the most secure and appropriate ACI feature to use?

Configure Azure Container Instances Medium
A. Environment variables
B. A mounted Azure File Share containing a config file
C. Secure environment variables
D. A command-line argument

40 You are configuring an Azure App Service for a multi-tenant application. You need to ensure that only authenticated users from your company's Azure Active Directory (Azure AD) can access the application. Which is the simplest, built-in way to achieve this?

Configure Azure App Service Medium
A. Placing the App Service behind an Application Gateway with a Web Application Firewall (WAF).
B. Writing custom code within your application using the Microsoft Authentication Library (MSAL).
C. Configuring IP restrictions in the App Service networking settings.
D. Enabling the Authentication / Authorization feature (Easy Auth) and configuring Azure AD as an identity provider.

41 You are designing a 3-tier application on Azure. The web and application tiers must have extremely low latency between them (<1ms), while the database tier requires the highest possible SLA and resilience against a datacenter failure. The application and web tiers can tolerate a datacenter failure as long as the service is restored. Which configuration best meets these requirements?

Configure virtual machine availability Hard
A. Place web and app tier VMs into a Proximity Placement Group that is pinned to a single Availability Zone. Place the database tier VMs in a separate Availability Set spanning multiple fault/update domains.
B. Place the web and app tier VMs into a Proximity Placement Group. Place the database tier VMs across different Availability Zones. All resources must be within the same Availability Set.
C. Place the web and app tiers in a Proximity Placement Group, and place the database tier VMs across different Availability Zones.
D. Place all tiers in a single Availability Set.

42 You have dozens of VMs in a resource group. You need to retrieve a list of names and private IP addresses for only the VMs that are currently running, are located in eastus, and have a tag named Department with the value Finance. Which Azure CLI command with a JMESPath query correctly achieves this?

Manage virtual machines with the Azure CLI Hard
A. bash
az vm list --resource-group MyRG --show-details --query "[?powerState=='VM running' && location=='eastus' && tags.Department=='Finance'].{Name:name, PrivateIP:privateIps}" -o table
B. bash
az vm list --resource-group MyRG --query "[?tags.Department=='Finance' && location=='eastus'].{Name:name, PrivateIP:privateIps}" -o table --show-details
C. bash
az vm list-ip-addresses --resource-group MyRG | az vm list --query "[?tags.Department=='Finance' && location=='eastus'].{Name:name, PrivateIP:virtualMachine.network.privateIpAddresses[0]}" -o table
D. bash
az vm list --resource-group MyRG --query "[?powerState=='VM running' && location=='eastus' && tags.Department=='Finance'].{Name:name, PrivateIP:privateIps}" -o table

43 A financial services company needs to host a critical ASP.NET Core API. The requirements are: 1) Complete network isolation from other Azure tenants. 2) The ability to scale to handle up to 500 instances for month-end processing. 3) A VNet integration feature that allows access to on-premises resources via an ExpressRoute gateway. Which App Service Plan is the most appropriate and cost-effective choice?

Azure App Service plans Hard
A. Standard (S3) plan with Hybrid Connections.
B. Isolated v2 (I2v2) plan in an App Service Environment v3.
C. Premium v2 (P3v2) plan deployed into an App Service Environment v2.
D. Premium v3 (P3v3) plan with VNet integration.

44 Your company uses a Geo-Redundant Storage (GRS) enabled Recovery Services Vault in the West Europe region to back up critical VMs. A catastrophic failure renders the entire West Europe region inaccessible. You need to restore the VMs to the paired region, North Europe. What is a critical prerequisite and a key consideration when initiating the Cross-Region Restore (CRR)?

Backup Vaults Hard
A. CRR is enabled by default on all GRS vaults; you can immediately restore to the paired region with the latest recovery point.
B. You must have enabled the CRR feature on the vault before the disaster. The restore process involves rehydrating data from archive-tier storage, which can take several hours.
C. You must have manually enabled the CRR feature on the vault before the disaster occurred. The RPO will be several hours, as GRS replication is asynchronous.
D. You must first declare a disaster with Azure support, which will trigger the GRS failover. Only then can you access the backup data in the paired region.

45 You need to run a containerized data-processing task in Azure Container Instances (ACI). The task must read input files from a specific Azure File Share and securely write results to an Azure SQL Database. Both the Storage Account and the SQL Server are protected by service endpoints, allowing access only from a specific virtual network (VNet). What is the correct and most secure configuration for the ACI container group?

Configure Azure Container Instances Hard
A. Deploy the ACI into the same VNet, mount the Azure File Share as a volume, and use a connection string with credentials stored in environment variables to connect to Azure SQL.
B. Deploy the ACI into a subnet within the VNet, use a system-assigned Managed Identity for the container group to authenticate with Azure SQL, and mount the Azure File Share as a volume using the storage account key stored in Azure Key Vault.
C. Deploy the ACI into a subnet within the VNet, grant the ACI's system-assigned Managed Identity permissions to both the Storage Account (for file share access) and the Azure SQL Database, and configure the container to use Managed Identity for authentication to both services.
D. Deploy the ACI with a public IP, use the Storage Account access key to mount the Azure File Share, and whitelist the ACI's public IP on the SQL Server firewall.

46 You are managing a web application with a staging deployment slot. You've just deployed a new version to staging and swapped it to production. A critical bug is found. You need to immediately roll back. During the initial slot configuration, the database connection string was marked as a "Deployment slot setting". What is the effect of this configuration on the rollback process?

Configure Azure App Service Hard
A. When you swap production and staging back, the production app will correctly point to the old code but will use the staging database connection string, potentially causing data corruption.
B. The swap operation will fail because a slot-specific setting has changed, requiring a manual update before rollback.
C. The rollback swap will succeed, and the production app will correctly use the production connection string because slot settings are swapped along with the content.
D. When you swap back, the now-production slot (containing the old code) will retain its original production connection string, ensuring a seamless and safe rollback.

47 You are provisioning an Azure VM to host a large in-memory NoSQL database (like Redis or Memcached) that also requires extremely high, low-latency local disk throughput for temporary data and swap files. The workload is characterized by frequent, small read/write operations on a large dataset that must reside in RAM. Which VM series and storage configuration is the most technically suitable and cost-optimized for this specific workload?

virtual machines Hard
A. A Dv5-series VM with multiple Premium SSD P30 disks configured in a RAID 0 array for high IOPS.
B. An Lsv3-series VM utilizing its local NVMe SSD for temporary data and swap files.
C. An Esv5-series VM with an Ultra Disk configured for maximum IOPS.
D. An M-series VM with Premium SSD storage.

48 A Python Flask application running on an Azure App Service for Linux (P1v2 plan) is experiencing intermittent 502 Bad Gateway errors under moderate load. The App Service metrics show CPU and Memory are below 70%, but the 'Http Server Errors' metric is spiking. The application logs show tracebacks related to 'database connection timeout'. The database is an Azure Database for PostgreSQL. What is the most likely root cause of this issue?

Host a web application with Azure App Service Hard
A. The Web Application Firewall (WAF) is incorrectly blocking legitimate database connection requests.
B. The outbound TCP connection (SNAT) limit for the App Service has been exhausted.
C. A misconfigured deployment slot is routing traffic to an offline instance.
D. The App Service Plan (P1v2) is underpowered and needs to be scaled up to a P2v2.

49 You have two business-critical VMs. To achieve high availability, you are evaluating two options:
1. Place both VMs in the same Availability Set within the East US region.
2. Place one VM in Availability Zone 1 and the other in Availability Zone 2 within the East US 2 region.

Assuming both VMs are running an identical application behind an Azure Load Balancer, which statement most accurately describes the difference in resilience and guaranteed SLA?

Configure virtual machine availability Hard
A. Option 1 provides protection against software updates via Update Domains, while Option 2 does not offer any protection against planned maintenance events.
B. Option 1 provides a 99.95% SLA and protects against hardware failure within a datacenter. Option 2 provides a 99.99% SLA and protects against an entire datacenter failure.
C. Option 1 provides a 99.9% SLA against rack failures. Option 2 provides a 99.95% SLA against datacenter failures.
D. Both options provide a 99.99% SLA, but Option 2 has lower inter-VM latency.

50 You need to write a script to deallocate all VMs in a resource group named ProjectX-RG that have a tag AutoShutdown set to true. However, the script must only deallocate a VM if its last boot time was more than 24 hours ago. Which combination of Azure CLI commands and scripting logic is required to accomplish this?

Manage virtual machines with the Azure CLI Hard
A. A single az vm deallocate command with a complex --query parameter to filter by tags and boot time.
B. Use az vm run-command to execute a script inside each VM that checks its own uptime and shuts down if it exceeds 24 hours.
C. Use az graph to query all VMs with the specified tag and boot time properties, then pipe the resulting VM IDs to xargs with az vm deallocate.
D. Use az vm list with a query for the tag, then loop through the results. In the loop, use az vm get-instance-view to check the boot time and, if the condition is met, call az vm deallocate.

51 You have configured an Azure VM backup policy with a daily backup retained for 30 days and a monthly backup sent to an Archive tier for 7 years (Long-Term Retention). A year later, an auditor requests a specific file from a VM that was backed up 180 days ago. What is the process and primary consideration for retrieving this file?

Backup Vaults Hard
A. Initiate an Item-Level Restore directly from the archive tier; the process will be slow but will eventually mount the recovery point.
B. You must first initiate a 'rehydration' of the archived recovery point to the standard/vault tier, which may take several hours and incur costs. Once rehydrated, you can perform an Item-Level Restore.
C. Data in the Archive tier is for full DR scenarios only and does not support Item-Level Restore. The request cannot be fulfilled.
D. You must first perform a full restore of the VM from the archive tier to a new VM, then retrieve the file.

52 You need to run a GPU-accelerated machine learning inference workload using Azure Container Instances (ACI). The workload is sporadic, running for about 30 minutes every few hours. You need to minimize costs while ensuring the container has the necessary NVIDIA drivers. Which of the following statements accurately describes the optimal configuration approach?

Configure Azure Container Instances Hard
A. Choose any GPU SKU, package the NVIDIA drivers inside your container image, and deploy to ACI.
B. Choose a V100 GPU SKU, a Linux-based container image with CUDA dependencies, and rely on the ACI platform to provision the GPU-enabled host with the necessary drivers, making them available to the container.
C. Choose a K80 GPU SKU, a Windows-based container image, and specify the drivers to be installed in the ARM template.
D. Choose a V100 GPU SKU, a Linux-based container image, and assume Azure automatically provisions the NVIDIA drivers on the underlying host.

53 An App Service Plan (P2v2) in West Europe hosts ten different web apps for various departments. One of the apps, a reporting app, runs a heavy process every hour that consumes 95% of the CPU for 10 minutes, causing performance degradation for all other nine apps. What is the most operationally efficient and cost-effective solution to isolate the performance impact of the reporting app?

Azure App Service plans Hard
A. Refactor the reporting process into an Azure Function with a Premium plan, triggered by a timer.
B. Keep the app in the same plan, but configure CPU quotas for it in the App Service settings.
C. Move the reporting app to a new, separate App Service Plan (e.g., another P2v2).
D. Scale up the current App Service Plan to a P3v2 to provide more CPU headroom for all apps.

54 You are deploying a high-performance SQL Server on an Azure VM that requires over 100,000 IOPS and sub-millisecond latency for its data files. The log files have a lower IOPS requirement but need extremely low latency. Which disk configuration provides the best performance for this workload?

virtual machines Hard
A. Use a single large Ultra Disk for both data and log files, dynamically tuning its IOPS and throughput settings.
B. Place data files on a RAID 0 stripe set of 5 P40 Premium SSDs and log files on a single P30 Premium SSD.
C. Place data files on a Premium SSD v2 disk configured for maximum IOPS, and place log files on a separate Ultra Disk configured for low IOPS but with caching set to 'ReadOnly'.
D. Place data files on a Premium SSD v2 disk configured for high IOPS and throughput, and place log files on a separate Ultra Disk configured for lower IOPS but guaranteeing sub-millisecond latency.

55 An App Service needs to securely connect to an on-premises Oracle database. The on-premises network is connected to Azure via a Site-to-Site VPN terminating on a Virtual Network Gateway in a VNet. The App Service must not be exposed to the public internet. Which configuration enables this connectivity?

Configure Azure App Service Hard
A. Integrate the App Service with the VNet (VNet Integration), and ensure the VNet's routing table directs traffic for the on-premises IP range to the Virtual Network Gateway.
B. Configure a Hybrid Connection from the App Service to an on-premises server running the Hybrid Connection Manager.
C. Configure a Point-to-Site VPN from the App Service instance directly to the on-premises network.
D. Deploy the App Service into an App Service Environment (ASE) with a public IP and configure the on-premises firewall to allow traffic only from this IP.

56 You have deployed a new version of a .NET web application to an Azure App Service staging slot. You have enabled the 'Swap with preview' feature to warm up the new version before completing the swap. During the preview phase, you notice a significant number of HTTP 500 errors in the application logs originating from the staging slot (now routing production traffic). What is the safest and most immediate course of action?

Host a web application with Azure App Service Hard
A. Restart the staging slot instance from the Kudu console to force a clean application start.
B. Complete the swap, assuming the errors are transient warm-up issues, and then troubleshoot in production.
C. Cancel the swap. This will revert all traffic back to the original production slot immediately.
D. Scale up the App Service Plan to provide more resources to the warming-up instance.

57 You need to update a complex, nested property on a virtual machine's configuration that is not exposed through a direct az vm update parameter. For example, you want to set the priority property within the billingProfile object to Spot. How can you achieve this using the Azure CLI without rewriting the entire VM configuration?

Manage virtual machines with the Azure CLI Hard
A. Export the VM's JSON with az vm show, manually edit the JSON file to add the billing profile, and then re-apply it using az vm create with the modified JSON.
B. Use the az rest command to directly call the Azure Resource Manager API with a PATCH request and a JSON body containing only the property to be changed.
C. Use az vm update --set billingProfile.priority='Spot' --name MyVM -g MyRG.
D. Use the generic az resource update command with the appropriate --set property path.

58 An organization has a strict security policy that all Azure service traffic must remain on the Azure private network backbone and never traverse the public internet. They need to back up VMs located in a VNet to a Recovery Services Vault. What is the complete set of components required to meet this policy?

Backup Vaults Hard
A. A Recovery Services Vault configured for VNet service endpoints for Microsoft.RecoveryServices.
B. A Recovery Services Vault with a Private Endpoint, a corresponding private DNS zone (e.g., privatelink.siterecovery.windowsazure.com) to resolve the vault's FQDN to the private IP, and public network access disabled on the vault.
C. A Recovery Services Vault, a Private Endpoint for the vault in the VNet, and public access disabled on the vault.
D. A Recovery Services Vault with a Private Endpoint, and a Network Security Group (NSG) rule on the VM subnet allowing outbound traffic to the 'AzureBackup' service tag.

59 A Virtual Machine Scale Set (VMSS) is deployed with its instances spread across all 3 Availability Zones in a region. You have also associated this VMSS with a Proximity Placement Group (PPG) to minimize latency for a co-located resource. What is the resulting behavior of instance placement?

Configure virtual machine availability Hard
A. The deployment will fail, as a VMSS cannot be associated with both Availability Zones and a Proximity Placement Group simultaneously.
B. The VMSS will deploy all instances into a single zone, whichever zone the PPG is anchored to, ignoring the multi-zone setting.
C. The PPG setting will be ignored, and the instances will be spread across the 3 zones for maximum availability.
D. The VMSS will distribute instances across the 3 Availability Zones, and within each zone, it will attempt to place the instances in the same datacenter as other resources in the PPG.

60 Your company is migrating a legacy application to an Azure VM. This application is licensed based on the number of physical CPU cores and is not compatible with hyper-threading (it performs worse with SMT enabled). You need to run it on a VM with 8 vCPUs but ensure it is running on only 4 physical cores. Which Azure VM feature allows you to achieve this specific configuration?

virtual machines Hard
A. Choosing a VM from a constrained vCPU-capable series (e.g., Standard_E8-4ds_v5).
B. Running a startup script on the VM to disable hyper-threading in the guest OS.
C. Using a dedicated host to control the underlying physical hardware.
D. This is not possible; Azure vCPUs are an abstraction and cannot be mapped to physical cores.