Winter Special Sale - Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 575363r9

Welcome To DumpsPedia

AZ-204 Sample Questions Answers

Questions 4

You need to store inventory item images.

Which Azure Blob Storage feature should you use? To answer, move the appropriate Azure Blob Storage features to the correct requirements. You may use each Azure Blob Storage feature once, more than once, or not at all. You may need to move the split bar between panes or scroll to view content

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 5

You need to resolve the Shipping web site error.

How should you configre the Azure Table Storage service? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 6

You need to secure the Shipping Logic App.

What should you use?

Options:

A.

Azure App Service Environment (ASE)

B.

Azure AD B2B integration

C.

Integration Service Environment (ISE)

D.

VNet service endpoint

Buy Now
Questions 7

You need to retrieve all order line items from Order.json and sort the data alphabetically by the city.

How should you complete the code? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 8

You need to deploy a new version of the LabelMaker application to ACR.

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.

Options:

Buy Now
Questions 9

You need to configure Azure Cosmos DB.

Which settings should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 10

You need to add code at line AM10 of the application manifest to ensure that the requirement for manually reviewing content can be met.

How should you complete the code? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 11

You need to support the requirements for the Shipping Logic App.

What should you use?

Options:

A.

Azure Active Directory Application Proxy

B.

Point-to-Site (P2S) VPN connection

C.

Site-to-Site (S2S) VPN connection

D.

On-premises Data Gateway

Buy Now
Questions 12

You need to add code at line AM09 to ensure that users can review content using ContentAnalysisService.

How should you complete the code? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 13

You need to ensure that validation testing is triggered per the requirements.

How should you complete the code segment? To answer, select the appropriate values in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 14

You need to migrate on-premises shipping data to Azure.

What should you use?

Options:

A.

Azure Migrate

B.

Azure Cosmos DB Data Migration tool (dt.exe)

C.

AzCopy

D.

Azure Database Migration service

Buy Now
Questions 15

You need to access data from the user claim object in the e-commerce web app.

What should you do first?

Options:

A.

Write custom code to make a Microsoft Graph API call from the e-commerce web app.

B.

Assign the Contributor RBAC role to the e-commerce web app by using the Resource Manager create role assignment API.

C.

Update the e-commerce web app to read the HTTP request header values.

D.

Using the Azure CLI, enable Cross-origin resource sharing (CORS) from the e-commerce checkout API to the e-commerce web app.

Buy Now
Questions 16

You need to correct the Azure Logic app error message.

Which configuration values should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 17

You need to correct the VM issues.

Which tools should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 18

You need to support the message processing for the ocean transport workflow.

Which four 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.

Options:

Buy Now
Questions 19

You need to configure Azure CDN for the Shipping web site.

Which configuration options should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 20

You need to investigate the Azure Function app error message in the development environment.

What should you do?

Options:

A.

Connect Live Metrics Stream from Application Insights to the Azure Function app and filter the metrics.

B.

Create a new Azure Log Analytics workspace and instrument the Azure Function app with Application Insights.

C.

Update the Azure Function app with extension methods from Microsoft.Extensions.Logging to log events by using the log instance.

D.

Add a new diagnostic setting to the Azure Function app to send logs to Log Analytics.

Buy Now
Questions 21

You need to configure Azure App Service to support the REST API requirements.

Which values should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 22

You need to secure the Shipping Function app.

How should you configure the app? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 23

You need to configure API Management for authentication.

Which policy values should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 24

You need to configure security and compliance for the corporate website files.

Which Azure Blob storage settings should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 25

You need to support local development testing for developers. Which tool should you use?

Options:

A.

Azurite

B.

Azure Storage Emulator

C.

SQL Server Management Studio (SSMS)

D.

Azure Storage Explorer

Buy Now
Questions 26

You need to secure the corporate website for users.

Which four 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

NOTE: More than one order of answer choices is correct You will receive credit for any of the correct orders you select.

Options:

Buy Now
Questions 27

You need to securely access inventory items when developing the Inventory Items API.

What are three possible ways to achieve this goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Create a custom Microsoft Entra role

Assign the custom role to the Azure Cosmos DB account Update the function app to use certificate-based authentication.

B.

Create a SQL role definition under the Azure Cosmos DB account.

Create a user-assigned managed identity and assign the identity to the function app.

Assign the user-assigned managed identity the SQL role definition.

Update the function app code to implement the DefaultAzurecredential class and reference the user-assigned managed identity.

C.

Create a system-assigned managed identity for the function app with read access to secrets in Azure Key Vault. Store the Azure Cosmos DB primary key and URI in Azure Key Vault as secrets.

Use function app settings to reference the secret values.

D.

Create a custom Microsoft Entra role. Assign the custom role to Azure Key Vault. Assign the custom role to the function app.

