This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
What is the purpose of setting the environment variable spring.profiles.active to postgres in the Azure Container Apps configuration?
spring.profiles.active
postgres
It enables Azure Container Apps to automatically connect to any available PostgreSQL database instance.
It activates a specific Spring profile that configures the application to use PostgreSQL instead of the default H2 database.
It creates a new PostgreSQL database automatically if one isn't already specified.
It sets a default admin password for the PostgreSQL database.
What benefits does enabling the Java stack in Azure Container Apps provide for your Java applications?
Automatic memory fitting tailored for Java applications, optimizing resource usage.
Access to built-in JVM metrics for tracking memory usage, garbage collection, and thread count.
Built-in Java diagnostics tools to monitor application health and performance.
All of the above.
When deploying the Spring PetClinic application on Azure Container Apps, which resource is automatically set up to enable centralized logging and monitoring for the application?
Azure Cosmos DB
Log Analytics workspace
Azure Front Door
You must answer all questions before checking your work.
Was this page helpful?