Skip to Content

AZ-303 Microsoft Azure Architect Technologies Exam Questions and Answers – Page 1

The latest Microsoft AZ-303 Microsoft Azure Architect Technologies certification actual real practice exam question and answer (Q&A) dumps are available free, which are helpful for you to pass the Microsoft AZ-303 Microsoft Azure Architect Technologies exam and earn Microsoft AZ-303 Microsoft Azure Architect Technologies certification.

AZ-303 Microsoft Azure Architect Technologies Exam Questions and Answers

Exam Question 71

You have an Azure Kubernetes Service (AKS) cluster named Clus1 in a resource group named RG1.
An administrator plans to manage Clus1 from an Azure AD-joined device.
You need to ensure that the administrator can deploy the YAML application manifest file for a container application.
You install the Azure CLI on the device.
Which command should you run next?

A. kubectl get nodes
B. az aks get-credentials –resource-group RG1 –name Clus1
C. az aks install-cli
D. kubectl apply –f app1.yaml

Correct Answer:
D. kubectl apply –f app1.yaml
Answer Description:
kubectl apply –f appl.yaml applies a configuration change to a resource from a file or stdin.

Exam Question 72

You create an Azure Kubernetes Service (AKS) cluster configured as shown in the exhibit. (Click the Exhibit tab.)

You create an Azure Kubernetes Service (AKS) cluster configured as shown in the exhibit.

You create an Azure Kubernetes Service (AKS) cluster configured as shown in the exhibit.

You deploy a containerized application named App1 to the agentPool node pool.
You need to create a containerized application named App2 that runs on four nodes of size DS3 v2.
What should you do first?

A. Upgrade the AKS cluster.
B. Create a new node pool.
C. Modify the autoscaling settings for the agentPool node.
D. Enable virtual nodes for the AKS cluster.

Correct Answer:
B. Create a new node pool.
Answer Description:
Changing the agent size is not allowed. In the future Microsft plans to support multiple node pools wherein you can create different pools with different VM sizes.

Exam Question 73

You have an on-premises virtual machine named VM1 configured as shown in the following exhibit.

You have an on-premises virtual machine named VM1 configured as shown in the following exhibit.

You have an on-premises virtual machine named VM1 configured as shown in the following exhibit.

VM1 is started.
You need to create a new virtual machine image in Azure from VM1.
Which three actions should you perform before you create the new image? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

A. Run Add-AzVhd and specify a file share as the destination.
B. Convert the disk type to VHD.
C. Remove the Backup (volume shadow copy) integration service.
D. Generalize VM1.
E. Reduce the amount of memory to 16 GB.
F. Run Add-AzVhd and specify a blob service container as the destination.

Correct Answer:
B. Convert the disk type to VHD.
D. Generalize VM1.
F. Run Add-AzVhd and specify a blob service container as the destination.
Answer Description:
D: Sysprep removes all your personal account and security information, and then prepares the machine to be used as an image.
B, F: The Add-AzureVhd cmdlet uploads on-premises virtual hard disks, in .vhd file format, to a blob storage account as fixed virtual hard disks.

Exam Question 74

You create an Azure Kubernetes Service (AKS) cluster and an Azure Container Registry.
You need to perform continuous deployments of a containerized application to the AKS cluster as soon as the image updates in the registry.
What should you use to perform the deployments?

A. an Azure Automation runbook
B. a kubectl script from a CRON job
C. an Azure Resource Manager template
D. an Azure Pipelines release pipeline

Correct Answer:
D. an Azure Pipelines release pipeline
Answer Description:
You can implement a Continuous Deployment pipeline.
Example:

You can implement a Continuous Deployment pipeline.

You can implement a Continuous Deployment pipeline.

What the pipeline accomplishes:
Stage 1: The code gets pushed in the Github. The Jenkins job gets triggered automatically. The Dockerfile is checked out from Github.
Stage 2: Docker builds an image from the Dockerfile and then the image is tagged with the build number. Additionally, the latest tag is also attached to the image for the containers to use.
Stage 3: We have default deployment and service YAML files stored on the Jenkins server. Jenkins makes a copy of the default YAML files, make the necessary changes according to the build and put them in a separate folder.
Stage 4: kubectl was initially configured at the time of setting up AKS on the Jenkins server. The YAML files are fed to the kubectl util which in turn creates pods and services.

Exam Question 75

You have an Azure web app that runs in a Premium App Service plan.
Developers plan to update the app weekly.
You need to ensure that the app can be switched from the current version to the new version. The solution must meet the following requirements:

  • Provide the developers with the ability to test the app in Azure prior to switching versions. Testing must use the same app instance.
  • Ensure that the app version can be rolled back.
  • Minimize downtime.

What should you do?

A. Create a deployment slot.
B. Copy the App Service plan.
C. Add an instance of the app to the scale set.
D. Create an Azure Active Directory (Azure AD) enterprise application.

