Azure Container Apps · AZ-204: Developing Solutions for Microsoft Azure Develop Azure Compute Solutions

You deploy an Azure Container App whose web process listens on container port 8080. Users on the internet must access the application through the HTT…

Practice question from Azure Container Apps (AZ-204: Developing Solutions for Microsoft Azure Develop Azure Compute Solutions), with the correct answer and a step-by-step solution.

easy · MCQ · Q-73EBA6

You deploy an Azure Container App whose web process listens on container port 8080. Users on the internet must access the application through the HTTPS endpoint provided by Azure Container Apps. Which ingress configuration should you use?

  1. A.Enable external ingress and set the target port to 8080.Correct answer
  2. B.Enable internal ingress and set the target port to 443.
  3. C.Disable ingress and expose port 8080 only in the container image.
  4. D.Enable external ingress and set the target port to 443, regardless of the port used by the process.

Solution

External ingress makes the container app reachable from the internet. The target port must match the port on which the application listens inside the container; Azure Container Apps provides the external HTTPS endpoint.

More from Azure Container Apps

All of Azure Container Apps

Practise more Develop Azure Compute Solutions

Sign up free for adaptive practice on this chapter, with instant feedback and hints on every question.

Start practising free

Free to start · No credit card needed