Microsoft AZ-204 dumps are the best solution for the “Developing Solutions for Microsoft Azure” certification exam, combined with actual scene verification, it is real and effective!
So they all use Microsoft AZ-204 dumps to help themselves with exam practice! The latest Microsoft AZ-204 dumps currently contain 474 exam questions and answers!
Download the Microsoft AZ-204 dumps: https://www.leads4pass.com/az-204.html anytime to ensure instant validity!
Learning Catalog:
- Latest Microsoft AZ-204 Exam Details
- Latest Microsoft AZ-204 exam resources
- Conclusion
Latest Microsoft AZ-204 Exam Details
The exam name is “Microsoft Azure Development Solutions” and the exam code is AZ-204. The exam consists of 40-60 questions and the question types can be case studies, short answer, multiple choice, graded review, drag and drop, etc.
If you pass this certification exam, you may be eligible for ACE college credit. For more information, see ACE College Credit for Certification Exams. Additionally, this certification is part of the requirements for: Microsoft Certification: Azure Developer Associate.
1. | Exam Name | Developing Solutions for Microsoft Azure |
2. | Exam Code | AZ-204 |
3. | Time | 150 minutes |
4. | Exam Format | Reordering, Case Studies, Drag-and-drop, Command-line, and Multiple-choice |
5. | Exam Type | Cloud Computing |
6. | Number of Questions | 40-60 Questions |
7. | Eligibility/Pre-Requisite | NIL |
8. | Exam Fee | $165 USD* |
9. | Exam Language | English, Japanese, Chinese (Simplified), Korean, French, German, Spanish, Portuguese (Brazil), Russian, Chinese (Traditional), Italian, Indonesian (Indonesia), Arabic (Saudi Arabia) |
10. | Retirement Date | None |
11. | Passing score | 700/1000 |
12. | Update | The English language version of this exam will be updated on August 21, 2023 |
13. | Validity period | This certification is valid for two years from the date of the issue. |
14. | Prerequisites | At least one to two years of experience working with Microsoft Azure is needed for programmers to sit for the AZ-204 exam |
Latest Microsoft AZ-204 Exam Questions
The AZ-204 exam is not easy. I believe many people have discussed the best solution: Books, community discussions, online training, etc. plus the most important practice test can ensure a 99% exam success rate!
From | Number of exam questions | Format | Associated certification |
leads4pass | 495Q&A | PDF + VCE | Microsoft Azure |
Question 1:
HOTSPOT
You are developing a solution that uses several Azure Service Bus queues. You create an Azure Event Grid subscription for the Azure Service Bus namespace. You use Azure Functions as subscribers to process the messages.
You need to emit events to Azure Event Grid from the queues. You must use the principle of least privilege and minimize costs.
Which Azure Service Bus values should you use? To answer, select the appropriate options in the answer area.
Each correct selection is worth more points
Hot Area:
Correct Answer:
Question 2:
You develop Azure Web Apps for a commercial diving company. Regulations require that all divers fill out a health questionnaire every 15 days after each diving job starts.
You need to configure the Azure Web Apps so that the instance count scales up when divers are filling out the questionnaire and scales down after they are complete.
You need to configure autoscaling.
What are two possible auto-scaling configurations to achieve this goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. Recurrence profile
B. CPU usage-based autoscaling
C. Fixed date profile
D. Predictive autoscaling
Correct Answer: BD
B. CPU usage-based autoscaling
D. Predictive autoscaling
A. Recurrence profile is used to schedule the scaling of resources at specific times or dates, but it does not meet the requirement to scale up when divers are filling out the questionnaire and scale down after they are complete. It only triggers scaling based on a set schedule, not based on actual usage.
C. Fixed date profile is used to specify the number of instances at a specific date and time, but it also does not meet the requirement to dynamically scale based on actual usage. It only sets a fixed number of instances and does not adjust based on changing workloads.
Question 3:
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:
Correct Answer:
Question 4:
You are implementing an Azure API app that uses built-in authentication and authorization functionality.
All app actions must be associated with information about the current user.
You need to retrieve the information about the current user.
What are two ways to achieve the goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. HTTP headers
B. environment variables
C. /.auth/me HTTP endpoint
D. /.auth/login endpoint
Correct Answer: AC
A: After App Service Authentication has been configured, users trying to access your API are prompted to sign in with their organizational account that belongs to the same Azure AD as the Azure AD application used to secure the API. After signing in, you are able to access the information about the current user through the HttpContext.Current.User property.
C: While the server code has access to request headers, the client code can access GET /.auth/me to get the same access tokens (
References: https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-auth-aad https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/guidance/connect-to-api-secured-with-aad
Question 5:
HOTSPOT
You need to implement the corporate website.
How should you configure the solution?
Hot Area:
Correct Answer:
Question 6:
DRAG DROP
You are preparing to deploy a medical records application to an Azure virtual machine (VM). The application will be deployed by using a VHD produced by an on-premises build server.
You need to ensure that both the application and related data are encrypted during and after deployment to Azure.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:
Correct Answer:
Step 1: Encrypt the on-premises VHD by using BitLocker without a TPM. Upload the VM to Azure Storage
Step 2: Run the Azure PowerShell command Set-AzureRMVMOSDisk
To use an existing disk instead of creating a new disk you can use the Set-AzureRMVMOSDisk command.
Example:
$osDiskName = $vmname+\’_osDisk\’
$osDiskCaching = \’ReadWrite\’
$osDiskVhdUri = “https://$stoname.blob.core.windows.net/vhds/”+$vmname+”_os.vhd”
$vm = Set-AzureRmVMOSDisk -VM $vm -VhdUri $osDiskVhdUri -name $osDiskName -Create
Step 3: Run the Azure PowerShell command Set-AzureRmVMDiskEncryptionExtension
Use the Set-AzVMDiskEncryptionExtension cmdlet to enable encryption on a running IaaS virtual machine in Azure.
Incorrect:
Not TPM: BitLocker can work with or without a TPM. A TPM is a tamper-resistant security chip on the system board that will hold the keys for encryption and check the integrity of the boot sequence and allows the most secure BitLocker
implementation. A VM does not have a TPM.
References:
https://www.itprotoday.com/iaaspaas/use-existing-vhd-azurerm-vm
Question 7:
DRAG DROP
You are preparing to deploy an Azure virtual machine (VM)-based application.
The VMs that run the application have the following requirements:
1.
When a VM is provisioned the firewall must be automatically configured before it can access Azure resources.
2.
Supporting services must be installed by using an Azure PowerShell script that is stored in Azure Storage.
You need to ensure that the requirements are met.
Which features should you use? To answer, drag the appropriate features to the correct requirements. Each feature may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:
Correct Answer:
Reference: https://docs.microsoft.com/en-us/azure/automation/automation-hybrid-runbook-worker https://docs.microsoft.com/en-us/azure/virtual-machines/windows/run-command
Question 8:
DRAG DROP
You are developing an application. You have an Azure user account that has access to two subscriptions.
You need to retrieve a storage account key secret from Azure Key Vault.
In which order should you arrange the PowerShell commands to develop the solution? To answer, move all commands from the list of commands to the answer area and arrange them in the correct order.
Select and Place:
Correct Answer:
Step 1: Get-AzSubscription
If you have multiple subscriptions, you might have to specify the one that was used to create your key vault. Enter the following to see the subscriptions for your account:
Get-AzSubscription
Step 2: Set-AzContext -SubscriptionId
To specify the subscription that\’s associated with the key vault you\’ll be logging, enter:
Set-AzContext -SubscriptionId
Step 3: Get-AzStorageAccountKey
You must get that storage account key.
Step 4: $secretvalue = ConvertTo-SecureString -AsPlainText -Force
Set-AzKeyVaultSecret -VaultName -Name -SecretValue $secretvalue
After retrieving your secret (in this case, your storage account key), you must convert that key to a secure string, and then create a secret with that value in your key vault.
Step 5: Get-AzKeyVaultSecret
Next, get the URI for the secret you created. You\’ll need this URI in a later step to call the key vault and retrieve your secret. Run the following PowerShell command and make note of the ID value, which is the secret\’s URI:
Get-AzKeyVaultSecret –VaultName
Reference:
https://docs.microsoft.com/bs-latn-ba/Azure/key-vault/key-vault-key-rotation-log-monitoring
Question 9:
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear on the review screen.
You develop an HTTP-triggered Azure Function app to process Azure Storage blob data. The app is triggered using an output binding on the blob.
The app continues to time out after four minutes. The app must process the blob data.
You need to ensure the app does not time out and processes the blob data.
Solution: Update the function timeout property of the host.json project file to 10 minutes.
Does the solution meet the goal?
A. Yes
B. No
Correct Answer: B
Instead, pass the HTTP trigger payload into an Azure Service Bus queue to be processed by a queue trigger function and return an immediate HTTP success response.
Note: Large, long-running functions can cause unexpected timeout issues. General best practices include:
Whenever possible, refactor large functions into smaller function sets that work together and return responses fast. For example, a webhook or HTTP trigger function might require an acknowledgment response within a certain time limit; it\’s
common for webhooks to require an immediate response. You can pass the HTTP trigger payload into a queue to be processed by a queue trigger function. This approach lets you defer the actual work and return an immediate response.
Reference:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-best-practices
Question 10:
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear on the review screen.
You are developing an Azure Service application that processes queue data when it receives a message from a mobile application. Messages may not be sent to the service consistently.
You have the following requirements:
1.
Queue size must not grow larger than 80 gigabytes (GB).
2.
Use first-in-first-out (FIFO) ordering of messages.
3.
Minimize Azure costs.
You need to implement the messaging solution.
Solution: Use the .Net API to add a message to an Azure Storage Queue from the mobile application. Create an Azure VM that is triggered from Azure Storage Queue events.
Does the solution meet the goal?
A. Yes
B. No
Correct Answer: B
Don’t use a VM, instead create an Azure Function App that uses an Azure Service Bus Queue trigger.
Question 11:
DRAG DROP
You are developing a web service that will run on Azure virtual machines that use Azure Storage. You configure all virtual machines to use managed identities.
You have the following requirements:
1.
Secret-based authentication mechanisms are not permitted for accessing an Azure Storage account.
2.
Must use only Azure Instance Metadata Service endpoints.
You need to write code to retrieve an access token to access Azure Storage. To answer, drag the appropriate code segments to the correct locations. Each code segment may be used once or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:
Correct Answer:
Azure Instance Metadata Service endpoints “/oauth2/token”
Box 1: http://169.254.169.254/metadata/identity/oauth2/token Sample request using the Azure Instance Metadata Service (IMDS) endpoint (recommended): GET \’http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02- 01andresource=https://management.azure.com/\’ HTTP/1.1 Metadata: true Box 2: JsonConvert.DeserializeObject>(payload); Deserialized token response; returning access code.
Question 12:
HOTSPOT
You are working for a company that designs mobile applications. They maintain a server where player records are assigned to their different games. The tracking system is new and in development.
The application uses Entity Framework to connect to an Azure Database. The database holds a Player table and a Game table.
When adding a player, the code should insert a new player record, and add a relationship between an existing game record and the new player record.
The application will call CreatePlayerWithGame with the correct game ID and the player to start the process. (Line numbers are included for reference only.)
For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Many-to-many relationships without an entity class to represent the join table are not yet supported. However, you can represent a many-to-many relationship by including an entity class for the join table and mapping two separate one-to-many relationships.
protected override void OnModelCreating(ModelBuilder modelBuilder) {
modelBuilder.Entity()
HasKey(t => new { t.PostId, t.TagId });
modelBuilder.Entity()
HasOne(pt => pt.Post)
WithMany(p => p.PostTags)
HasForeignKey(pt => pt.PostId);
modelBuilder.Entity()
HasOne(pt => pt.Tag)
WithMany(t => t.PostTags)
HasForeignKey(pt => pt.TagId);
}
}
Question 13:
You are developing an Azure Durable Function to manage an online ordering process.
The process must call an external API to gather product discount information.
You need to implement Azure Durable Function.
Which Azure Durable Function types should you use? Each correct answer presents part of the solution
NOTE: Each correct selection is worth one point
A. Orchestrator
B. Entity
C. Activity
D. Client
Correct Answer: AB
The Durable Functions extension exposes a set of built-in HTTP APIs that can be used to perform management tasks on orchestrations, entities, and task hubs. These HTTP APIs are extensibility webhooks that are authorized by the Azure Functions host but handled directly by the Durable Functions extension.
Reference: https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-http-api
Question 14:
You are developing an Azure App Service REST API.
The API must be called by an Azure App Service web app. The API must retrieve and update user profile information stored in Azure Active Directory (Azure AD).
You need to configure the API to make the updates.
Which two tools should you use? Each correct answer presents part of the solution
NOTE: Each correct selection is worth one point.
A. Microsoft Graph API
B. Microsoft Authentication Library (MSAL)
C. Azure API Management
D. Microsoft Azure Security Center
E. Microsoft Azure Key Vault SDK
Correct Answer: AC
A: You can use the Azure AD REST APIs in Microsoft Graph to create unique workflows between Azure AD resources and third-party services.
Enterprise developers use Microsoft Graph to integrate Azure AD identity management and other services to automate administrative workflows, such as employee onboarding (and termination), profile maintenance, license deployment, and more.
C: API Management (APIM) is a way to create consistent and modern API gateways for existing back-end services.
API Management helps organizations publish APIs to external, partner, and internal developers to unlock the potential of their data and services.
Reference:
https://docs.microsoft.com/en-us/graph/azuread-identity-access-management-concept-overview
Question 15:
You develop a solution that uses an Azure SQL Database to store user information for a mobile app.
The app stores sensitive information about users.
You need to hide sensitive information from developers that query the data for the mobile app.
Which three items must you identify when configuring dynamic data masking? Each correct answer presents a part of the solution.
NOTE: Each correct selection is worth one point.
A. Column
B. Table
C. Trigger
D. Index
E. Schema
Correct Answer: ABE
In the Dynamic Data Masking configuration page, you may see some database columns that the recommendations engine has flagged for masking. In order to accept the recommendations, just click Add Mask for one or more columns and a mask is created based on the default type for this column. You can change the masking function by clicking on the masking rule and editing the masking field format to a different format of your choice.
References: https://docs.microsoft.com/en-us/azure/sql-database/sql-database-dynamic-data-masking-get-started-portal
…
Download the complete exam practice resource! For the latest 474 AZ-204 exam questions and answers, please click >>
Conclusion:
Microsoft AZ-204 dumps contain the latest exam questions and answers, an important piece of the puzzle to complete the ultimate goal! Study plus practical practice ensures that candidates will successfully pass the AZ-204 exam! Click here: https://www.leads4pass.com/az-204.html, to download the complete exam practice resources!