Correct Answer:
A. Create a deployment slot.
Answer Description:
Azure Functions deployment slots allow your function app to run different instances called “slots”. Slots are different environments exposed via a publicly available endpoint. One app instance is always mapped to the production slot, and you can swap instances assigned to a slot on demand.
There are a number of advantages to using deployment slots. The following scenarios describe common uses for slots:
– Different environments for different purposes: Using different slots gives you the opportunity to differentiate app instances before swapping to production or a staging slot.
– Easy fallbacks: After a swap with production, the slot with a previously staged app now has the previous production app. If the changes swapped into the production slot aren’t as you expect, you can immediately reverse the swap to get your “last known good instance” back.
– Prewarming

Question Set 1: Implement and Manage Data Platforms

Exam Question 76

The developers at your company request that you create databases in Azure Cosmos DB as shown in the following table.

The developers at your company request that you create databases in Azure Cosmos DB as shown in the following table.

The developers at your company request that you create databases in Azure Cosmos DB as shown in the following table.

You need to create the Azure Cosmos DB databases to meet the developer request. The solution must minimize costs.
What are two possible ways to achieve the goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

A. Create three Azure Cosmos DB accounts, one for the databases that use the Core (SQL) API, one for CosmosDB2, and one for CosmosDB4.
B. Create two Azure Cosmos DB accounts, one for CosmosDB2 and CosmosDB4 and one for CosmosDB1 and CosmosDB3.
C. Create one Azure Cosmos DB account for each database.
D. Create three Azure Cosmos DB accounts, one for the databases that use the MongoDB API, one for CosmosDB1, and one for CosmosDB3.

Correct Answer:
B. Create two Azure Cosmos DB accounts, one for CosmosDB2 and CosmosDB4 and one for CosmosDB1 and CosmosDB3.
D. Create three Azure Cosmos DB accounts, one for the databases that use the MongoDB API, one for CosmosDB1, and one for CosmosDB3.
Answer Description:
Note: Microsoft recommends using the same API for all access to the data in a given account.
One throughput provisioned container per subscription for SQL, Gremlin API, and Table accounts.
Up to three throughput provisioned collections per subscription for MongoDB accounts.
The throughput provisioned on an Azure Cosmos container is exclusively reserved for that container. The container receives the provisioned throughput all the time.

Exam Question 77

You have three Azure SQL Database servers shown in the following table.

You have three Azure SQL Database servers shown in the following table.

You have three Azure SQL Database servers shown in the following table.

You plan to specify sqlserver1 as the primary server in a failover group.
Which servers can be used as a secondary server?

A. sqlserver4 and sqlserver5 only
B. sqlserver2 and sqlserver3 only
C. sqlserver2, sqlserver3, sqlserver4, and sqlserver5
D. sqlserver2 and sqlserver4 only

Correct Answer:
D. sqlserver2 and sqlserver4 only
Answer Description:
The Resource Group must be the same.
The secondary server can have another location.
The secondary server cannot be the same as the primary server.

Exam Question 78

You have two Azure SQL Database managed instances in different Azure regions.
You plan to configure the managed instances in an instance failover group.
What should you configure before you can add the managed instances to the instance failover group?

A. an internal Azure Load Balancer instance that has managed instance endpoints in a backend pool
B. Azure Private Link that has endpoints on two virtual networks
C. an Azure Application Gateway that has managed instance endpoints in a backend pool
D. a Site-to-Site VPN between the virtual networks that contain the instances

Correct Answer:
D. a Site-to-Site VPN between the virtual networks that contain the instances
Answer Description:
For two managed instances to participate in a failover group, there must be either ExpressRoute or a gateway configured between the virtual networks of the two managed instances to allow network communication.
You create the two VPN gateways and connect them.
1. Create the gateway for the virtual network of your primary managed instance using the Azure portal.
2. Create the gateway for the virtual network of your secondary managed instance using the Azure portal.
3. Create a bidirectional connection between the two gateways of the two virtual networks.

Exam Question 79

You have an Azure subscription that contains 100 virtual machines.
You have a set of Pester tests in PowerShell that validate the virtual machine environment.
You need to run the tests whenever there is an operating system update on the virtual machines. The solution must minimize implementation time and recurring costs.
Which three resources should you use to implement the tests? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

A. Azure Automation runbook
B. an alert rule
C. an Azure Monitor query
D. a virtual machine that has network access to the 100 virtual machines
E. an alert action group

Correct Answer:
A. Azure Automation runbook
B. an alert rule
E. an alert action group
Answer Description:
AE: You can call Azure Automation runbooks by using action groups or by using classic alerts to automate tasks based on alerts.
B: Alerts are one of the key features of Azure Monitor. They allow us to alert on actions within an Azure subscription

Exam Question 80

You have an Azure subscription that contains the web apps shown in the following table.

You have an Azure subscription that contains the web apps shown in the following table.

You have an Azure subscription that contains the web apps shown in the following table.

For which web app can you configure a WebJob?

A. WebApp1
B. WebApp4
C. WebApp2
D. WebApp3

Correct Answer:
B. WebApp4
Answer Description:
Publishing a .NET Core WebJob to App Service from Visual Studio uses the same tooling as publishing an ASP.NET Core app.