Developing Solutions for Microsoft Azure — Question 82

You plan to deploy an Azure Container app.

You need to configure the container app to support session affinity.

Which ingress type and revision mode should you assign to the container app?

Answer options

Correct answer: B

Explanation

The correct answer is B because HTTP ingress with single revision mode allows for session affinity, ensuring that user sessions are consistently directed to the same instance of the application. Options A and C involve multiple revision modes, which do not guarantee session persistence, while D uses TCP ingress, which is not suitable for managing session affinity in this context.