AZ-204 · Question #199
AZ-204 Question #199: Real Exam Question with Answer & Explanation
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. https://docs.microsoft.com/en-us/azure/api-m
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
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
Community Discussion
No community discussion yet for this question.