Exam2pass
0 items Sign In or Register
  • Home
  • IT Exams
  • Guarantee
  • FAQs
  • Reviews
  • Contact Us
  • Demo
Exam2pass > Microsoft > Microsoft Certifications > AZ-204 > AZ-204 Online Practice Questions and Answers

AZ-204 Online Practice Questions and Answers

Questions 4

DRAG DROP

You manage several existing Logic Apps.

You need to change definitions, add new logic and optimize these apps on a regular basis.

What should you use? To answer, drag the appropriate tools to the coned functionalities. Each tool 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:

Buy Now

Correct Answer:

Questions 5

HOTSPOT

Your company is migrating applications to Azure. The IT department must allow internal developers to communicate with Microsoft support.

The service agents of the IT department must only have view resources and create support ticket permissions to all subscriptions. A new custom role must be created by reusing a default role definition and changing the permissions.

You need to create the custom role.

To answer, select the appropriate options in the answer area;

NOTE: Each correct selection is worth one point.

Hot Area:

Buy Now

Correct Answer:

Box 1: Set-AzureRmRoleDefinition Input-File C:\SupportRole.json

The Set-AzureRmRoleDefinition cmdlet updates an existing custom role in Azure Role- Based Access Control. Provide the updated role definition as an input to the command as a JSON file or a PSRoleDefinition object.

The role definition for the updated custom role MUST contain the Id and all other required properties of the role even if they are not updated: DisplayName, Description, Actions, AssignableScope