Reference the custom role in the function app code when accessing Azure Key Vault values.

E.

Create a SQL role definition under the Azure Cosmos DB account. Assign the role to the function app's system-assigned managed identity. Programmatically access the Azure Cosmos OB keys from the function app.

Buy Now
Questions 28

You need to update the APIs to resolve the testing error.

How should you complete the Azure CLI command? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 29

You need to implement a function by using Azure Functions to process customized items.

How should you implement the function? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 30

You need to implement the processing of enqueuer inventory items.

Which message value should you use?

Options:

A.

Session identifier

B.

Sequence number

C.

Partition key

D.

Time stamp

Buy Now
Questions 31

You need to mitigate the Azure Cache for Redis issue.

What are two possible ways to achieve this goal? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Increase the maxmemory-reserved and maxfragmenTationmemory-reserved values

B.

Modify the maxmemory policy to evict the least frequently used keys out of all keys.

C.

Configure client connections to retry commands with exponential backoff.

D.

Test application code by purging the cache in the test environment.

E.

Test application code by rebooting all nodes in the test environment.

Buy Now
Questions 32

You need to save customized items to Azure Cosmos DB.

Which Azure Cosmos DB configuration should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 33

You need to add code at line PC26 of Processing.cs to ensure that security policies are met.

How should you complete the code that you will add at line PC26? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 34

You need to add code at line PC32 in Processing.cs to implement the GetCredentials method in the Processing class.

How should you complete the code? To answer, drag the appropriate code segments to the correct locations. Each code segment 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.

Options:

Buy Now
Questions 35

You need to ensure disaster recovery requirements are met.

What code should you add at line PC16?

To answer, drag the appropriate code fragments to the correct locations. Each code fragment 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.

Options:

Buy Now
Questions 36

You need to resolve the capacity issue.

What should you do?

Options:

A.

Convert the trigger on the Azure Function to an Azure Blob storage trigger

B.

Ensure that the consumption plan is configured correctly to allow scaling

C.

Move the Azure Function to a dedicated App Service Plan

D.

Update the loop starting on line PC09 to process items in parallel

Buy Now
Questions 37

You need to secure the corporate website to meet the security requirements.

What should you do?

Options:

A.

Create an App Service instance with a standard plan. Configure the custom domain with a TLS/SSL certificate.

B.

Create an Azure Application Gateway with a Web Application Firewall (WAF). Configure end-to-end TLS encryption and the WAF.

C.

Create an Azure Cache for Radis instance. Update the code to support the cache.

D.

Create an Azure Content Delivery Network profile and endpoint. Configure the endpoint.

Buy Now
Questions 38

You need to correct the internal staff issue with webpages.

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.

Options:

Buy Now
Questions 39

You need to correct the errors for farmers and distributors.

Which solution should you use? To answer, select the appropriate options in the answer area

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 40

You need to configure all site configuration settings for the corporate website.

Which three actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Create a managed identity.

B.

Update the role assignments for the Azure App Configuration store

C.

Create an Azure Key Vault.

D.

Create an Azure App Configuration store.

E.

Update the role assignments for the Azure Key Vault.

Buy Now
Questions 41

You need to resolve the authentication errors for developers.

Which Service Bus security configuration should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 42

You need to implement farmer authentication.

Which three actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Add the shared access signature (SAS) token to the app

B.

Create a shared access signature (SAS) token.

C.

Register the app in Microsoft Entra ID.

D.

Create a user flow.

E.

Add the app to the user flow.

Buy Now
Questions 43

You need to implement an aggregate of telemetry values for distributor API calls.

Which Application Insights API method should you use?

Options:

A.

TrackTrace

B.

Track Exception

C.

TrackEvent

D.

TrackDependency

E.

TrackMetric

Buy Now
Questions 44

You need to configure App Service to support the corporate website migration.

Which configuration should you use? To answer, select the appropriate options in the answer area

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 45

You need to provide internal staff access to the production site after a validation.

How should you complete the code segment? To answer, select the appropriate options in the answer area

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 46

You need to audit the retail store sales transactions.

What are two possible ways to achieve the goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Update the retail store location data upload process to include blob index tags. Create an Azure Function to process the blob index tags and filter by store location

B.

Enable blob versioning for the storage account. Use an Azure Function to process a list of the blob versions per day.

C.

Process an Azure Storage blob inventory report by using an Azure Function. Create rule filters on the blob inventory report,

D.

Subscribe to blob storage events by using an Azure Function and Azure Event Grid. Filter the events by store location.

E.

Process the change feed logs of the Azure Blob storage account by using an Azure Function. Specify a time range for the change feed data.

Buy Now
Questions 47

