AI-200 practice question · Develop Containerized Solutions on Azure
A developer packaging a Python-based AI inferencing application into a container needs a file that declares the base…
A developer packaging a Python-based AI inferencing application into a container needs a file that declares the base image, copies application code, installs dependencies, and defines the startup command. What file is this?
- AA Dockerfile
- BAn ARM template
- CA Kubernetes manifest
- DAn OpenAPI specification
Show the answer and explanation
Correct answer: A) A Dockerfile
Why each option is right or wrong
- A) Correct. A Dockerfile is the declarative build script defining a container image — specifying the base image, copying application code and dependency manifests, running install steps, and declaring the command that runs when a container starts from that image.
- B) Incorrect. An ARM template declares Azure infrastructure resources to deploy; it doesn't define how a container image itself is built.
- C) Incorrect. A Kubernetes manifest describes how to run an already-built container image within a cluster; it doesn't itself define how that image is built.
- D) Incorrect. An OpenAPI specification describes a REST API's contract; it has no relationship to building a container image.
- Exam domain
- Develop Containerized Solutions on Azure · 22% of AI-200
- Question type
- Multiple choice (one answer)
Related AI-200 questions
- A team wants their main AI inferencing container to be paired with a second, helper container in the same pod that…Develop Containerized Solutions on Azure
- A containerized AI service runs as several replicas spread across multiple nodes in an AKS cluster.Develop Containerized Solutions on Azure
- An AI service runs in Azure Container Apps and needs an Azure OpenAI API key at runtime.Develop Containerized Solutions on Azure
- A team runs an AI inference API in Azure Container Apps. Sometimes a replica's process stays up but stops responding to…Develop Containerized Solutions on Azure
All 60 free AI-200 questions by domain · 15 sample questions on one page
Practise the full AI-200 exam
This question is one of a small free sample from the CertRidge AI-200 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with Microsoft; never copied from the real exam.