nerdexam
Microsoft

AZ-204 · Question #199

You develop a gateway solution for a public facing news API. The news API back end is implemented as a RESTful service and uses an OpenAPI specification. You need to ensure that you can access the…

The correct answer is A. Import-AzureRmApiManagementApi -Context $ApiMgmtContext. Since we already have a API back end, we need to import to Azure API Management. To use an existing API (which uses an Open API specification) behind the Azure API Management service , you can use the Import-AzApiManagementApi command…

Submitted by yuriko_h· Mar 30, 2026Connect to and consume Azure services and third-party services

Question

You develop a gateway solution for a public facing news API. The news API back end is implemented as a RESTful service and uses an OpenAPI specification. You need to ensure that you can access the news API by using an Azure API Management service instance. Which Azure PowerShell command should you run?

Options

  • AImport-AzureRmApiManagementApi -Context $ApiMgmtContext
  • BNew-AzureRmApiManagementBackend -Context $ApiMgmtContext-Url
  • CNew-AzureRmApiManagement -ResourceGroupName $ResourceGroup
  • DNew-AzureRmApiManagementBackendProxy -Url $ApiUrl

How the community answered

(34 responses)
  • A
    71% (24)
  • B
    6% (2)
  • C
    15% (5)
  • D
    9% (3)

Explanation

Since we already have a API back end, we need to import to Azure API Management. To use an existing API (which uses an Open API specification) behind the Azure API Management service , you can use the Import-AzApiManagementApi command. https://docs.microsoft.com/en-us/azure/api-management/scripts/powershell-import-api-and-add- to-product?toc=/powershell/module/toc.json

Topics

#API Management#OpenAPI#PowerShell#REST API import

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice