This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
You're publishing a Bicep module to a container registry. When the pipeline runs, it fails.
The pipeline log includes this error:
Unhandled exception. Azure.RequestFailedException: Service request failed. Status: 401 (Unauthorized)
What should you do to resolve the error?
Use semantic versioning.
Publish the module manually at the command line, not in an automated pipeline.
Grant the service principal permission to write to your container registry.
You need to test the resources defined in a Bicep module. You choose to deploy the resources to your Azure subscription. Which Azure CLI command should you use?
az ts publish
az bicep publish
az deployment group create
Suppose your team uses a multipart versioning system. Which of the following changes to a Bicep file should result in a change to the major version number?
You add a new variable.
You add a new mandatory parameter.
You add a new output.
You must answer all questions before checking your work.
Was this page helpful?