Designing and Implementing a Microsoft Azure AI Solution — Question 71

You have an Azure DevOps pipeline named Pipeline1 that is used to deploy an app. Pipeline1 includes a step that will create an Azure AI services account.

You need to add a step to Pipeline1 that will identify the created Azure AI services account. The solution must minimize development effort.

Which Azure Command-Line Interface (CLI) command should you run?

Answer options

Correct answer: C

Explanation

The correct command is 'az cognitiveservices account show', which retrieves details about the specified Azure AI services account. The other options do not directly identify a specific AI services account; 'az resource link' is for linking resources, 'az cognitiveservices account network-rule' manages network rules, and 'az account list' lists accounts but does not provide account details.