Q: 9
HOTSPOT You are developing a microservices-based application that uses Azure Container Apps. The application consists of several containerized services that handle tasks, such as processing orders, managing inventory, and generating reports. You must secure the container apps All apps must reside in the same virtual network, share the same Dapr configuration, and share the same logging location. Apps must support the configuration of the amount of memory and compute resources available to containers. You need to configure the Azure Container App. How should you complete the CLI command' To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Your Answer
Discussion
Yeah has to be the one using -enable-workload-profiles.
Option with -enable-workload-profiles is right, not just the default env create. The profiles part is easy to miss.
Why not just use default env create here without workload profiles?
az containerapp env create with -enable-workload-profiles is the way to go. This flag lets you set resources per container app, which is what the scenario needs. I think that's the main thing exam wants to check here. Open to other thoughts if I missed a catch.
Wouldn’t you need the
-enable-workload-profiles flag to let each service pick its own CPU and memory? I think the regular env create command alone doesn’t support that for individual container apps. If anyone got a different result, let me know!Which flag in the CLI enables workload profiles for Container App environments?
That image with -enable-workload-profiles flag is correct.
Not just the plain env create here, you need
-enable-workload-profiles so each app can set CPU and memory. Some might think the default works, but that's a trap. Pretty sure this is right, but let me know if you see a flaw.Yep, that's the one with -enable-workload-profiles.
Gotta use -enable-workload-profiles when you need to configure memory and CPU per container app. The regular create command doesn't let you tweak those resources for each service. Pretty sure that's the catch here, correct me if I'm missing something.
Be respectful. No spam.
