logo
Exam overview and study plan

AI-200 Practice Questions

Azure AI Cloud Developer Associate

Read questions, check verified answers and discuss the reasoning. Use reading options to shape your revision, or switch to the simulator for timed practice.

View 110 free questions

110 questions in this view

Page 1 of 19

Question 1

Background

Proseware Inc. develops AI-powered knowledge management solutions for enterprise customers. The company is modernizing its platform to support semantic search, intelligent document retrieval, and real-time partner integrations.

The engineering team uses Python and Azure SDKs. The architecture is being redesigned to support containerized microservices, vector search workloads, and serverless backend processing.

Planned Application Architecture

  • Microservices are containerized by using Docker.
  • Code for containerized microservices and Azure Function apps is developed locally but stored in a GitHub repository.
  • Custom images for containerized microservices are stored in Azure Container Registry (ACR).
  • Base images are stored in Docker Hub. Custom images must be rebuilt automatically whenever their base images are updated.
  • Azure Cosmos DB for NoSQL stores documents, metadata, and vector embeddings.
  • Azure Functions generate vector embeddings of Azure Cosmos DB for NoSQL–hosted documents and send messages to Service Bus to trigger search index updates.
  • Azure Container Apps (ACA) apps host backend API services that provide semantic search across Azure Cosmos DB for NoSQL documents. API services process Service Bus messages and update search indexes.
  • Azure Kubernetes Service (AKS) processes batch vector embedding regeneration for existing Azure Cosmos DB for NoSQL documents (whenever the embedding model is changed).
  • An extranet-facing containerized webhook allows business partners to submit documents to be processed by internal AI workflows for semantic search and retrieval.

Monitoring

  • Telemetry generated by Azure resources is sent to Azure Monitor.
  • A Log Analytics workspace is used to collect ACA apps logs, AKS container logs, and Azure Functions apps logs.
  • Monitoring of Azure Functions is currently implemented by using Azure Application Insights SDK instrumentation.

Business Requirements

  • Embeddings for new or updated Azure Cosmos DB for NoSQL–hosted documents must be automatically generated.
  • Backend API services must scale automatically during business hours.
  • Cold start delay of backend APIs must be minimized.
  • Secrets must be stored outside of container images.
  • Developers must be able to correlate telemetry across Azure Functions hosts and apps.
  • All tracing must be implemented by using OpenTelemetry SDK instrumentation.
  • Development efforts must be minimized.

Technical Requirements

  • Container images must be built automatically and validated before code updates are merged into the main branch.
  • Image build automation must run inside the Azure Container Registry, eliminating dependency on local developer machines and external build services.
  • Dependency of image builds on local developer machines must be eliminated.
  • Event-driven scaling in ACA must occur based on the number of pending messages in the Azure Service Bus queue.
  • Azure Cosmos DB for NoSQL RU consumption must be minimized.
  • Vector similarity search must use embeddings stored in Azure Cosmos DB for NoSQL.
  • The partner-facing containerized webhook service must run on Azure App Service.
  • Secrets must NOT be stored in container images, source control, or application configuration directly. They must be accessed securely at runtime.
  • All secrets must be stored centrally in Azure Key Vault and accessed at runtime through a managed identity.
  • Azure App Service must supply secrets at runtime without relying on external services.
  • Resources and workloads must be deployed by using Bicep templates through an automated, version-controlled pipeline. Local and command-line deployments must be eliminated to ensure repeatable, auditable deployments.

Known Issues

  • RU consumption spikes during vector similarity queries.
You need to configure Azure Functions to generate vector embeddings according to planned environment application architecture.

Which trigger type should you use?

Select an answer above, then submit your vote. Reading or practicing does not cast a vote.

Question 2

You need to configure event-driven scaling for the backend API services to meet the technical requirements.

Which settings should you use for each element? To answer, move the appropriate settings to the correct elements. You may use each setting 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.
Setting s
Setting s
Backend API scaling configuration
ElementSetting
Scaler
Trigger metadata
min-replicas

Question 3

A company develops an application that runs in Azure App Service.

The application currently stores all runtime configuration, including database credentials, in App Service application settings.

The App Service app has a system-assigned managed identity.

The company plans to migrate the configuration to Azure App Configuration and Azure Key Vault. Neither resource has been created.

The company requires a solution that meets the following requirements:

 

  • Centralize non-secret configuration in Azure App Configuration.
  • Store database credentials in Azure Key Vault.
  • Use the App Service managed identity to access the configuration and secrets.
  • Allow updated configuration values and rotated secrets to be loaded without redeploying the application.

You need to migrate the application configuration to Azure App Configuration and Azure Key Vault.

In which order should you perform the actions? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order. 

Actions

Answer Area

    Question 4

    A company develops a support assistant application for multiple business units.

    The application stores the following data in an Azure Database for PostgreSQL table:

     

    • A text chunk
    • A vector embedding
    • A business-unit identifier
    • A document status

    At request time, the application receives a question and the identity of the user’s business unit.

    The solution must:

     

    • Retrieve content only from the user’s business unit.
    • Exclude documents that are not approved.
    • Rank the remaining content by semantic similarity.
    • Use the retrieved text to ground the generated response.

    You need to implement the request-time retrieval workflow.

    Which five actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

    Actions

    Answer Area

      Question 5

      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 preparing a production deployment for an Azure Function app. The app will run across multiple environments.

      The solution must support environment-specific configuration and prevent secrets from being stored in source control.

      You need to develop the solution.

      Solution: Store production secrets in environment variables set by the Dockerfile.

      Does the solution meet the goal?

      Select an answer above, then submit your vote. Reading or practicing does not cast a vote.

      Question 6

      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 preparing a production deployment for an Azure Function app. The app will run across multiple environments.

      The solution must support environment-specific configuration and prevent secrets from being stored in source control.

      You need to develop the solution.

      Solution: Use App Configuration with Key Vault references to store environment-specific settings and secrets, accessed from the function app by using a managed identity.

      Does the solution meet the goal?

      Select an answer above, then submit your vote. Reading or practicing does not cast a vote.