YOU need to reliably identify the delivery driver profile information.

How should you configure the system? To answer, select the appropriate options in the answer area.

NOTE Each correct selection is worth one point.

Options:

Buy Now
Questions 48

You need to implement the corporate website.

How should you configure the solution?

Options:

Buy Now
Questions 49

You need to implement a solution to resolve the retail store location data issue.

Which three Azure Blob features should you enable? Each correct answer presents part of the solution.

NOTE Each correct selection is worth one point

Options:

A.

Immutability

B.

Snapshots

C.

Versioning

D.

Soft delete

E.

Object replication

F.

Change feed

Buy Now
Questions 50

You need to secure the Azure Functions to meet the security requirements.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Store the RSA-HSM key in Azure Cosmos DB. Apery the built-in policies for customer-managed keys and allowed locations.

B.

Create a free tier Azure App Configuration instance with a new Azure AD service principal.

C.

Store the RSA-HSM key in Azure Key Vault with soft-delete and purge-protection features enabled.

D.

Store the RSA-HSM key in Azure Blob storage with an Immutability policy applied to the container.

E.

Create a standard tier Azure App Configuration instance with an assigned Azure AD managed identity.

Buy Now
Questions 51

you need to reduce read latency for the retail store solution.

What are two possible ways to achieve the goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Create a new composite index for the store location data queries in Azure Cosmos DB. Modify the queries to support parameterized SQL and update the Azure function app to call the new Queries.

B.

Configure Azure Cosmos DB consistency to strong consistency Increase the RUs for the container supporting store location data.

C.

Provision an Azure Cosmos OB dedicated gateway, update blob storage to use the new dedicated gateway endpoint.

D.

Configure Azure Cosmos DB consistency to session consistency. Cache session tokens in a new Azure Redis cache instance after every write. Update reads to use the session token stored in Azure Redis.

E.

Provision an Azure Cosmos DB dedicated gateway Update the Azure Function app connection string to use the new dedicated gateway endpoint.

Buy Now
Questions 52

You need to secure the Azure Functions to meet the security requirements.

Which two actions should you perform? Each correct answer presents part of the solution

NOTE: Each correct selection is worth one point.

Options:

A.

Store the RSA-HSM key in Azure Key Vault with soft-delete and purge-protection features enabled

B.

Store the RSA-HSM key in Azure Blob storage with an immutability policy applied to the container.

C.

Store the RSA-HSM key in Azure Cosmos DB. Apply the built-in policies for customer-managed Keys and allowed locations

D.

Create a standard tier Azure App Configuration instance with an assigned Azure AD managed identity.

E.

Create a free tier Azure App Configuration instance with a new Azure AD service principal.

Buy Now
Questions 53

You need to implement the delivery service telemetry data

How should you configure the solution?

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 54

You need to implement event routing for retail store location data.

Which configuration should you use?

Options:

Buy Now
Questions 55

You need to grant access to the retail store location data for the inventory service development effort. What should you use?

Options:

A.

Azure AD access token

B.

Azure RBAC role

C.

Azure AD ID token

D.

Shared access signature (SAS) token

E.

Azure AD refresh token

Buy Now
Questions 56

You need to test the availability of the corporate website.

Which two test types can you use?

Options:

A.

Custom testing using the TrackAvailability API method

B.

Standard

C.

URL Ping

D.

Multi-step

Buy Now
Questions 57

You are developing a web application that uses Azure Cache for Redis. You anticipate that the cache will frequently fill and that you will need to evict keys.

You must configure Azure Cache for Redis based on the following predicted usage pattern: A small subset of elements will be accessed much more often than the rest.

You need to configure the Azure Cache for Redis to optimize performance for the predicted usage pattern.

Which two eviction policies will achieve the goal?

NOTE: Each correct selection is worth one point.

Options:

A.

noeviction

B.

allkeys-lru

C.

volatile-lru

D.

allkeys-random

E.

volatile-ttl

F.

volatile-random

Buy Now
Questions 58

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 in the review screen.

You are developing a website that will run as an Azure Web App. Users will authenticate by using their Azure Active Directory (Azure AD) credentials.

You plan to assign users one of the following permission levels for the website: admin, normal, and reader. A user’s Azure AD group membership must be used to determine the permission level.

You need to configure authorization.

Solution:

    Create a new Azure AD application. In the application’s manifest, define application roles that match the required permission levels for the application.

    Assign the appropriate Azure AD group to each role. In the website, use the value of the roles claim from the JWT for the user to determine permissions.

Does the solution meet the goal?

Options:

A.

Yes

B.

No

Buy Now
Questions 59

You have an App Service plan named aspl based on the Free pricing tier.

You plan to use aspl to implement an Azure Function app with a queue trigger. Your solution must minimize cost.

