Tüm alıştırma soruları
972 soru
An organization is deploying a critical microservice to run on Azure Container Instances (ACI). The microservice container image is hosted in a private Azure Container Registry (ACR) named contosoregistry. Security policies dictate that you must avoid using ACR admin credentials or storing secrets in the deployment configuration, and instead use a user-assigned managed identity to authenticate and pull the image. You need to configure the environment and deploy the container group.
In which sequential order should you perform the steps to accomplish this goal?
Öğeleri doğru sıraya koymak için sürükleyin
You need to create an Azure Function that runs automatically on a schedule every hour to check for inactive user accounts and update their status in an Azure Cosmos DB database. Which two configurations should you use for this function? (Select two.)
Geçerli olan tümünü seçin
A company hosts a web application on an Azure App Service Web App that currently runs on the Shared () pricing tier. You are tasked with configuring the web app to automatically scale out (add more instances) when CPU usage exceeds and scale in when CPU usage falls below .
Which two actions should you perform to meet these requirements?
Geçerli olan tümünü seçin
You are configuring diagnostic logging for a Node.js web application hosted on an Azure App Service running on a Linux plan. You need to configure a diagnostic setting using the Azure CLI to stream both the application container's standard output/error (stdout/stderr) streams and the web server's HTTP request logs to a Log Analytics workspace. Which JSON array should you pass to the `--logs` parameter of the `az monitor diagnostic-settings create` command to achieve this?
You are a developer managing an Azure App Service web app named app-prod-westus. The web app currently has a deployment slot named staging that contains a pre-production release. You need to perform a deployment slot swap with preview from staging to the production slot to verify that the staging application works correctly with production configurations before the swap completes. Which sequence of actions should you perform to execute and complete the swap with preview?
Öğeleri doğru sıraya koymak için sürükleyin
An administrator is deploying an Azure Container App named inventory-service. The application needs to securely retrieve configuration settings from an Azure Key Vault. To minimize management overhead, the administrator requires that the identity used by the application is automatically deleted if the container app itself is deleted. Which identity type should the administrator use, and which Azure CLI command will enable this identity on the container app?
You are building a scheduled batch processing application that runs as an Azure Container Instances (ACI) container group. The container image is hosted in a private Azure Container Registry (ACR). The batch application processes sensitive medical records and must retrieve an encryption key stored in Azure Key Vault at startup. You need to configure the ACI container group so that it can pull the image from the private ACR and authenticate to the Key Vault to retrieve the encryption key using the minimum level of privileges. Which configuration should you implement?
A developer is configuring a web app named prod-orders-app in Azure App Service. The app must retrieve a database password from an Azure Key Vault named orders-vault using a Key Vault reference in the application settings. You have created a user-assigned managed identity named orders-identity and granted it the 'Key Vault Secrets User' role on the Key Vault. You have also associated orders-identity with the web app. Which configuration should you apply to the web app to ensure it successfully retrieves the secret using the user-assigned managed identity?
An enterprise application requires an Azure Function App to retrieve its database connection strings securely from Azure Key Vault without storing credentials in the application configuration. According to your organization's security policy, you must use a user-assigned managed identity instead of a system-assigned managed identity to access the key vault.
Which four actions should you perform in sequence to configure the Function App? To answer, move the appropriate 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
You are developing a user onboarding workflow using Azure Durable Functions. The workflow must execute three tasks in sequence: first, create the user profile in a database; second, generate a welcome PDF document; and third, send a welcome email containing the PDF. The output of each task is required as the input for the subsequent task.
Which Durable Functions pattern should you use to implement this workflow?
A logistics company is designing an Azure Cosmos DB container to store delivery tracking records. The system receives a high volume of writes representing tracking status updates. Each tracking record contains a `shipmentId`, a `destinationCountry`, and a `statusDate` (formatted as YYYY-MM-DD). The system must support transactional batch writes (using `TransactionalBatch`) for all status updates of a single shipment on a specific date. The destination country has low cardinality, with 10 countries representing 95% of all shipments. You must prevent hot partitions during peak shipping seasons while satisfying the transactional boundary. Which two actions should you perform to configure the partitioning strategy?
Geçerli olan tümünü seçin
You are migrating an existing Azure Function App (V4 runtime) to use identity-based connections for its internal host storage instead of a connection string. The function app is currently configured with the `AzureWebJobsStorage` application setting. To comply with security guidelines, you must use a system-assigned managed identity to connect to the storage account. Which sequence of actions should you perform to complete this migration while minimizing application downtime and startup errors?
Öğeleri doğru sıraya koymak için sürükleyin
You are troubleshooting a startup failure in an ASP.NET Core web application deployed to a Linux Azure App Service. The application fails to initialize, and you need to capture container startup logs to identify the error. You decide to use the Azure CLI to enable container logging, trigger a container restart to generate fresh telemetry under the new configuration, stream the startup log sequence in real time, and download the log zip archive for offline analysis.
Arrange the steps in the correct order to configure, capture, and retrieve these logs.
Öğeleri doğru sıraya koymak için sürükleyin
A developer hosts a lightweight web API on an Azure App Service web app that currently runs on the Free () pricing tier. The API is experiencing minor CPU spikes due to an increase in user requests. The developer wants to configure manual scale-out to run the web app on instances to distribute the load. Which action should the developer perform first?
A financial reconciliation service logs credit card transactions to an Azure Cosmos DB Core (SQL) API container. Each document contains the following structure:
{
"transactionId": "d7bfa5d3-8b7a-47ef-b4b1-9f9fa82fb5a7",
"merchantId": "8f8c6e3b-5867-4e78-bc41-df0c0cf8ef23",
"transactionDate": "2026-07-16",
"amount": 120.50,
"status": "Pending"
}
The service has the following requirements:
- Ingestion: Handles up to write operations per second during peak hours.
- Transactional Boundary: A daily reconciliation process must use a `TransactionalBatch` to atomically update the status of all transactions for a single merchant on a specific day.
- Reads: Multiple independent reconciliation nodes must read and verify these daily merchant records.
You need to select a partitioning strategy that avoids hot partitions and satisfies the transactional requirements.
Which partitioning strategy should you implement?
You are designing an Azure Cosmos DB container for a global financial clearing platform that processes credit card transactions. The workload has the following characteristics:
* Write Ingestion: The platform continuously ingests transaction records at a rate of transactions per second.
* Transactional Boundary: The platform uses the Azure Cosmos DB .NET SDK to execute `TransactionalBatch` operations. Each batch contains up to transaction updates for a single merchant account that must succeed or fail atomically.
* Read Query Pattern: Hourly reconciliation jobs query for all transactions executed for a specific merchant during a specific hour (e.g., querying for merchant `M_98765` between and UTC).
* Storage and Throughput Profile: A small number of high-volume merchants (such as global airlines and retail chains) generate over of the total transaction volume, while the remaining volume is distributed across millions of boutique merchants.
You need to select a partitioning strategy that supports the transactional batches, avoids logical partition size limits, and minimizes hot partitions.
Which partition key strategy should you select?
A developer needs to deploy a containerized API to Azure Container Apps using the Azure CLI. The container image is stored in a public registry. Which sequence of Azure CLI commands must the developer execute to successfully deploy the application?
Öğeleri doğru sıraya koymak için sürükleyin
A web application uses a single-region Azure Cosmos DB account with a single write region. The application requires that a user must always see their own updates immediately within their active browser session. Other users can tolerate a slight propagation delay to see these updates. Which consistency level should you configure to meet these requirements with the lowest latency and resource cost?
You are configuring autoscale rules for an Azure App Service plan named AppServicePlan1 that hosts a critical API. The plan currently runs a single instance. You define a scale-out rule that increases the instance count by when the average CPU utilization exceeds . You need to configure a scale-in rule to decrease the instance count by when the load decreases. You must ensure that scaling in does not immediately trigger a scale-out event (flapping) when the resource count is reduced from instances to instance. Which CPU utilization threshold should you specify for the scale-in rule?
You are preparing to deploy a container group to Azure Container Instances (ACI). The container group must connect to an Azure SQL Database that is secured within an Azure Virtual Network (VNet). You need to deploy the container group into the VNet. Which two requirements must be met to deploy the container group into the virtual network? (Choose two.)
Geçerli olan tümünü seçin