Microsoft Practice Questions, Discussions & Exam Topics by our Authors
You are a developer at your company.
You need to update the definitions for an existing Logic App.
...
When you need to update the definitions for an existing Logic App, you need to understand the available options for editing or modifying the Logic App. Let's evaluate the options based on this requirement.
Option Analysis:
1. A) The Enterprise Integration Pack (EIP):
- What it is: The Enterprise Integration Pack (EIP) is an extension of Azure Logic Apps that provides additional capabilities such as B2B integration, support for enterprise messaging patterns, and enhanced connectors for services like AS2, X12, and EDIFACT.
- Why it's not suitable: The EIP is specifically useful when you're dealing with complex integrations, especially for scenarios such as B2B communications. It is not a tool for editing or updating Logic App definitions. It doesn't allow you to directly edit or manage Logic App workflows but provides additional functionality for specific integration needs.
2. B) The Logic App Code View:
- What it is: The Logic App Code View provides a JSON representation of the Logic App workflow. In this view, you can directly modify the Logic App definition as raw JSON.
- Why it’s suitable: This option is appropriate when you want to manually edit the underlying JSON code of the Logic App workflow. It’s useful for users who are familiar with the JSON schema of Logic Apps and want to fine-tune or manually update the Logic App definition. However, this view is primarily for advanced users and allows for low-level editing of the Logic App definition. It's suitable for developers who need full control over the workflow’s code but might not always be the easiest for general updates.
3. C) The API Connections:...
Author: Aria · Last updated Jul 23, 2026
Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.
You are developing a solution for a public facing API.
The API back end is hosted in an Azure App Service instance. You have implemented a RESTful service for the API back end.
You must configure ba...
To evaluate whether the solution meets the goal of configuring back-end authentication for the API Management service instance, let's break down the key requirements and the provided solution.
Requirement:
You need to configure back-end authentication for the API Management service instance that fronts the public-facing API hosted in an Azure App Service instance.
Provided Solution:
The solution involves configuring Basic gateway credentials for the Azure resource.
What is Basic Gateway Credentials?
- Basic authentication is a simple authentication mechanism where the client sends the username and password encoded in the `Authorization` header of the HTTP request. It's typically used for authenticating against an API backend that requires credentials for access.
- Gateway credentials refer to credentials that are used for authenticating requests made from the API Management service to the back end.
Does the Solution Meet the Goal?
- Back-end Authentication: When using API Management (APIM), back-end authentication typically involves ensuring that API Management can authenticate to the backend (in this case, the Azure App Service hosting your RESTful API). This can be done through various mechanisms, including:
- OAuth (preferred for security reasons)
- Basic Authentication (simpler, but less secure ...
Author: Liam · Last updated Jul 23, 2026
Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.
You are developing a solution for a public facing API.
The API back end is hosted in an Azure App Service instance. You have implemented a RESTful service for the API back end.
You must configure back-end...
To determine whether the solution meets the goal of configuring back-end authentication for the API Management (APIM) service instance, let's analyze the requirements and the solution provided.
Requirement:
You need to configure back-end authentication for the API Management service that fronts the public-facing API hosted on an Azure App Service instance.
Provided Solution:
The solution involves configuring Client certificate gateway credentials for the HTTP(s) endpoint.
What are Client Certificate Gateway Credentials?
- Client certificates are used to authenticate requests made to a server. In this case, the API Management service would use a client certificate to authenticate itself to the back-end Azure App Service instance.
- When an API Management service makes a request to a back-end API, the client certificate can be included in the request headers to authenticate the client (API Management) to the back end.
Does the Solution Meet the Goal?
- Back-end Authentication: To secure access to the backend API hosted in the Azure App Service, there needs to be an authentication mechanism in place that ensures only authorized services (like the API Management service) can access it.
- Client Certificates are a strong authentication method for securing access to back-end services, especially in enterprise environments, where mutual TLS (Transport Layer Security) can be used. This method ensures that both the client (API Management) and the server (Azure App Service) authenticate each other, which provides a high lev...
Author: Ella · Last updated Jul 23, 2026
Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.
You are developing a solution for a public facing API.
The API back end is hosted in an Azure App Service instance. You have implemented a RESTful service for the API back end.
You must configure back...
The solution does not meet the goal. Here's why:
In this scenario, the goal is to configure back-end authentication for an API Management service instance in Azure. For the API back-end authentication, there are different ways to secure communication between the API Management (APIM) service and the back-end API. One of the methods is to use Basic authentication (via Basic gateway credentials). However, Basic authentication by itself is considered less secure and is not the best practice, especially for public-facing services.
Analysis of the Selected Option:
- Basic Gateway Credentials:
- Security: Basic authentication sends the username and password with every request, which can be intercepted easily unless it is wrapped in HTTPS (TLS). Even then, it's still not as secure as modern alternatives like OAuth, client certificates, or JWT tokens.
- ...
Author: Ella · Last updated Jul 23, 2026
Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.
You are developing a solution for a public facing API.
The API back end is hosted in an Azure App Service instance. You have implemented a RESTful service for the API back end.
You must configure back-en...
Yes, the solution meets the goal. Here's an explanation of why:
In this scenario, the goal is to configure back-end authentication for the API Management (APIM) service instance, specifically for a public-facing API that is hosted on an Azure App Service instance. The solution involves configuring Client Certificate (Client cert) gateway credentials for the Azure resource.
Analysis of the Selected Option:
- Client Certificate Authentication:
- Security: Using client certificates for authentication is a much more secure option than Basic authentication. It ensures that only authorized clients, which possess the correct client certificate, are allowed to access the back-end API.
- Use Case: Client certificate authentication is suitable for secure communications between systems, particularly in scenarios where you want to tightly control access to resources (e.g., public-facing APIs). It provides mutual TLS (mTLS), where both the client and server authenticate each other.
- Recommendation: For enterprise-grade or public-facing APIs, client certificates are a recommended approach ...
Author: Leah · Last updated Jul 23, 2026
You are developing a .NET Core MVC application that allows customers to research independent holiday accommodation providers.
You want to implement Azure Search to allow the application to search the index by using various criteria to locate documents related to accommodation venues.
You want the application to list ho...
The correct option is D) Configure the Filter property of the SearchParameters class.
Here's the reasoning behind it:
Why Option D is Correct:
- Filter Property of SearchParameters:
- Azure Search allows filtering search results using the `Filter` property of the `SearchParameters` class.
- In your scenario, you want to search for holiday accommodation venues based on criteria such as price range and proximity to an airport. The `Filter` property allows you to define a query that limits the search results based on these conditions.
- For example, you can use filters to define a price range like `"price ge 100 and price le 500"` or to search by proximity to an airport using geo-spatial queries like `"geo.distance(location, 'lat,long') le 10"`.
- This makes the `Filter` property the ideal choice because it can handle conditions like price range and distance, which are exactly what you're trying to achieve.
Why Other Options are Incorrect:
- Option A: Configure the SearchMode property of the SearchParameters class:
- The `SearchMode` property defines how the search engine interprets the query terms (i.e., whether it should use "all" or "any" of the search terms to match documents). This is more relevant for controlling how search terms are matched across fields, not for applying specific conditions like price range or distance.
- It doesn't hel...
Author: Emily · Last updated Jul 23, 2026
You are a developer at your company.
You need to edit the workflows for an existing Logic App.
Wha...
The correct option is D) the Logic Apps Designer.
Here's the reasoning behind the correct and incorrect options:
Why Option D is Correct:
- Logic Apps Designer:
- The Logic Apps Designer is the graphical interface provided by Azure to design, create, and edit workflows for Logic Apps. It is specifically tailored for creating and editing the workflows of Logic Apps, making it the most user-friendly and intuitive tool for modifying an existing Logic App workflow.
- With the Logic Apps Designer, you can visually design the workflow, define triggers, configure actions, and set conditions in a way that is accessible even for non-developers. It is the ideal choice when you need to make changes or edits to an existing Logic App.
Why Other Options are Incorrect:
- Option A: the Enterprise Integration Pack (EIP):
- The Enterprise Integration Pack (EIP) is an add-on for Logic Apps that provides additional capabilities such as B2B integration, AS2, and XML-based protocols. While it extends the functionality of Logic Apps, it does not serve as the tool to edit the workflows themselves.
- EIP is useful for more specialized enterprise integration scenarios but does not directly provide the ability to edit workflows.
- Option B: the ...
Author: Mia · Last updated Jul 23, 2026
DRAG DROP -
You are a developer for a company that provides a bookings management service in the tourism industry. You are implementing Azure Search for the tour agencies listed in your company's solution.
You create the index in Azure Search. You now need to use the Azure Search .NET SDK to import the relevant data into the Azure Search service.
Which three actions should yo...
Author: Emma · Last updated Jul 23, 2026
You are developing an application that applies a set of governance policies for internal and external services, as well as for applications.
You develop a stateful ASP.NET Core 2.1 web application named PolicyApp and deploy it to an Azure App Service Web App. The PolicyApp reacts to events from
Azure Event Grid and performs policy actions based on those events.
You have the following requirements:
* Authentication events must be us...
To determine the best solution, we need to carefully consider the requirements and the key aspects of each option provided. Let's break down the requirements and examine each option:
Requirements:
1. Authentication events must be used to monitor users when they sign in and sign out.
2. All authentication events must be processed by PolicyApp.
3. Sign outs must be processed as fast as possible.
Analysis of Options:
Option A: Create a new Azure Event Grid subscription for all authentication events. Use the subscription to process sign-out events.
- Pros:
- A single Event Grid subscription for all authentication events could potentially allow the application to capture both sign-in and sign-out events.
- Cons:
- This approach does not necessarily optimize sign-out events for speed. It processes all authentication events together, which might delay processing sign-out events due to the time it takes to process sign-in events as well.
- Lack of separation between different types of events could add overhead to handling sign-out events swiftly, especially if there's significant traffic.
Option B: Create a separate Azure Event Grid handler for sign-in and sign-out events.
- Pros:
- This option allows you to have dedicated handling for sign-in and sign-out events, which is important to ensure that sign-out events are processed as fast as possible.
- The separation of handlers ensures that sign-out events can be processed independently of other types of events, which is aligned with the requirement for processing sign-outs quickly.
- Cons:
- Managing two separate handlers might introduce additional complexity but is still viable if speed is critical for sign-out events.
...
Author: Sofia · Last updated Jul 23, 2026
SNAPSHOT -
You are developing a C++ application that compiles to a native application named process.exe. The application accepts images as input and returns images in one of the following image formats: GIF, PNG, or JPEG.
You must deploy the application as an Azure Function.
You need to configure the function and host json files.
How should y...
Author: MysticJaguar44 · Last updated Jul 23, 2026
SNAPSHOT
-
You are developing an Azure Static Web app that contains training materials for a tool company. Each tool's training material is contained in a static web page that is linked from the tool's publicly available description page.
A user must be authenticated using Azure AD prior to viewing training.
You need to ensure that the user can view training material pages after authenti...
Author: Aditya · Last updated Jul 23, 2026
SNAPSHOT
-
You are authoring a set of nested Azure Resource Manager templates to deploy Azure resources. You author an Azure Resource Manager template named mainTemplate.json that contains the following linked templates: linkedTemplate1.json, linkedTemplate2.json.
You add parameters to a parameters template file named mainTemplate.parameters,json. You save all templates on a local device in the C: emplates folder.
You have the following requirements:
* Store the templates in Azure for later deployment.
* Enable versioning of the templates.
* Manage access to the templates by using Azure RBAC.
* Ensure that users hav...
Author: Olivia · Last updated Jul 23, 2026
SNAPSHOT
-
You are developing a service where customers can report news events from a browser using Azure Web PubSub. The service is implemented as an Azure Function App that uses the JSON WebSocket subprotocol to receive news events.
You need to implement the bindings for the Azure Function App.
How should yo...
Author: Carlos Garcia · Last updated Jul 23, 2026
SNAPSHOT
-
You are building a software-as-a-service (SaaS) application that analyzes DNA data that will run on Azure virtual machines (VMs) in an availability zone. The data is stored on managed disks attached to the VM. The performance of the analysis is determined by the speed of the disk attached to the VM.
You have the following requirements:
* The application must be able to quickly revert to the previous day's data if a systemic error is detected.
* The application must minimize downtime in the case of an Azure datacenter outage.
You need to provision ...
Author: Noah · Last updated Jul 23, 2026
SNAPSHOT
-
You are developing an application that includes two Docker containers.
The application must meet the following requirements:
* The containers must not run as root.
* The containers must be deployed to Azure Container Instances by using a YAML file.
* The containers must share a lifecycle, resources, local network, and storage volume.
* The storage volume must persist through container crashes.
* The storage volume must be deployed on stop or restart of the containers.
You need ...
Author: Olivia · Last updated Jul 23, 2026
SNAPSHOT
-
You have a Dockerfile that builds a container image named image1. The container image and its base image are stored in separate repositories of an Azure Container registry named registry1. The codebase of image1 is stored in a GitHub repo named app1 of an account named account1.
You plan to implement automatic updates to image1 whenever its base image is updated or an update to the main branch of the GitHub repo occurs.
You need to complete the Azure CLI...
Author: Ahmed · Last updated Jul 23, 2026
SNAPSHOT -
You are implementing a software as a service (SaaS) ASP.NET Core web service that will run as an Azure Web App. The web service will use an on-premises
SQL Server database for storage. The web service also includes a WebJob that processes data updates. Four customers will use the web service.
* Each instance of the WebJob processes data for a single customer and must run as a singleton instance.
* Each deployment must be tested by using deployment slots prior to serving production data.
* Azure costs must be minimized.
* Azure resources must be located in a...
Author: Oliver · Last updated Jul 23, 2026
DRAG DROP -
You are a developer for a software as a service (SaaS) company that uses an Azure Function to process orders. The Azure Function currently runs on an Azure
Function app that is triggered by an Azure Storage queue.
You are preparing to migrate the Azure Function to Kubernetes using Kubernetes-based Event Driven Autoscaling (KEDA).
You need to configure Kubernetes Custom Resource Definitions (CRD) for the Azure Function.
Which CRDs should you configure? To answer, drag the appropriate CRD types to the c...
Author: BlazingPhoenix22 · Last updated Jul 23, 2026
SNAPSHOT -
You are creating a CLI script that creates an Azure web app and related services in Azure App Service. The web app uses the following variables:
You need to automatically deploy code from GitHub to the newly created web app.
How should you complete the script? To...
Author: Emma · Last updated Jul 23, 2026
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 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...
To determine whether the solution meets the goal, let's analyze the problem and solution carefully.
Requirements:
1. Users upload photos to a web service, which stores them in Azure Storage Blob storage.
2. The photo must be processed to produce a mobile-friendly version.
3. The processing must start in less than one minute after the photo is uploaded.
Solution Analysis: Trigger the photo processing from Blob storage events.
- Blob storage events (e.g., BlobCreated) can be used to trigger actions based on events in a storage account. Azure Event Grid can listen to these events and trigger downstream processes.
- This method is highly appropriate for starting a process after a new file (photo) is uploaded to Blob storage.
- Event Grid is a real-time eventing platform that typically processes events within seconds, making it a good candidate to m...
Author: Chloe · Last updated Jul 23, 2026
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 develop and deploy an Azure App Service API app to a Windows-hosted deployment slot named Development. You create additional deployment slots named Testing and Production. You enable auto swap on the Production deployment slot.
Y...
Goal:
The goal is to ensure that scripts run and resources are available before a swap operation occurs when using Azure App Service deployment slots, specifically during the swap to the Production slot with auto-swap enabled.
Analysis of Solution: Update the web.config file to include the applicationInitialization configuration element. Specify custom initialization actions to run the scripts.
Understanding the Solution:
- The applicationInitialization element in the `web.config` file is used to define initialization tasks for the application before it fully starts up, which includes custom scripts or resource preparations.
- This element helps ensure that the application has completed its initialization actions before serving requests, which can be crucial during a slot swap when ensuring that the app is ready to serve traffic without errors.
Why this solution could work:
- Auto swap: When using auto swap, the app in the staging slot is swapped into the production slot automatically. However, you need to ensure that the app in the production slot is fully initialized before the swap happens.
- The applicationInitialization element in the `web.config` helps you specify custom initialization scripts to run before the application becomes available to handle traffic. This can ensure that the app in the Production slot i...
Author: Zara1234 · Last updated Jul 23, 2026
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 develop and deploy an Azure App Service API app to a Windows-hosted deployment slot named Development. You create additional deployment slots named Testing and Production. You en...
Goal:
The goal is to ensure that scripts run and resources are available before a swap operation occurs, particularly when deploying to the Production slot with auto swap enabled.
Solution: Enable auto swap for the Testing slot. Deploy the app to the Testing slot.
Analysis of Solution:
1. Auto swap on the Production slot:
- When auto swap is enabled on the Production slot, it means the app in the Testing slot is swapped to Production automatically after deployment to the Testing slot is complete. This ensures that the Production slot always contains the most recent version of the app deployed to the Testing slot.
2. Auto swap on the Testing slot:
- Enabling auto swap for the Testing slot would mean that the app is swapped into the Production slot automatically after deployment. This is the usual approach when testing an app before promoting it to Production.
- However, this solution proposes enabling auto swap for the Testing slot and deploying to it. This doesn't address the requirement of ensuring resources are available and scripts are run before the swap to Product...
Author: CrimsonViperX · Last updated Jul 23, 2026
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 develop and deploy an Azure App Service API app to a Windows-hosted deployment slot named Development. You create additional deployment slots named Testing and Production. You enable auto swap on the Production deployment slot.
Y...
Goal:
The goal is to ensure that scripts run and resources are available before the swap operation occurs when deploying to the Production slot with auto swap enabled.
Solution: Disable auto swap. Update the app with a method named `statuscheck` to run the scripts. Re-enable auto swap and deploy the app to the Production slot.
Analysis of Solution:
1. Disabling auto swap:
- Disabling auto swap temporarily ensures that the app in the Production slot is not swapped immediately after deployment to the Testing slot. This gives you control over when the swap happens.
- By disabling auto swap, you can manually control when the app in the Testing slot gets swapped to Production, allowing time to ensure scripts and resources are fully available before the swap.
2. Updating the app with a `statuscheck` method:
- By creating a `statuscheck` method in the app, you can implement logic that ensures the app performs necessary initialization tasks (such as running scripts or making sure resources are ready) before the app is considered fully initialized.
- This method can be invoked before the swap happens, ensuring the required resources and scripts are run in time. This can also be used to verify the status of the app before proceeding with the swap.
3. Re-enabling auto swap:
- After...
Author: James · Last updated Jul 23, 2026
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 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 mobi...
The proposed solution is to convert the Azure Storage account to a BlockBlobStorage storage account. Let's evaluate whether this solution meets the goal of starting the photo processing within less than one minute after the photos are uploaded.
Key Factors to Consider:
1. Storage Account Types:
- General-purpose V2 accounts support a wide range of workloads and are the most flexible in terms of the types of data they store (blobs, files, queues, tables, etc.). They also support various blob types, including block blobs.
- BlockBlobStorage accounts are optimized specifically for storing block blobs, which are ideal for unstructured data like images. However, they do not support other Azure services like Azure Files or Queues. They also don't have certain capabilities, such as the ability to integrate with certain other types of services that may be present in a general-purpose V2 account.
2. Photo Processing Requirement:
- The photo processing task needs to be triggered and start within one minute of the photo upload. This requires integration with Azure services like Azure Functions, Logic Apps, or Event Grid to react to events like the creation of new blobs in storage.
- Event Grid can trigger actions in response to events in a General-purpose V2 stor...
Author: Sam · Last updated Jul 23, 2026
SNAPSHOT -
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 o...
Author: Liam · Last updated Jul 23, 2026
DRAG DROP -
You are developing a Docker/Go using Azure App Service Web App for Containers. You plan to run the container in an App Service on Linux. You identify a
Docker container image to use.
None of your current resource groups reside in a location that supports Linux. You must minimize the number of resource groups required.
You need to create the application and perform an initial deployment.
Which three Azure CLI comma...
Author: Harper · Last updated Jul 23, 2026
DRAG DROP -
Fourth Coffee has an ASP.NET Core web app that runs in Docker. The app is mapped to the www.fourthcoffee.com domain.
Fourth Coffee is migrating this application to Azure.
You need to provision an App Service Web App to host this docker image and map the custom domain to the App Service web app.
A resource group named FourthCoffeePublicWebResourceGroup has been created in the WestUS region that contains an App Service Plan named
AppServiceLinuxDockerPlan.
Which or...
Author: Emily · Last updated Jul 23, 2026
DRAG DROP -
You are developing a serverless Java application on Azure. You create a new Azure Key Vault to work with secrets from a new Azure Functions application.
The application must meet the following requirements:
* Reference the Azure Key Vault without requiring any changes to the Java code.
* Dynamically add and remove instances of the Azure Functions host based on the number of incoming application events.
* Ensure that instances are perpetually warm to avoid any cold starts.
* Connect to a VNet.
* Authentication to the Azure Key Vault instance must be removed if the Azure Function application is deleted.
...
Author: Isabella · Last updated Jul 23, 2026
You develop a website. You plan to host the website in Azure. You expect the website to experience high traffic volumes after it is published.
You must ensure that the website remains available and r...
Option Analysis:
A) Deploy the website to a virtual machine. Configure the virtual machine to automatically scale when the CPU load is high.
- Pros: A virtual machine (VM) can be configured to scale based on CPU load, offering flexibility and full control over the environment.
- Cons: VMs are generally more expensive compared to Azure App Services, as they require management, maintenance, and typically more resources. Scaling a VM involves creating additional instances of the VM, which could lead to unnecessary cost and complexity, especially when managing traffic spikes.
- Use Case: This option is more suitable for custom applications that require full control over the operating system or dependencies.
- Reasoning: High traffic and automatic scaling in this setup would likely result in higher infrastructure costs and complex management. This could be avoided by leveraging managed services.
B) Deploy the website to an App Service that uses the Shared service tier. Configure the App Service plan to automatically scale when the CPU load is high.
- Pros: The Shared service tier is cost-effective and easy to set up. It provides automatic scaling based on demand, with minimal maintenance overhead.
- Cons: The Shared tier comes with significant limitations in terms of resources (CPU, memory, and storage), which may not be suitable for high-traffic scenarios. It can also have lower performance due to resource sharing between customers.
- Use Case: Best for small-scale websites with low to moderate traffic. It’s not ideal for high-traffic sites, as performance could degrade under heavy load.
- Reasoning: Given that you expect high traffic, the Shared tier would not provide the necessary performance and scalability to meet the demands of the website, and it could also lead to slower response times due to resource sharing.
C) Deploy the website to a virtual machine. Configure a Scale Set to increase the virtual machine instance count when the CPU load is high.
- Pros: Virtual Machine Scale Sets (VMSS) allow for automatic scaling, providing the flexibility to scale out by adding additional VM instances based on demand. This is an idea...
Author: Ming88 · Last updated Jul 23, 2026
SNAPSHOT -
A company is developing a Java web app. The web app code is hosted in a GitHub repository located at https://github.com/Contoso/webapp.
The web app must be evaluated before it is moved to production. You must deploy the initial code release to a deployment slot named staging.
You need to create the web app and deploy the code.
How shou...
Author: FrostFalcon88 · Last updated Jul 23, 2026
SNAPSHOT -
You have a web service that is used to pay for food deliveries. The web service uses Azure Cosmos DB as the data store.
You plan to add a new feature that allows users to set a tip amount. The new feature requires that a property named tip on the document in Cosmos DB must be present and contain a numeric value.
There are many existing websites and mobile apps that use the web ...
Author: Sophia · Last updated Jul 23, 2026
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 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 continu...
Solution Analysis:
The Scenario:
- You are working with an Azure Function app that processes Azure Storage blob data.
- The app uses an HTTP trigger and is triggered by an output binding on the blob.
- The app continues to time out after four minutes, but you need it to process the blob data without timing out.
The Proposed Solution:
- The solution proposes using the Durable Function async pattern to process the blob data.
Key Points for Evaluation:
1. Timeout Issue with Azure Functions:
- Standard Azure Functions (like HTTP-triggered or blob-triggered) have a default execution timeout of 5 minutes (for consumption plans). This means the function will be automatically terminated if it exceeds this time.
- To process tasks that may take longer (more than 5 minutes), you need a Durable Function. Durable Functions allow for long-running operations that can be broken down into smaller tasks and tracked, thus avoiding timeouts.
2. Durable Function Async Pattern:
- Durable Functions are specifically designed to handle workflows that may involve long-running tasks (like waiting for external services or processi...
Author: Arjun · Last updated Jul 23, 2026
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 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 b...
Solution Analysis:
The Scenario:
- You have an HTTP-triggered Azure Function app that processes Azure Storage blob data.
- The app is currently timing out after four minutes when processing the data.
- The app needs to process the blob data without timing out.
The Proposed Solution:
- The solution suggests passing the HTTP trigger payload into an Azure Service Bus queue for processing by a queue trigger function and returning an immediate HTTP success response.
Key Points for Evaluation:
1. Issue with Timeout:
- As mentioned earlier, HTTP-triggered Azure Functions have a timeout limit (typically 5 minutes for consumption plan). If the function takes longer than this limit, it will time out, which is the issue you're experiencing.
2. Service Bus Queue and Queue Trigger Function:
- Using a Service Bus queue decouples the HTTP request from the actual processing. The HTTP-triggered function will push the request to the queue, allowing the function to return an HTTP success response immediately (thus preventing a timeout).
- A separate queue trigger function will pick up the message from the queue and process the blob data. This allows for asynchronous processing, meaning the function can handle long-running tasks without being bound by the HTTP function’s timeout limits.
- This approach ensures that the HTTP function is not blocked by long-running tasks and can immediately respond with success while delegating the actual work to another function, which can run indef...
Author: Ethan · Last updated Jul 23, 2026
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 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 ...
To determine if the solution meets the goal, let's analyze the solution and the context:
Scenario
- An HTTP-triggered Azure Function is processing Azure Storage blob data.
- The app continues to time out after four minutes.
- The goal is to ensure the app does not time out and processes the blob data successfully.
Solution Provided
- The solution involves configuring the app to use an App Service hosting plan and enabling the Always On setting.
Key Factors:
1. Timeout Limitation:
- Azure Functions on a Consumption plan have a maximum timeout of 5 minutes for HTTP-triggered functions. This can be extended to 60 minutes if needed, but it has inherent limitations when processing long-running tasks.
- In contrast, an App Service hosting plan does not have the same timeout limitations and can run indefinitely as long as the app is healthy, which makes it suitable for longer-running tasks.
2. Always On Setting:
- Enabling the Always On setting ensures that the function app is always running and does not go idle, which is necessary for avoiding timeouts, especially when dealing with long-running operations. This setting is typically available on App Service hos...
Author: Emma · Last updated Jul 23, 2026
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 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...
Scenario:
- A software as a service (SaaS) offering is used to manage photographs.
- Users upload photos to Azure Storage Blob storage, and once uploaded, a mobile-friendly version must be processed.
- The processing should start in less than one minute.
Solution Provided:
- Move photo processing to an Azure Function triggered from the blob upload.
Key Factors:
1. Azure Function with Blob Trigger:
- Azure Functions offer a blob trigger that starts execution when a new blob is uploaded to a specified storage container.
- The blob trigger is well-suited for this scenario because it allows the function to automatically start when a new image is uploaded to Blob storage. This triggers the photo processing workflow immediately, ensuring that the processing begins promptly (within the desired one-minute window).
- Azure Functions can be very responsive, as the blob trigger mechanism is highly efficient and typically starts processing within seconds of the upload. Therefore, it meets the requirement of starting processing in less than one minute.
2. General-purpose V2 Storage Account:
- Since the storage account is of type General-purpose V2, it supports a wide variety of features, including the ability to trigger Azure Functions on blob uploads.
- Blob triggers are designed to work efficiently with General-purpose V2 storage accounts, so this is a good fit for the...
Author: Layla · Last updated Jul 23, 2026
You are developing an application that uses Azure Blob storage.
The application must read the transaction logs of all the changes that occur to the blobs and the blob metadata in the storage account for auditing purposes. The changes must be in the order in which they occurred, include only create, update, delete, a...
Scenario:
- The application must audit changes to blobs and blob metadata in Azure Blob Storage.
- The changes must include only create, update, delete, and copy operations.
- The changes must be retained for compliance reasons.
- The goal is to process the transaction logs asynchronously in the order they occurred.
Evaluation of Options:
A) Process all Azure Blob storage events by using Azure Event Grid with a subscriber Azure Function app.
- Event Grid is a service that can send events for various Azure resources, including Blob Storage. It is capable of sending notifications for create, update, delete, and copy operations on blobs.
- Asynchronous Processing: Event Grid allows asynchronous processing of blob events. An Azure Function can be used as a subscriber to process these events in real-time as they occur.
- Order of Events: Event Grid guarantees that events are delivered in the order in which they are published, which meets the requirement for processing changes in the order they occurred.
- Retention for Compliance: Event Grid supports the retention of events for up to 24 hours, which should be sufficient for most auditing needs. You can also capture and store the events in a log storage solution like Azure Blob Storage or Event Hub for longer retention.
- Conclusion: This solution fits the requirement perfectly by providing real-time event delivery, auditing of create, update, delete, and copy operations, and maintaining the order of events. It’s efficient, scalable, and designed for asynchronous processing.
B) Enable the change feed on the storage account and process all changes for available events.
- Change Feed: The Azure Blob Storage change feed provides a detailed log of changes to blobs, including operations like create, update, and delete. However, it does not capture copy operations explicitly.
- Order of Events: The change feed also records events in the order they occurred, but the event processing requires more manual effort than Event Grid and might not be as scalable or event-driven.
- Retention for Compliance: The change feed data is retained for up to 7 days, which could be problematic for compliance needs that require longer retention periods.
- Conclusion: While the change feed is suitable for basic blob operations, it might not be as flexible or compliant for auditing purposes compared to Event Grid, especially when considering the absence of explicit copy...
Author: ShadowWolf101 · Last updated Jul 23, 2026
DRAG DROP -
You plan to create a Docker image that runs an ASP.NET Core application named ContosoApp. You have a setup script named setupScript.ps1 and a series of application files including ContosoApp.dll.
You need to create a Dockerfile document that meets the following requirements:
* Call setupScripts.ps1 when the container is built.
* Run ContosoApp.dll when the container starts.
The Dockerfile document must be created in the same folder where ContosoApp.dll and setupScript.ps1 a...
Author: Sofia · Last updated Jul 23, 2026
You are developing an Azure Function App that processes images that are uploaded to an Azure Blob container.
Images must be processed as quickly as possible after they are uploaded, and the solution must minimize latency. You create code to proces...
Scenario:
- An Azure Function App is developed to process images uploaded to an Azure Blob container.
- Images must be processed as quickly as possible after they are uploaded, and latency must be minimized.
Key Factors:
1. Trigger Mechanism:
- The Azure Blob Storage trigger will automatically execute the function whenever a new blob is uploaded to the container. This ensures that image processing happens immediately after upload, minimizing latency.
2. Hosting Plan Consideration:
- Consumption Plan: This plan is serverless and automatically scales based on demand. It charges based on the number of executions and execution time, and it is ideal for intermittent workloads. However, there are some limitations like cold start latency (which may add some delay, but still minimal in most cases).
- App Service Plan: This plan provides a more predictable performance with always-on functionality. It is better for workloads with continuous or high performance requirements, reducing the risk of cold starts. It is typically more expensive than the Consumption Plan, but it can offer lower latency and is useful when consistent performance is necessary.
3. Trigger Type:
- Azure Blob Storage Trigger: This trigger will directly process the blob when it is uploaded, ensuring immediate response and minimal latency.
- Azure Blob Storage Input Trigger: This would imply using input bindings to read data from the blob in the function, but it isn't directly used to start processing when a blob is uploaded. This would likely add unnecessary complexity to the process compared to using a trigger.
- Timer Trigger: A Timer trigger would not meet the need for immediate processing after the upload. It would introduce significant delays, as it is set to trigger at specific intervals, which is not suitable for low-latency, on-demand processing.
Evaluation of the Options:
- A) Use an App Service plan. Configure the Function App to use an Azure Blob Storage input trigger.
...
Author: Sara · Last updated Jul 23, 2026
SNAPSHOT -
You are configuring a new development environment for a Java application.
The environment requires a Virtual Machine Scale Set (VMSS), several storage accounts, and networking components.
The VMSS must not be created until the storage accounts have been successfully created and an associated load balancer and virtual network is configured.
How should you comple...
Author: Ming · Last updated Jul 23, 2026
SNAPSHOT -
You are developing an Azure Function App by using Visual Studio. The app will process orders input by an Azure Web App. The web app places the order information into Azure Queue Storage.
You need to review the Az...
Author: BlazingPhoenix22 · Last updated Jul 23, 2026
DRAG DROP -
You are developing a solution for a hospital to support the following use cases:
* The most recent patient status details must be retrieved even if multiple users in different locations have updated the patient record.
* Patient health monitoring data retrieved must be the current version or the prior version.
* After a patient is discharged and all charges have been assessed, the patient billing record contains the final charges.
You provision a Cosmos DB NoSQL database and set the default consistency level for the database account to Strong. You set the value for Indexing Mode to
Consistent.
You need to minimize latency and any impact to the availability of the solution. You must override the default consistency level at the query level to meet the required consistency guarantees for the ...
Author: Manish · Last updated Jul 23, 2026
SNAPSHOT -
You are configuring a development environment for your team. You deploy the latest Visual Studio image from the Azure Marketplace to your Azure subscription.
The development environment requires several software development kits (SDKs) and third-party components to support application development across the organization. You install and customize the deployed virtual machine (VM) for your development team. The customized VM must be saved to allow provisioning of a new team member development environment....
Author: Akash · Last updated Jul 23, 2026
You are preparing to deploy a website to an Azure Web App from a GitHub repository. The website includes static content generated by a script.
You plan to use the Azure Web App continuous deployment feature.
You need to run the static generation script before the website starts serving traffic.
What are two ...
Scenario:
- You are preparing to deploy a website to an Azure Web App from a GitHub repository.
- The website includes static content generated by a script, and you want to run the static generation script before the website starts serving traffic using continuous deployment.
Key Considerations:
- The static content generation should occur before the website starts serving traffic.
- You need to run the static content generation during the deployment process (as part of continuous deployment).
- The goal is to trigger the execution of a script that generates the static content before the website serves the content.
Evaluation of the Options:
A) Add the path to the static content generation tool to the WEBSITE_RUN_FROM_PACKAGE setting in the host.json file.
- Incorrect: The `WEBSITE_RUN_FROM_PACKAGE` setting specifies whether the app should run from a package file (like a zip file) rather than directly from the file system. However, it does not help in executing a script to generate static content before serving the site. `host.json` is primarily used for configuring app behavior for Azure Functions, not for running scripts in a Web App deployment pipeline. Therefore, this is not the correct choice.
B) Add a PreBuild target in the website's csproj project file that runs the static content generation script.
- Incorrect: A PreBuild target in the csproj file is specific to projects built with .NET (e.g., ASP.NET Core applications) and is used for tasks like building or compiling the code before the project is built. However, this does not work in the context of a continuous deployment pipeline from a GitHub repository that needs to run a static generation script for a static website. It also doesn't address the requirement ...
Author: James · Last updated Jul 23, 2026
DRAG DROP -
You are developing an application to use Azure Blob storage. You have configured Azure Blob storage to include change feeds.
A copy of your storage account must be created in another region. Data must be copied from the current storage account to the new storage account directly between the storage servers.
You need to create a copy of the storage account in another region and copy the data.
...
Author: Joseph · Last updated Jul 23, 2026
DRAG DROP -
You are preparing to deploy an Azure virtual machine (VM)-based application.
The VMs that run the application have the following requirements:
* When a VM is provisioned the firewall must be automatically configured before it can access Azure resources.
* 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 corre...
Author: Sofia2021 · Last updated Jul 23, 2026
SNAPSHOT -
A company is developing a Node.js web app. The web app code is hosted in a GitHub repository located at https://github.com/TailSpinToys/webapp.
The web app must be reviewed before it is moved to production. You must deploy the initial code release to a deployment slot named review.
You need to create the web app and deploy the code.
How sho...
Author: John · Last updated Jul 23, 2026
SNAPSHOT -
You are developing an application that needs access to an Azure virtual machine (VM).
The access lifecycle for the application must be associated with the VM service instance.
You need to enable managed identity for the VM.
How should you complete the PowerShell segment?...
Author: Aditya · Last updated Jul 23, 2026
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 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 i...
Scenario:
- SaaS Offering to manage photographs.
- Users upload photos, which are then stored in Azure Storage Blob storage.
- After upload, the photos need to be processed to produce a mobile-friendly version.
- The processing must start in less than one minute after the upload.
Solution Provided:
- Create an Azure Function app using the Consumption hosting model that is triggered from the blob upload.
Key Considerations:
1. Azure Blob Storage Trigger:
- Blob triggers are well-suited to start a process whenever a file is uploaded to a container. The Azure Function will execute as soon as a new photo is uploaded to Blob Storage, which ensures that the processing starts almost immediately after the upload.
2. Consumption Hosting Model:
- The Consumption plan is serverless, meaning you only pay for the time the function runs, and it scales automatically based on the demand. This model is generally cost-effective, and functions on this plan can be highly responsive when using a blob trigger.
- The cold start latency for functions in the Consumption plan might slightly increase the processing time after the first invocation. However, in most scenarios, the delay is still within the required one-minute time frame. The function is designed to trigger and start processing quickly after the blob is uploaded.
3. Proc...
Author: StarlightBear · Last updated Jul 23, 2026
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 develop and deploy an Azure App Service API app to a Windows-hosted deployment slot named Development. You create additional deployment slots named Testing and Production. You enable auto swap on the Production deployment slot.
You need to ensure that scripts run and resources are available bef...
The solution proposed involves updating the app with a method named "statuscheck" to run the scripts and setting the `WEBSITE_SWAP_WARMUP_PING_PATH` and `WEBSITE_SWAP_WARMUP_PING_STATUSES` app settings to ensure that the warm-up process for the swap operation is properly managed. This ensures that the app checks for readiness (via the `statuscheck` method) before proceeding with the swap.
Key Points to Consider:
1. Auto-swap and Warm-up: When auto swap is enabled in Azure App Service, it automatically swaps the deployment slot with the production slot. However, there is a need to ensure that the app is fully ready to handle traffic before the swap occurs.
2. Warm-up Path: The `WEBSITE_SWAP_WARMUP_PING_PATH` allows you to specify a path that is pinged during the warm-up phase. If the path returns a successful status (HTTP 200 or similar), the swap proceeds.
3. App Setting Configurations: `WEBSITE_SWAP_WARMUP_PING_PATH` and `WEBSITE_SWAP_WARMUP_PING_STATUSES` provide the necessary configurations for the warm-up p...
Author: Leo · Last updated Jul 23, 2026
SNAPSHOT -
You create the following PowerShell script:
For each of the following statements, select Yes if the statement is true. Otherwise, select...