Box 2: "*/read*."* Microsoft.Support/*"

Microsoft.Support/* Create and manage support tickets "Microsoft.Support" role definition azure

Questions 6

HOTSPOT

You are developing a solution to store documents in Azure Blob storage. Customers upload documents to multiple containers. Documents consist of PDF, CSV, Microsoft Office format, and plain text files.

The solution must process millions of documents across hundreds of containers. The solution must meet the following requirements:

Document must the categorized by a customer identifier as they are uploaded to the storage account.

Allow filtering by the customer identifier.

Allow searching of information contained within a document.

Minimize costs.

You created and configure a standard general-purpose v2 storage account to support the solution.

You need to implement the solution.

NOTE: Each correct selection is worth one point.

Hot Area:

Buy Now

Correct Answer:

Questions 7

HOTSPOT

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.

Hot Area:

Buy Now

Correct Answer:

Box 1: sid

Sid: Session ID, used for per-session user sign-out. Personal and Azure AD accounts.

Scenario: Manual review

To review content, the user must authenticate to the website portion of the ContentAnalysisService using their Azure AD credentials. The website is built using React and all pages and API endpoints require authentication. In order to review

content a user must be part of a ContentReviewer role.

Box 2: email

Scenario: All completed reviews must include the reviewer's email address for auditing purposes.

Questions 8

A company is implementing a publish-subscribe (Pub/Sub) messaging component by using Azure Service Bus. You are developing the first subscription application.

In the Azure portal you see that messages are being sent to the subscription for each topic. You create and initialize a subscription client object by supplying the correct details, but the subscription application is still not consuming the

messages.

You need to complete the source code of the subscription client

What should you do?

A. await subscriptionClient.CloseAsync();

B. await subscriptionClient.AddRuleAsync(new RuleDescription(RuleDescription.DefaultRuleName, new TrueFilter()));

C. subscriptionClient.RegisterMessageHandler(ProcessMessagesAsync, messageHandlerOptions);

D. subscriptionClient = new SubscriptionClient(ServiceBusConnectionString, TopicName, SubscriptionName);

Buy Now

Correct Answer: C

Using topic client, call RegisterMessageHandler which is used to receive messages continuously from the entity. It registers a message handler and begins a new thread to receive messages. This handler is waited on every time a new message is received by the receiver.

subscriptionClient.RegisterMessageHandler(ReceiveMessagesAsync, messageHandlerOptions);

References: https://www.c-sharpcorner.com/article/azure-service-bus-topic-and-subscription-pub-sub/

Questions 9

You are developing a web app that uses Azure Active Directory (Azure AD) for authentication.

You want to configure the web app to use multifactor authentication.

What should you do?

A. Enable mobile app authentication.

B. In Azure AD conditional access, enable the baseline policy.

C. In Azure AD, create a conditional access policy.

D. Install the Azure Multi-Factor Authentication Server.

Buy Now

Correct Answer: C

MFA is enabled by conditional access policy. It is the most flexible means to enable two-step verification for your users. Enabling using conditional access policy only works for Azure MFA in the cloud and is a premium feature of Azure AD.

Reference: https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-mfa-getstarted

Questions 10

You are developing an application to transfer data between on-premises file servers and Azure Blob storage. The application stores keys, secrets, and certificates in Azure Key Vault and makes use of the Azure Key Vault APIs.

You want to configure the application to allow recovery of an accidental deletion of the key vault or key vault objects for 90 days after deletion.

What should you do?

A. Run the Add-AzKeyVaultKey cmdlet.

B. Run the az keyvault update --enable-soft-delete true --enable-purge-protection true CLI.

C. Implement virtual network service endpoints for Azure Key Vault.

D. Run the az keyvault update --enable-soft-delete false CLI.

Buy Now

Correct Answer: B

When soft-delete is enabled, resources marked as deleted resources are retained for a specified period (90 days by default). The service further provides a mechanism for recovering the deleted object, essentially undoing the deletion.

Purge protection is an optional Key Vault behavior and is not enabled by default. Purge protection can only be enabled once soft-delete is enabled.

When purge protection is on, a vault or an object in the deleted state cannot be purged until the retention period has passed. Soft-deleted vaults and objects can still be recovered, ensuring that the retention policy will be followed.

The default retention period is 90 days, but it is possible to set the retention policy interval to a value from 7 to 90 days through the Azure portal. Once the retention policy interval is set and saved it cannot be changed for that vault.

Reference:

https://docs.microsoft.com/en-us/azure/key-vault/general/overview-soft-delete

Questions 11

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 develop a software as a service (SaaS) offering to manage photographs. Users upload photos to a web service which then stores the photos in Azure Storage Blob storage. The storage account type is General-purpose V2.

When photos are uploaded, they must be processed to produce and save a mobile-friendly version of the image. The process to produce a mobile-friendly version of the image must start in less than one minute.

You need to design the process that starts the photo processing.

Solution: Use the Azure Blob Storage change feed to trigger photo processing.

Does the solution meet the goal?

A. Yes

B. No

Buy Now

Correct Answer: B

The change feed is a log of changes that are organized into hourly segments but appended to and updated every few minutes. These segments are created only when there are blob change events that occur in that hour.

Instead catch the triggered event, so move the photo processing to an Azure Function triggered from the blob upload.

Reference: https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-change-feed https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-event-overview

Questions 12

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?

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

Correct Answer: B

Reference: https://learn.microsoft.com/en-us/azure/api-management/transform-api

Questions 13

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

The APIs have the following requirements:

Require a subscription key to access all APIs.

Include terms of use that subscribers must accept to use the APIs.

Administrators must review and accept or reject subscription attempts.

Limit the count of multiple simultaneous subscriptions.

You need to implement the APIs.

What should you do?

A. Configure and apply header-based versioning.

B. Create and publish a product.

C. Configure and apply query string-based versioning.

D. Add a new revision to all APIs. Make the revisions current and add a change log entry.

Buy Now

Correct Answer: C

Explanation:

Versions in Azure API Management

Versions allow you to present groups of related APIs to your developers. You can use versions to handle breaking changes in your API safely. Clients can choose to use your new API version when they're ready, while existing clients continue

to use an older version. Versions are differentiated through a version identifier (which is any string value you choose), and a versioning scheme allows clients to identify which version of an API they want to use.

For most purposes, each API version can be considered its own independent API. Two different API versions might have different sets of operations and different policies.

With versions you can:

Publish multiple versions of your API at the same time.

Use a path, query string, or header to differentiate between versions.

Use any string value you wish to identify your version, which could be a number, a date, or a name.

Show your API versions grouped together on the developer portal.

Take an existing (non-versioned) API, and create a new version of it without breaking existing clients.

Query string-based versioning

When the query string versioning scheme is used, the version identifier needs to be included in a query string parameter for any API requests. You can specify the name of the query string parameter.

The format of an API request URL when using query string-based versioning is: https://{yourDomain}/{apiName}/{operationId}?{queryStringParameterName}={versionIdentifier}.

For example, https://apis.contoso.com/products?api-version=v1 and https://apis.contoso.com/products?api-version=v2 could refer to the same products API but to versions v1 and v2 respectively.

Note: Use a subscription key

A subscriber can use an API Management subscription key in one of two ways:

Add the Ocp-Apim-Subscription-Key HTTP header to the request, passing the value of a valid subscription key.

Include the subscription-key query parameter and a valid value in the URL. The query parameter is checked only if the header isn't present.

Note: In Azure API Management, subscriptions are the most common way for API consumers to access APIs published through an API Management instance.

What are subscriptions?

By publishing APIs through API Management, you can easily secure API access using subscription keys. Developers who need to consume the published APIs must include a valid subscription key in HTTP requests when calling those APIs.

Without a valid subscription key, the calls are:

Rejected immediately by the API Management gateway.

Not forwarded to the back-end services.

To access APIs, developers need a subscription and a subscription key. A subscription is a named container for a pair of subscription keys.

In addition,

Developers can get subscriptions without needing approval from API publishers. API publishers can create subscriptions directly for API consumer

Reference: https://learn.microsoft.com/en-us/azure/api-management/api-management-versions

Exam Code: AZ-204
Exam Name: Developing Solutions for Microsoft Azure
Last Update: May 26, 2026
Questions: 588

PDF (Q&A)

$45.99
ADD TO CART

VCE

$49.99
ADD TO CART

PDF + VCE

$59.99
ADD TO CART

Exam2Pass----The Most Reliable Exam Preparation Assistance

There are tens of thousands of certification exam dumps provided on the internet. And how to choose the most reliable one among them is the first problem one certification candidate should face. Exam2Pass provide a shot cut to pass the exam and get the certification. If you need help on any questions or any Exam2Pass exam PDF and VCE simulators, customer support team is ready to help at any time when required.

Home | Guarantee & Policy |  Privacy & Policy |  Terms & Conditions |  How to buy |  FAQs |  About Us |  Contact Us |  Demo |  Reviews

2026 Copyright @ exam2pass.com All trademarks are the property of their respective vendors. We are not associated with any of them.