You have an Azure subscription named Sub1 that contains a resource group named RG1 and a Service Bus queue named SB1.
You plan to implement an Azure Event Grid push event subscription that will deliver an event to SB1 whenever a resource is created, modified, or deleted in RG1. You must minimize the development and configuration efforts.
You need to create an Event Grid topic for your planned implementation.
Which type of event topic should you create?
A. event domain
B. custom
C. system
D. namespace
Show Answer
Correct Answer: C
Explanation: The events described (resource creation, modification, deletion in a resource group) are Azure Resource Manager system events. Event Grid uses system topics for events emitted by Azure services and resources, which require minimal configuration and no custom publishing. Therefore, a system topic is the correct choice.
Question 12
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear on the review screen.
You are developing an application that needs to react to events from multiple Azure services, such as Azure Blob Storage and Azure Resource Manager, in near-real time.
The application must meet the following requirements:
• Handle a high volume of events without manual intervention.
• Receive only specific events relevant to your application, based on event types or resource patterns.
• Ensure that no events are missed, even if the processing application is temporarily unavailable.
• Use Azure Functions for processing events without managing any infrastructure.
• Minimize the amount of custom code required for event routing and handling.
You need to develop the solution.
Solution: Use Azure Logic Apps to poll the Azure services for changes at regular intervals. Apply conditional logic within the Logic Apps to filter relevant events. Trigger Azure Functions from the Logic Apps to process the filtered events.
Does the solution meet the goal?
A. Yes
B. No
Show Answer
Correct Answer: B
Explanation: The proposed solution does not meet the requirements. Polling Azure services with Logic Apps is not near–real time, does not scale efficiently for high event volumes, and risks missing events between polling intervals. It also requires more custom logic for filtering and routing. Azure Event Grid is the appropriate service because it provides push-based, near–real-time event delivery, built-in filtering by event type and resource patterns, reliable delivery with retries, and native triggers for Azure Functions with minimal custom code.
Question 13
You plan to deploy an Azure Container app.
You need to configure the container app to support session affinity.
Which ingress type and revision mode should you assign to the container app?
A. HTTP ingress type and multiple revision mode
B. HTTP ingress type and single revision mode
C. TCP ingress type and multiple revision mode
D. TCP ingress type and single revision mode
Show Answer
Correct Answer: B
Explanation: Azure Container Apps supports session affinity (sticky sessions) only with HTTP ingress and only when the app is running in single revision mode. HTTP ingress provides the necessary routing features, while multiple revision mode can split traffic across revisions and break affinity. TCP ingress does not support session affinity at all.
Question 14
HOTSPOT
-
You are developing an ASP.NET Core web application, using the latest .NET runtime, hosted in Azure App Service.
You must collect traces, metrics, logs, and exceptions to monitor application performance and diagnose issues. You have the following requirements:
• All data must be sent to a new Application Insights instance.
• The connection to the Application Insights resource must be secure.
• The resource connection value must allow updating by code deployment pipelines.
• You must enable the selection and filtering of metrics and performance counters to examine in near real-time.
• You must inspect stack traces from sample failed requests and exceptions.
You start by creating a new Application Insights instance in the Azure Portal and installing the latest Azure.Monitor.OpenTelemetry.AspNetCore NuGet package in your application.
You need to enable and configure OpenTelemetry-based data collection.
Which configuration should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Show Answer
Correct Answer: Environment variable
Program.cs
Explanation: Store the Application Insights connection string in an environment variable so it is secure and can be updated by deployment pipelines. With the latest .NET runtime and minimal hosting model, OpenTelemetry and Application Insights are configured in Program.cs.
Question 16
DRAG DROP
-
You are designing a solution that will use two Azure Functions apps: App1 and App2. App1 is Windows-based and will be deployed as code. App2 is Linux-based and will be deployed as a container image. Estimates show that the duration of the request processing for both apps will range from 1 to 10 minutes.
You plan to implement App1 and App2 by using the hosting plan to satisfy the following requirements:
• Request processing can complete within the estimated time range.
• The autoscaling behavior is event-driven.
• The upper scaling limit is maximized.
You need to create the hosting plan for the implementation.
Which hosting plan should you create? To answer, move the appropriate hosting plans to the correct apps. You may use each hosting plan 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.
Show Answer
Correct Answer: App1: Premium
App2: Premium
Explanation: Both apps require event-driven autoscaling, long-running executions up to 10 minutes, and the highest possible scaling limits. The Premium plan supports extended execution time, maximized scale-out, Windows code-based functions, and Linux container-based functions, while Consumption and Dedicated plans impose scaling or feature limitations.
Question 17
You are a developer for a company that recently transitioned to using workspace-based Application Insights for a C# .NET web application that runs on Azure.
The application has intermittent performance issues.
You need to use the AI-powered code analysis feature in Application Insights to help diagnose the problem.
What should you do?
A. Enable and configure smart detection.
B. Enable and configure availability tests.
C. Use the Application Map to visualize dependencies and interactions, then trace the performance issues through the map.
D. Enable the profiler and snapshot debugger.
E. Configure continuous export of telemetry data to Azure Storage.
Show Answer
Correct Answer: D
Explanation: The AI-powered code analysis feature in workspace-based Application Insights refers to tools that analyze code execution to find performance bottlenecks. The Application Insights Profiler uses AI to automatically collect and analyze call stacks, identify hot paths, slow methods, and CPU-intensive code during intermittent performance issues. The Snapshot Debugger complements this by capturing in-memory snapshots for deep inspection without attaching a debugger. Other options focus on monitoring or visualization, not AI-driven code-level analysis.
Question 19
You have 100 Azure virtual machines (VMs) with the system-assigned managed identity enabled.
You need to identify the value of the object ID attribute for each of the identities.
Which command should you use?
A. az ad signed-in-user list-owned-objects
B. az ad sp credential list
C. az ad user show
D. Get-AzResource
Show Answer
Correct Answer: D
Explanation: A system-assigned managed identity is represented as a service principal tied to the VM resource. The object ID is exposed in the VM's identity property, which you can retrieve by querying the resource itself. Get-AzResource (or equivalent az resource show) can list the VM resources and return the identity.principalId (object ID). The other commands target users, signed-in users, or service principal credentials and do not enumerate VM managed identities.
Question 20
HOTSPOT
-
You have an Azure Application Insights resource named AI1. AI1 monitors an Azure App Service web app named App1.
You plan to regularly analyze the usage of specific pages of App1 by a subset of users. The subset will consist of users who access specific App1 pages five or more times in a given month. You must be able to filter sessions and events based on that subset when viewing AI1 in the Azure portal.
You need to configure AI1 to facilitate your analysis.
What should you configure for AI1? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Show Answer
Correct Answer: Feature to configure: Cohort
Language to use: KQL
Explanation: Cohorts in Application Insights let you define and persist a subset of users based on behavior (for example, visiting specific pages five or more times per month) and then filter sessions and events by that group across the Azure portal. KQL is used to define the cohort conditions.
Question 22
You are developing an Azure Function app for scalability and integration with Azure Blob Storage.
You must run the code in an Azure production environment that allows the function to scale based on demand, providing instance size selection and higher concurrency control.
The function must connect to other Azure services secured inside a virtual network, scale to zero instances when there are no incoming events and minimize costs.
You need to select a hosting plan to meet the requirement.
Which plan should you use?
A. Flex Consumption
B. Consumption
C. Premium
D. Dedicated
Show Answer
Correct Answer: A
Explanation: Flex Consumption meets all stated requirements: it scales to zero when idle, supports virtual network integration for accessing secured Azure services, allows instance size selection and higher concurrency control compared to standard Consumption, and is designed to minimize costs while still enabling high scalability. Premium does not scale to zero, and Dedicated is always-on with higher cost.
Question 23
DRAG DROP
-
You are developing a microservices-based application by using Azure Container Apps. The application consists of several containerized services that handle tasks, such as processing orders, managing inventory, and generating reports.
You must deploy two microservices named serviceA and serviceB to support managing inventory. Deployment of the microservices have the following requirements:
• serviceA must create and configure all necessary Azure resources, including multiple Dapr components and an Azure Blob Storage account, by using Bicep files.
• serviceB must create and configure all necessary Azure resources without using Bicep files.
• All microservices must use the same resource group, environment, Azure Container Registry, and Log Analytics workspace.
You need to deploy the microservices.
Which CLI command should you use? To answer, move the appropriate CLI commands to the correct microservices. You may use each CLI command 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.
Show Answer
Correct Answer: serviceA: azd up
serviceB: az containerapp up
Explanation: serviceA requires provisioning all Azure resources, including Dapr components and storage, via Bicep; azd up uses Azure Developer CLI to deploy infrastructure-as-code and the app together. serviceB must deploy without Bicep; az containerapp up deploys a container app using existing shared resources with minimal setup.
$19
Get all 447 questions with detailed answers and explanations
Instant download HTML + PDF delivered the moment payment clears.
Secure Stripe checkout we never see or store your card details.
7-day refund if files are defective see our refund policy.