Developing AI Cloud Solutions on Azure Free Sample Questions

Create a free account to browse all 12 sample questions. The full practice test includes 150 questions. Use the simulator for timed and flashcard mode.

Try Simulator

AI-200 Sample Questions

  1. Question 1

    Q1

    A machine learning engineering team is deploying Python-based backend inference services to Azure. The team wants to build container images directly from application source code within Azure Container Registry (ACR) without authoring or maintaining a Dockerfile, and without running a local Docker daemon. Which Azure CLI command should the team execute?

    Show answer & explanation

    Correct answer: C

    The az acr pack build command leverages Cloud Native Buildpacks directly within Azure Container Registry to compile application source code into a container image without requiring a Dockerfile. In contrast, az acr build performs a quick task build that requires a Dockerfile. az acr run executes commands inside an existing container image in ACR Tasks, and az acr import is used to import already-built images from external container registries.

  2. Question 2

    Q2Multiple answers

    A cloud architect is designing an automated container build pipeline using Azure Container Registry (ACR) Tasks for an enterprise RAG application. The solution must automatically recompile and tag the backend container image whenever the underlying Ubuntu-based runtime base image is patched by the vendor, and must also execute a multi-step task defined in a YAML configuration file. Which TWO capabilities should the architect configure? (Select TWO)

    Show answer & explanation

    Correct answers: B, E

    Multi-step tasks in ACR Tasks are declared using YAML files and support built-in run variables such as {{.Run.ID}}, {{.Run.Registry}}, and {{.Values}} to parameterize and tag image outputs.

    ACR Tasks includes native support for base image update triggers (--base-image-trigger-enabled true), which automatically trigger application image builds when an upstream OS or framework base image is updated in the registry. Multi-step tasks in ACR Tasks are declared using YAML files and support built-in run variables such as {{.Run.ID}}, {{.Run.Registry}}, and {{.Values}} to parameterize and tag image outputs. Polling via cron or deploying custom container instances introduces unnecessary complexity when native ACR triggers exist.

  3. Question 3

    Q3

    An organization deploys an AI text-generation API to Azure Container Apps in multiple revision mode. The engineering team deploys a new revision named api-service--v2 containing an updated model prompt template. Before shifting any production user traffic to v2, QA engineers must perform integration tests directly against v2 via an HTTPS endpoint without routing any incoming public traffic from the primary application domain. What should the engineer do to provide a dedicated access URL to v2?

    flowchart LR PublicUsers[Public Users] --> MainURL[Main Ingress URL] MainURL -->|100% Traffic| Rev1[Revision: api-service--v1] QAEngineers[QA Engineers] -.-> DedicatedURL[Dedicated Revision URL?] DedicatedURL -.-> Rev2[Revision: api-service--v2]
    Show answer & explanation

    Correct answer: B

    In Azure Container Apps (when configured in multiple revision mode), assigning a revision label (az containerapp revision label add) provides a direct, predictable sub-domain URL (e.g., https:// --- . . .azurecontainerapps.io) specifically to that revision. This allows engineers to test the revision directly without allocating any percentage of the production traffic split. Allocating 1% traffic routes live end users, single revision mode does not support staging slots, and internal ingress prevents external QA access.

  4. Question 4

    Q4

    Contoso Financial Services runs an intelligent document processing system deployed on Azure Container Apps. The system utilizes multiple microservices, with the core extraction engine running as a containerized Python workload.

    The extraction engine is currently deployed in single revision mode. During peak business hours, the container app maintains 12 active replicas to process incoming loan underwriting documents. The development team has committed an updated revision containing performance optimizations and an updated vector retrieval library.

    The deployment of the new revision must achieve zero downtime. Active incoming customer traffic must not experience dropped connections or HTTP 503 Service Unavailable errors. Traffic must transition to the new revision only when the new revision is fully capable of handling production load.

    Under Azure Container Apps single revision mode, what specific criteria must be met before Azure Container Apps deprovisions the previous revision and routes 100% of traffic to the newly deployed revision?

    Show answer & explanation

    Correct answer: A

    In Azure Container Apps single revision mode, zero-downtime deployment is achieved because traffic automatically switches to the new revision only after three conditions are satisfied: 1) provisioning succeeds, 2) the replica count of the new revision scales to match the replica count of the previously active revision (subject to minReplicas and maxReplicas constraints), and 3) startup and readiness probes pass successfully. Once ready, traffic shifts 100% to the new revision and the old revision is deactivated and deprovisioned.

  5. Question 5

    Q5

    A systems administrator needs to configure revision labels for an Azure Container App in multiple revision mode. According to Azure Container Apps naming rules, which of the following is a valid revision label?

    Show answer & explanation

    Correct answer: D

    In Azure Container Apps, revision labels must consist of lowercase alphanumeric characters or hyphens (-), must start and end with an alphanumeric character, cannot exceed 64 characters, and cannot include consecutive hyphens (--). Therefore, qa-test-v2 is valid. -staging-release is invalid because it begins with a hyphen, prod--preview is invalid because of consecutive hyphens, and Feature_Experiment_1 is invalid because it contains uppercase letters and underscores.

  6. Question 6

    Q6

    An engineer is configuring an HTTP scale rule for a conversational AI backend hosted on Azure Container Apps. The container app currently has minReplicas set to 0, maxReplicas set to 15, and --scale-rule-http-concurrency configured to 25. During an idle period after high traffic, incoming requests cease entirely. The team notices that the app takes exactly 300 seconds to scale from 1 replica down to 0 replicas, whereas earlier reductions between 10 replicas and 4 replicas occurred much faster. Why does this behavior occur?

    Show answer & explanation

    Correct answer: D

    In Azure Container Apps KEDA-based scaling, the cooldownPeriod (which defaults to 300 seconds) applies strictly when scaling from the last active replica down to 0 replicas. Scale-down operations between non-zero replica counts (such as from 10 down to 4) do not wait for the cool down period; they scale down based on the scale-down stabilization window and current metric evaluations.

Register free to unlock 6 more sample questions

Create a free account to continue with the rest of the AI-200 sample set.

Lifetime One

Own this practice test forever.

$79.99
$75.99
one-time
  • Full access to 150 questions
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • Brainy AI Assistant
  • Lifetime updates

Two

Any 2 exams per month.

$20.00/exam
$39.99
/month
  • 2 active exam slots
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • 1,000 Brainy AI Credits
  • Cancel anytime

Premium Twelve

Any 12 exams over 3 months.

$15.00/exam
$179.99
/3 months
  • 4 active exam slots
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • 15,000 Brainy AI Credits
  • Dedicated support
  • Friend seat included — full access

Trusted by professionals at

NvidiaSupabaseGitHubOpenAITursoClerkClaude AIAmazon