Skip to main content

AI-200 practice question · Develop Containerized Solutions on Azure

A team wants their main AI inferencing container to be paired with a second, helper container in the same pod that…

A team wants their main AI inferencing container to be paired with a second, helper container in the same pod that handles collecting and forwarding logs to a monitoring backend, without modifying the main application's own code. What container design pattern does this describe?

  • AThe sidecar pattern
  • BThe strangler fig pattern
  • CBlue-green deployment
  • DVertical scaling
Show the answer and explanation

Correct answer: A) The sidecar pattern

Why each option is right or wrong

  • A) Correct. The sidecar pattern runs a helper container (like a log collector/forwarder) alongside the main application container within the same pod, handling a cross-cutting concern like logging or monitoring without requiring any changes to the main application container's own code — a common pattern for adding supporting capabilities to a containerized workload in a decoupled way.
  • B) Incorrect. The strangler fig pattern incrementally replaces a legacy system's functionality with new services over time — an unrelated migration pattern, not a same-pod helper-container pattern.
  • C) Incorrect. Blue-green deployment switches live traffic between two parallel environments for a release; it's an unrelated concept to pairing a helper container alongside a main application container.
  • D) Incorrect. Vertical scaling increases a single instance's resource capacity, an unrelated concept to pairing a helper container alongside a main application container.
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.