AZ-204 Actual Exam Questions

Last updated on Dec. 13, 2024.
Vendor:Microsoft
Exam Code:AZ-204
Exam Name:Developing Solutions for Microsoft Azure
Exam Questions:430
 

Topic 1 - Question Set 1

Question #1 Topic 1

You have two Hyper-V hosts named Host1 and Host2. Host1 has an Azure virtual machine named VM1 that was deployed by using a custom Azure Resource
Manager template.
You need to move VM1 to Host2.
What should you do?

  • A. From the Update management blade, click Enable.
  • B. From the Overview blade, move VM1 to a different subscription.
  • C. From the Redeploy blade, click Redeploy.
  • D. From the Profile blade, modify the usage location.
Reveal Solution Hide Solution   Discussion   24

Correct Answer: C 🗳️

Question #2 Topic 1

DRAG DROP -
You have downloaded an Azure Resource Manager template to deploy numerous virtual machines. The template is based on a current virtual machine, but must be adapted to reference an administrative password.
You need to make sure that the password is not stored in plain text.
You are preparing to create the necessary components to achieve your goal.
Which of the following should you create to achieve your goal? Answer by dragging the correct option from the list to the answer area.
Select and Place:

Reveal Solution Hide Solution   Discussion   14

Correct Answer:

Question #3 Topic 1

Your company has an Azure Kubernetes Service (AKS) cluster that you manage from an Azure AD-joined device. The cluster is located in a resource group.
Developers have created an application named MyApp. MyApp was packaged into a container image.
You need to deploy the YAML manifest file for the application.
Solution: You install the Azure CLI on the device and run the kubectl apply `"f myapp.yaml command.
Does this meet the goal?

  • A. Yes
  • B. No
Reveal Solution Hide Solution   Discussion   32

Correct Answer: A 🗳️

Question #4 Topic 1

Your company has an Azure Kubernetes Service (AKS) cluster that you manage from an Azure AD-joined device. The cluster is located in a resource group.
Developers have created an application named MyApp. MyApp was packaged into a container image.
You need to deploy the YAML manifest file for the application.
Solution: You install the docker client on the device and run the docker run -it microsoft/azure-cli:0.10.17 command.
Does this meet the goal?

  • A. Yes
  • B. No
Reveal Solution Hide Solution   Discussion   17

Correct Answer: B 🗳️

Question #5 Topic 1

Your company has a web app named WebApp1.
You use the WebJobs SDK to design a triggered App Service background task that automatically invokes a function in the code every time new data is received in a queue.
You are preparing to configure the service processes a queue data item.
Which of the following is the service you should use?

  • A. Logic Apps
  • B. WebJobs
  • C. Flow
  • D. Functions
Reveal Solution Hide Solution   Discussion   47

Correct Answer: B 🗳️

Question #6 Topic 1

Your company has an Azure subscription.
You need to deploy a number of Azure virtual machines to the subscription by using Azure Resource Manager (ARM) templates. The virtual machines will be included in a single availability set.
You need to ensure that the ARM template allows for as many virtual machines as possible to remain accessible in the event of fabric failure or maintenance.
Which of the following is the value that you should configure for the platformFaultDomainCount property?

  • A. 10
  • B. 30
  • C. Min Value
  • D. Max Value
Reveal Solution Hide Solution   Discussion   17

Correct Answer: D 🗳️

Question #7 Topic 1

Your company has an Azure subscription.
You need to deploy a number of Azure virtual machines to the subscription by using Azure Resource Manager (ARM) templates. The virtual machines will be included in a single availability set.
You need to ensure that the ARM template allows for as many virtual machines as possible to remain accessible in the event of fabric failure or maintenance.
Which of the following is the value that you should configure for the platformUpdateDomainCount property?

  • A. 10
  • B. 20
  • C. 30
  • D. 40
Reveal Solution Hide Solution   Discussion   46

Correct Answer: B 🗳️

Question #8 Topic 1

DRAG DROP -
You are creating an Azure Cosmos DB account that makes use of the SQL API. Data will be added to the account every day by a web application.
You need to ensure that an email notification is sent when information is received from IoT devices, and that compute cost is reduced.
You decide to deploy a function app.
Which of the following should you configure the function app to use? Answer by dragging the correct options from the list to the answer area.
Select and Place:

Reveal Solution Hide Solution   Discussion   26

Correct Answer:

Question #9 Topic 1

This question requires that you evaluate the underlined text to determine if it is correct.
You company has an on-premises deployment of MongoDB, and an Azure Cosmos DB account that makes use of the MongoDB API.
You need to devise a strategy to migrate MongoDB to the Azure Cosmos DB account.
You include the Data Management Gateway tool in your migration strategy.
Instructions: Review the underlined text. If it makes the statement correct, select `No change required.` If the statement is incorrect, select the answer choice that makes the statement correct.

  • A. No change required
  • B. mongorestore
  • C. Azure Storage Explorer
  • D. AzCopy
Reveal Solution Hide Solution   Discussion   37

Correct Answer: B 🗳️

Question #10 Topic 1

You are developing an e-Commerce Web App.
You want to use Azure Key Vault to ensure that sign-ins to the e-Commerce Web App are secured by using Azure App Service authentication and Azure Active
Directory (AAD).
What should you do on the e-Commerce Web App?

  • A. Run the az keyvault secret command.
  • B. Enable Azure AD Connect.
  • C. Enable Managed Service Identity (MSI).
  • D. Create an Azure AD service principal.
Reveal Solution Hide Solution   Discussion   14

Correct Answer: C 🗳️

file Viewing page 1 out of 43 pages.
Viewing questions 1-10 out of 430 questions
Next Questions
Browse atleast 50% to increase passing rate cup
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago