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?
- A.Enable external ingress and set the target port to 8080.Correct answer
- B.Enable internal ingress and set the target port to 443.
- C.Disable ingress and expose port 8080 only in the container image.
- 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
- You run version 1 of an API in an Azure Container App. You want to deploy version 2, send 10 percent of requests to version 2 for validatio…
- A workload must process messages from an Azure Service Bus queue. Each execution should run a finite containerized task, and the workload s…
- An Azure Container App needs a database connection string. The connection string must not be stored in the container image or supplied as p…
- You have two Azure Container Apps in the same Container Apps environment. One app provides an internal API that must be callable by other a…
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 freeFree to start · No credit card needed