Courseiva
Implement natural language processing solutionshardMultiple ChoiceObjective-mapped

AI-102 Practice Question: Implement natural language processing solutions

Network Topology
resource-group myRGname myLangServicedeployment-name myDeploymentmodel-name myModelmodel-version 2023-04-15sku capacity 1"name": "myDeployment","model": {"name": "myModel","version": "2023-04-15"},"sku": {"name": "Standard","capacity": 1"status": "Succeeded""status": "Succeeded","properties": {"provisioningState": "Succeeded"

Refer to the exhibit. You deployed a custom model for Language service. Which command should you run to check if the deployment is ready to accept inference requests?

⚠ Common exam trap

Azure often tests the distinction between commands that manage resources (create, delete, list) versus those that inspect state (show), and the trap here is that candidates might confuse 'list' (which shows all deployments but not readiness) with 'show' (which gives the specific deployment's status).

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

az cognitiveservices account deployment show --resource-group myRG --name myLangService --deployment-name myDeployment

The `az cognitiveservices account deployment show` command retrieves the current state of a specific deployment, including its provisioning status (e.g., 'Succeeded'). Only when the status is 'Succeeded' can the deployment accept inference requests. This is the correct command to verify readiness before sending any prediction calls.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • az cognitiveservices account deployment list --resource-group myRG --name myLangService

    Why it's wrong here

    Lists all deployments but doesn't show detailed state of one.

  • az cognitiveservices account deployment delete --resource-group myRG --name myLangService --deployment-name myDeployment

    Why it's wrong here

    This deletes the deployment.

  • az cognitiveservices account deployment show --resource-group myRG --name myLangService --deployment-name myDeployment

    Why this is correct

    This shows the current provisioning state.

  • az cognitiveservices account deployment create --resource-group myRG --name myLangService --deployment-name myDeployment

    Why it's wrong here

    This would attempt to create again.

About these practice questions

Courseiva writes every AI-102 question from scratch — 945 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AI-102 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI-102 exam.