Tüm alıştırma soruları
972 soru
A document collaboration platform stores real-time edit logs in an Azure Cosmos DB Core (SQL) API container. Each log document contains a `logId` (GUID), `documentId` (String), `userId` (String), `timestamp` (DateTime, formatted as `YYYY-MM-DDTHH:mm:ssZ`), and `editType` (String).
The workload exhibits the following characteristics:
- Write profile: High-frequency write operations occur as more than users concurrently edit documents during peak business hours.
- Read profile: The platform frequently retrieves edit history for a specific document on a specific day to show revisions.
- Transactional profile: The application executes transactional batches to group and commit multiple edits for the same document on the same calendar day.
You must design a partitioning strategy that avoids hot partitions, supports the transactional consistency requirements, and optimizes query performance.
Which two actions should you perform? (Select two.)
Geçerli olan tümünü seçin
You are developing a .NET application that stores user profiles in an Azure Cosmos DB SQL API container. The container's partition key path is set to `/userId`. You need to write C# code to create a new user profile document using the Cosmos DB .NET SDK v3. Which code segment should you use?
A developer needs to deploy an internal microservice as an Azure Container App named payment-processor. The application must meet the following requirements:
- Pull its container image from a private Azure Container Registry (ACR) named acrapps.azurecr.io.
- Authenticate to the ACR using a user-assigned managed identity named aca-pull-identity (the admin user must remain disabled on the ACR).
- Limit ingress so that the microservice is only accessible by other applications running inside the same Container Apps environment.
When writing the Bicep template to deploy the Container App, which two configuration blocks or properties must you include? (Select two.)
Geçerli olan tümünü seçin
An organization has deployed a web app named app-finance to Azure App Service. The application needs to retrieve a database connection string from an Azure Key Vault named kv-prod. The web app is configured to use a system-assigned managed identity, and Key Vault access policies have been configured to allow this identity to read secrets. You need to add an application setting named DbConnectionString to the web app that references the secret DbPassword in the Key Vault. Which value should you set for the DbConnectionString app setting?
You host a company's internal portal on an Azure App Service Web App that currently runs on a Basic (B1) App Service plan. The portal experiences performance degradation due to sudden CPU utilization spikes during lunchtime. You need to ensure the system automatically increases instances to handle these spikes and scales back down when the load decreases. Which two actions should you perform to implement this scaling configuration?
Geçerli olan tümünü seçin
You are deploying a new version of a microservice to Azure Container Apps. You want to test the new version by routing 20 percent of the public HTTP traffic to it, while the remaining 80 percent continues to go to the current version. Which two configurations must you apply to the Container App to enable this traffic-splitting behavior?
Geçerli olan tümünü seçin
You are configuring a new Azure Container App to pull container images from a private Azure Container Registry (ACR). You need to configure a managed identity to authenticate the Container App to the registry. The identity's lifecycle must be managed independently of the Container App resource, and you must follow the principle of least privilege. Which managed identity type and role-based access control (RBAC) role should you use?
You are designing a globally distributed IoT monitoring solution using Azure Cosmos DB. The account is configured with multi-region writes enabled across East US, West US, and North Europe. The container holding the sensor data was initially partitioned by Region, which resulted in poor write performance and partition rate-limiting. To resolve this, you repartition the container using a high-cardinality key, DeviceId. A stateless analytics service deployed on scaled-out container instances in all three regions reads from the container. Because the instances are stateless and dynamically scaled, they do not share state or Azure Cosmos DB SDK session tokens. The analytics service requires that reads must never see out-of-order writes (writes must be read in the order they were committed). However, the service must also minimize write latency and Request Unit (RU) costs. Which consistency level should you set as the default for the Azure Cosmos DB account to meet these requirements?
You are deploying a multi-container group to Azure Container Instances (ACI) using a YAML file. The group contains two containers:
- `app-container`: A web application that pulls its image from a private Azure Container Registry (ACR) named `myregistry.azurecr.io` and retrieves a database connection string from Azure Key Vault at runtime.
- `sidecar-container`: A logging utility that shares a local directory with `app-container` to read its log files.
You must ensure that the container group can authenticate to the private ACR to pull the images, `app-container` can authenticate to Azure Key Vault using a managed identity, and the two containers can share the log directory.
Which three of the following configuration steps or blocks must you include in the YAML configuration or deployment process? (Select THREE)
Geçerli olan tümünü seçin
You are designing an Azure Cosmos DB Core (SQL) API container for an IoT smart grid monitoring system. The system receives telemetry from electrical substations (`substationId`). Substation 1 is a major hub that handles of the grid's power transmission and has active smart sensors reporting status updates. The other substations have only sensors each. During peak periods, the container must ingest up to writes per second.
The system has the following requirements:
* Transactional Boundary: For every sensor update, the system must write both a telemetry status document and an associated alarm log document (if a threshold is exceeded) in a single transactional batch. These two documents share the same `sensorId` and `substationId` values.
* Query Profile: The primary read workload consists of real-time control room dashboard queries that retrieve and aggregate telemetry for a specific `substationId` over a rolling -minute window.
Which partitioning strategy should you implement to meet these requirements while avoiding hot partitions?
You need to deploy a containerized application to Azure Container Instances (ACI). The container image is stored in a private Azure Container Registry (ACR). You plan to use a user-assigned managed identity to authenticate to the ACR during the container group creation. You will perform the deployment using a YAML configuration file and the Azure CLI. Once the deployment is complete, you must verify the container startup logs to ensure the application initialized correctly.
Which sequence of actions should you perform?
Öğeleri doğru sıraya koymak için sürükleyin
A developer is deploying a new containerized API to Azure Container Apps. The container image is hosted in a private Azure Container Registry (ACR). Which of the following configurations is required to enable the Container App to pull the image from the private registry?
A cloud architect is designing a performance optimization strategy for a critical REST API hosted on an Azure App Service. The API currently runs on a Basic () App Service plan. During seasonal promotions, the API experiences high CPU utilization, and the team wants to implement a dynamic scaling solution. The configuration must automatically add instances when average CPU exceeds , remove instances during low-load periods, and prevent autoscale flapping. Which two actions should be performed to meet these requirements? (Select two.)
Geçerli olan tümünü seçin
An IoT application ingests telemetry data and writes it to an Azure Cosmos DB container configured with a partition key of /DeviceId. Which two of the following statements about performing item operations using the Cosmos DB .NET SDK v3 are correct? (Select TWO).
Geçerli olan tümünü seçin
A company is building an image processing system where a user uploads a high-resolution photo, and the system needs to generate three different resized versions (thumbnail, mobile, and desktop) simultaneously. Once all three resizing tasks are finished, a final task must combine them into a single zip archive and notify the user. Which Durable Functions pattern is best suited for this workflow?
You are implementing an Azure Blob Storage lifecycle management policy for a Standard General Purpose v2 (GPv2) storage account to automate data tiering. Which two of the following statements are correct regarding the configuration and execution of these policies? (Select two.)
Geçerli olan tümünü seçin
A media streaming application stores user watch history in an Azure Cosmos DB Core (SQL) API container. The database must handle millions of active users who update their viewing progress every 30 seconds. The application must support transactional batch operations to update a user's viewing progress across multiple shows atomically. The most common query retrieves the complete viewing history for a single user to display on their dashboard.
Which partition key should you configure for the container to satisfy these requirements and avoid hot partitions?
You are deploying an Azure Function App (V4 runtime) that needs to securely access an Azure SQL Database. The database connection string contains sensitive credentials and is stored in Azure Key Vault. You have enabled a system-assigned managed identity for the Function App.
You want to configure the Function App settings to reference the connection string from Key Vault without storing it as cleartext in the app configuration. However, when the Function runs, it fails to connect to the database and logs an authorization error indicating it cannot retrieve the secret from Key Vault.
You inspect the application setting value and find that it is:
`@Microsoft.KeyVault(SecretUri=https://myvault.vault.azure.net/secrets/dbconn/f4a5b6)`
Which of the following is the most likely cause of this issue?
A developer is troubleshooting an Azure App Service web app and notices that no application logs are appearing in the Log Stream tool of the Azure Portal, even though the application code contains standard logging statements. The developer has not configured any external storage or monitoring services. What is the most likely cause of this issue?
A global car rental platform uses an Azure Cosmos DB Core (SQL) API container to store booking reservation documents. Each document contains a unique `bookingId` (GUID), `rentalLocationId` (e.g., `SFO`, `JFK`), `userId`, and a `bookingDate` (formatted as `YYYY-MM-DD`).
The platform has the following operational requirements:
- Throughput & Storage: The system processes millions of bookings per day. The database must scale horizontally without encountering partition size limitations or throughput bottlenecks (hot partitions).
- Transactional Scope: The system must run ACID transactions (via transactional batches or stored procedures) for booking updates that occur on the same day for a specific rental location.
- Read Patterns: A real-time operations dashboard frequently queries active bookings for a specific location on a given day.
Which two partitioning strategies or configurations should you implement to satisfy these requirements? (Select two.)
Geçerli olan tümünü seçin