You need to identify the configuration options that will meet the requirements.

Which value should you configure? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 60

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 implementing an application by using Azure Event Grid to push near-real-time information to customers.

You have the following requirements:

• You must send events to thousands of customers that include hundreds of various event types.

• The events must be filtered by event type before processing.

• Authentication and authorization must be handled by using Microsoft Entra ID.

• The events must be published to a single endpoint

You need to implement Azure Event Gnd.

Solution: Publish events to a system topic. Create an event subscription for each customer.

Does the solution meet the goal?

Options:

A.

Yes

B.

No

Buy Now
Questions 61

You must ensure that the external party cannot access the data in the SSN column of the Person table.

Will each protection method meet the requirement? To answer, drag the appropriate responses to the correct protection methods. Each response 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.

Options:

Buy Now
Questions 62

You develop and deploy a web application to Azure App Service. The application accesses data stored in an Azure Storage account. The account contains several containers with several blobs with large amounts of data. You deploy all Azure resources to a single region.

You need to move the Azure Storage account to the new region. You must copy all data to the new region.

What should you do first?

Options:

A.

Export the Azure Storage account Azure Resource Manager template

B.

Initiate a storage account failover

C.

Configure object replication for all blobs

D.

Use the AzCopy command line tool

E.

Create a new Azure Storage account in the current region

F.

Create a new subscription in the current region

Buy Now
Questions 63

You use Azure Table storage to store customer information for an application. The data contains customer details and is partitioned by last name. You need to create a query that returns all customers with the last name Smith. Which code segment should you use?

Options:

A.

TableQuery.GenerateFilterCondition("PartitionKey", Equals, "Smith")

B.

TableQuery.GenerateFilterCondition("LastName", Equals, "Smith")

C.

TableQuery.GenerateFilterCondition("PartitionKey", QueryComparisons.Equal, "Smith")

D.

TableQuery.GenerateFilterCondition("LastName", QueryComparisons.Equal, "Smith")

Buy Now
Questions 64

You are developing an application to store and retrieve data in Azure Blob storage. The application will be hosted in an on-premises virtual machine (VM). The VM is connected to Azure by using a Site-to-Site VPN gateway connection. The application is secured by using Azure Active Directory (Azure AD) credentials.

The application must be granted access to the Azure Blob storage account with a start time, expiry time, and read permissions. The Azure Blob storage account access must use the Azure AD credentials of the application to secure data access. Data access must be able to be revoked if the client application security is breached.

You need to secure the application access to Azure Blob storage.

Which security features should you use? To answer select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 65

You are developing several Azure API Management (APIM) hosted APIs.

You must transform the APIs to hide private backend information and obscure the technology stack used to implement the backend processing.

You need to protect all APIs.

What should you do?

Options:

A.

Configure and apply a new inbound policy scoped to a product.

B.

Configure and apply a new outbound policy scoped to the operation.

C.

Configure and apply a new outbound policy scoped to global.

D.

Configure and apply a new backend policy scoped to global.

Buy Now
Questions 66

Note: This question is part of a series of questions that present the same scenario. Each question in the scries 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 in the review screen.

Margie’s Travel is an international travel and bookings management service. The company is expanding into restaurant bookings. You are tasked with implementing Azure Search for the restaurants listed in their solution.

You create the index in Azure Search.

You need to import the restaurant data into the Azure Search service by using the Azure Search .NET SDK.

Solution:

1. Create a SearchlndexClient object to connect to the search index.

2. Create a DataContainer that contains the documents which must be added.

3. Create a DataSource instance and set its Container property to the DataContamer

4 Call the Documents.Suggest method of the SearchlndexClient and pass the DataSource.

Does the solution meet the goal?

Options:

A.

Yes

B.

No

Buy Now
Questions 67

You develop and deploy a web app to Azure App service. The web app allows users to authenticate by using social identity providers through the Azure B2C service. All user profile information is stored in Azure B2C.

You must update the web app to display common user properties from Azure B2C to include the following information:

    Email address

    Job title

    First name

    Last name

    Office Location

You need to implement the user properties in the web app.

Options:

Buy Now
Questions 68

You are developing an Azure Web App. You configure TLS mutual authentication for the web app.

You need to validate the client certificate in the web app. To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 69

You are developing Azure WebJobs.

You need to recommend a WebJob type for each scenario.

Which WebJob type should you recommend? To answer, drag the appropriate WebJob types to the correct scenarios. Each WebJob type 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.

Options:

Buy Now
Exam Code: AZ-204
Exam Name: Developing Solutions for Microsoft Azure
Last Update: Feb 11, 2025
Questions: 432
$70  $174.99
$54  $134.99
$46  $114.99
buy now AZ-204