Exam AI-200 Topic 1 Question 9 Discussion

Actual exam question for Microsoft's AI-200 exam
Question #: 9
Topic #: 1
You plan to deploy a web app to App Service on Linux. You create an App Service plan. You create and push a custom Docker image that contains the web app to Azure Container Registry.
You need to access the console logs generated from inside the container in real-time.
How should you complete the Azure CLI command? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Suggested Answer:


Explanation:

nable container logging with `az webapp log config --docker-container-logging filesystem`, then stream it with `az webapp log tail`.
Detailed Explanation: The Azure CLI exposes separate operations for enabling App Service container logging and viewing the live stream. For a custom Linux container, docker/container logging must first be written to the App Service filesystem. The `az webapp log tail` command then starts real-time log tracing.
Commands such as `show` or `download` inspect configuration or retrieve historical files; they do not provide the requested live stream from the running container.
Study Guide Alignment: Containerized Azure workloads: registry builds, App Service containers, Container Apps revision/scaling behavior, and AKS deployment choices.
Official Microsoft Learn References: AI-200 Study Guide | Azure CLI: az webapp log

by Valerie at Sep 25, 2026, 09:03 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

Contact Us

If you have any question please leave me your email address, we will reply and send email to you in 12 hours.

Our Working Time: ( GMT 0:00-15:00 ) From Monday to Saturday

Support: Contact now 

日本語 Deutsch 繁体中文 한국어