Skip to main content

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)

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.