Tüm alıştırma soruları
972 soru
You are developing a software release pipeline using Azure Durable Functions. The workflow is written in C# (.NET Isolated process) and must implement a gated approval step. The orchestrator must send an approval notification to a release manager, wait for up to 24 hours for a response via an external event, and then either proceed with the deployment or cancel it. If the manager responds before the timeout, the workflow must prevent the timer from running to completion to avoid unnecessary execution.
Move the steps required to implement this gated approval pattern within the orchestrator function into the correct execution sequence.
Öğeleri doğru sıraya koymak için sürükleyin
You are deploying updates to an Azure Function App (V4 runtime) running on an Elastic Premium hosting plan. The function app connects to an Azure SQL Database.
You must implement a deployment process that meets the following requirements:
- Updates must be tested in a staging environment before being routed to production.
- Zero downtime must occur during the deployment transition.
- The staging and production environments must use different database connection strings.
- Database connection strings must not be swapped when the update goes live.
You need to configure the deployment slots and perform the deployment.
Which sequence of actions should you perform? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.
Öğeleri doğru sıraya koymak için sürükleyin
An organization is developing a multi-tenant web application. You register the application in your home Microsoft Entra ID tenant. Which resource is automatically created in a customer's tenant when their administrator consents to allow your application to access their resources?
You are developing a cloud-native solution using the Azure Cosmos DB .NET SDK v3. You need to implement the Change Feed Processor to process changes from a product catalog container in real-time.
Which two of the following resources must you reference or configure to initialize and run the Change Feed Processor?
Geçerli olan tümünü seçin
An organization uses a Standard General Purpose v2 (GPv2) storage account to store compliance reports in a container. A lifecycle management policy is active with a rule that transitions all blobs in the container to the Archive tier 30 days after they are last modified. The lifecycle management policy executes once every 24 hours.
You need to rehydrate an archived blob named `reports/2025_audit.pdf` to the Hot tier to perform a 5-day audit analysis. You must ensure that the lifecycle management policy does not transition the blob back to the Archive tier during the 5-day analysis period.
Which sequence of actions should you perform? To answer, arrange the actions in the correct order.
Öğeleri doğru sıraya koymak için sürükleyin
You are developing a multi-tenant web application that will be hosted in Azure. The application must access Microsoft Graph API on behalf of signed-in users from various external Microsoft Entra ID tenants. When a customer's tenant administrator consents to the application, a local representation of your application must be created in their tenant to define permissions and access controls. Which object is created in the customer's tenant to represent this local instance of the application?
You are configuring a deployment of a containerized web application to Azure Container Instances (ACI). The container image is stored in a private Azure Container Registry (ACR) named `myregistry.azurecr.io`. During container startup, the web application must retrieve a database password from an Azure Key Vault named `mykeyvault`. You want to use a managed identity to authenticate both the image pull from ACR and the secret retrieval from Key Vault, without storing any credentials in the deployment configuration files. Which configuration strategy should you implement?
An online multiplayer gaming platform stores active player session state and shopping cart data in an Azure Cosmos DB for NoSQL container. The platform experiences a high volume of writes ( operations per second) from players globally. Each document in the container has the following structure:
{
"sessionId": "a1b2c3d4-e5f6-7a8b-9c0d-1e2f3a4b5c6d",
"playerId": "p9o8i7u6-y5t4-r3e2-w1q0-l9k8j7h6g5f4",
"region": "US-East",
"cartItems": [ { "itemId": "item-993", "quantity": 1 } ],
"lastUpdated": 1781568000
}
The application has the following operational requirements:
- Query transactions must update multiple session and cart documents for a single player within the same region atomically using transactional batches.
- Read queries must retrieve session history for a specific player in a given region with the lowest possible Request Unit () consumption.
- The partitioning strategy must distribute throughput and storage demand evenly to prevent hot partitions.
Which two actions should you take to design and implement this partitioning strategy? (Select two.)
Geçerli olan tümünü seçin
You are deploying an Azure Container App named report-generator to an Azure Container Apps Environment. The Container App must read template files and write generated reports to a persistent, shared file share. You have already created an Azure Storage account. You need to configure the Container App to mount the Azure file share. Which sequence of steps should you perform?
Öğeleri doğru sıraya koymak için sürükleyin
You are developing a multi-tenant web application that will be used by other organizations. The application requires delegated access to Microsoft Graph. You need to configure the application registration and ensure that a customer's tenant administrator can consent to the application and assign users to it.
Which sequence of actions should you perform? To answer, move all actions from the list of actions to the active area and arrange them in the correct order.
Öğeleri doğru sıraya koymak için sürükleyin
You are designing the security architecture for a suite of internally developed Azure microservices. One of the backend services, OrderProcessor, is registered as a Web API in Microsoft Entra ID. You must enforce a policy where other client microservices (which authenticate daemon-to-daemon using the client credentials flow) cannot acquire an access token for OrderProcessor unless they have been explicitly assigned permission by an administrator. If an unassigned client service attempts to request a token for OrderProcessor, Microsoft Entra ID must deny the token request at the token endpoint. Which configuration step must you perform to enforce this behavior?
You are developing a web application named webapp1 hosted on a Windows-based Azure App Service in resource group rg1. During a testing phase, you need to diagnose startup crashes by enabling filesystem-based application logging, establishing a real-time log monitoring pipeline, triggering runtime execution, and obtaining the complete diagnostic log archive for offline verification. Which sequence of actions should you perform? Arrange the actions in the correct order.
Öğeleri doğru sıraya koymak için sürükleyin
An organization is developing an automated data synchronization tool that runs on an on-premises physical server. The tool must run as a background service without user interaction and read files from an Azure Blob Storage container. You register an application named DataSyncApp in your Microsoft Entra ID tenant. You need to configure the required identity and credentials to allow the synchronization tool to authenticate and access the storage container. What should you do?
An organization is deploying a globally distributed fleet management application. The database is hosted on an Azure Cosmos DB API for NoSQL account configured with multi-region writes enabled across three regions: East US, West US, and North Europe. Each region handles local telemetry data ingestion and updates from fleet vehicles. The application has the following requirements:
- Readings from vehicles must be processed with low write latency.
- Across all regions, telemetry readings must be read in the exact order they were written.
- The read lag between the write region and other regions must not exceed a maximum of minutes or updates.
Which consistency level should you configure as the default for the Azure Cosmos DB account?
You are deploying a web application to Azure App Service named app-checkout. You want to configure the web app to access a database connection string stored in an Azure Key Vault named vault-checkout using a Key Vault reference.
You perform the following actions:
1. Enable a system-assigned managed identity for app-checkout.
2. In the App Service App Settings, add a setting named DbConnectionString with the value @Microsoft.KeyVault(SecretUri=https://vault-checkout.vault.azure.net/secrets/db-conn).
At runtime, the application fails to connect to the database, and the App Service configuration portal shows the status of the Key Vault reference as 'Access Denied'.
Which of the following actions is required to resolve this issue?
You are developing a microservice using the Azure Cosmos DB .NET SDK v3 to process product updates from a source container partitioned by `/productId`. The microservice is deployed as multiple instances in an Azure Kubernetes Service (AKS) cluster to handle high-throughput workloads.
You notice that when multiple instances of the service run concurrently, they all process the exact same partition updates, resulting in duplicate processing and database write conflicts in downstream services.
The microservice initializes the Change Feed Processor using the following code:
csharp
Container source = client.GetContainer("Db", "Catalog");
Container leases = client.GetContainer("Db", "LeaseStore");
ChangeFeedProcessor processor = source
.GetChangeFeedProcessorBuilder<Product>(
processorName: $"SyncProcessor-{Environment.MachineName}",
onChangesDelegate: HandleChangesAsync)
.WithInstanceName(Guid.NewGuid().ToString())
.WithLeaseContainer(leases)
.Build();
You need to ensure that the partition workload is dynamically distributed across all running replicas, and that each partition is leased and processed by exactly one instance at any given time.
Which modification should you make to resolve this issue?
You are creating a new lease container in Azure Cosmos DB to support a Change Feed Processor instance. Which partition key path must be defined on the lease container for it to function correctly?
A developer is configuring a background service running on an on-premises server that must retrieve data from a custom Web API secured by Microsoft Entra ID. The background service runs autonomously without any user interaction and authenticates using its client secret.
The developer manually updates the Microsoft Entra ID application manifest of the background service to request access to the Web API. In the requiredResourceAccess section of the manifest, the developer adds the correct resource app ID and includes the permission ID in the resourceAccess array, setting the type property of the permission to Scope.
After the developer grants administrator consent, the background service successfully obtains an access token using the OAuth 2.0 client credentials grant flow. However, when the service presents the token to the Web API, the API rejects the request with an HTTP 403 Forbidden error.
What is the cause of this authentication issue?
An organization needs to deploy an Azure Function App running on runtime version (V4) to process data files. The deployment must meet the following requirements:
- Individual function executions can take up to minutes to complete.
- The hosting plan must automatically scale out to handle spikes in traffic without manual configuration.
- The functions must securely connect to an Azure SQL Database that is isolated within a private virtual network.
Which hosting plan should you configure for the Function App?
An Azure-based worker service processes high-priority queue messages and must run to completion and terminate. The service's container image is located in a private Azure Container Registry (ACR), and the service requires access to secret keys stored in Azure Key Vault during execution.
Which two settings should be configured in the container group deployment to satisfy these requirements?
Geçerli olan tümünü seçin