0
0
Azurecloud~20 mins

Container Apps for microservices in Azure - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Container Apps Microservices Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
Architecture
intermediate
2:00remaining
Microservice Communication in Azure Container Apps

You have deployed multiple microservices as Azure Container Apps. You want these microservices to communicate securely within the same environment without exposing them publicly.

Which configuration option ensures secure internal communication between microservices?

AExpose each microservice on a public port and secure with firewall rules.
BEnable ingress with external visibility and use public URLs for communication.
CUse Azure API Management to route traffic between microservices externally.
DDisable ingress and use internal Dapr service invocation between Container Apps.
Attempts:
2 left
💡 Hint

Think about how Azure Container Apps enable secure service-to-service calls without public exposure.

Configuration
intermediate
2:00remaining
Scaling Microservices in Azure Container Apps

You want to configure automatic scaling for a microservice deployed as an Azure Container App based on HTTP request load.

Which scaling trigger should you configure to scale out the microservice when HTTP requests increase?

AConfigure a Dapr pub/sub trigger to scale on message queue length.
BConfigure a CPU-based scaling trigger to scale when CPU usage exceeds 70%.
CConfigure an HTTP scaling trigger to scale based on concurrent HTTP requests.
DConfigure a manual scale setting with fixed instance count.
Attempts:
2 left
💡 Hint

Consider which trigger directly relates to HTTP traffic load.

security
advanced
2:30remaining
Securing Secrets in Azure Container Apps Microservices

You have multiple microservices running as Azure Container Apps that require access to sensitive configuration values like database passwords.

What is the best practice to securely provide these secrets to your microservices?

AUse Azure Key Vault references integrated with Azure Container Apps secrets feature.
BStore secrets in environment variables directly in the Container App configuration.
CEmbed secrets in the container image during build time.
DStore secrets in a public GitHub repository and pull them at runtime.
Attempts:
2 left
💡 Hint

Think about a secure, managed way to handle secrets without exposing them in code or environment variables.

service_behavior
advanced
2:30remaining
Observability in Azure Container Apps Microservices

You want to monitor logs and metrics from multiple microservices running as Azure Container Apps to troubleshoot performance issues.

Which Azure service should you configure to collect and analyze telemetry data from your Container Apps?

AAzure Functions to poll Container Apps logs periodically.
BAzure Monitor with Container Insights enabled for Container Apps.
CAzure DevOps pipelines for log collection.
DAzure Blob Storage to store logs manually from each Container App.
Attempts:
2 left
💡 Hint

Consider the Azure service designed for monitoring and diagnostics of container workloads.

Best Practice
expert
3:00remaining
Designing a Resilient Microservices Architecture with Azure Container Apps

You are designing a microservices architecture using Azure Container Apps. You want to ensure that if one microservice fails, it does not cause the entire application to become unavailable.

Which design approach best supports this resilience?

AUse separate Container Apps for each microservice with independent scaling and health probes.
BCombine all microservices into one monolithic container to reduce network calls.
CDeploy all microservices in a single Container App instance to simplify management.
DDisable health checks to avoid automatic restarts that might cause downtime.
Attempts:
2 left
💡 Hint

Think about isolation and independent management of microservices for fault tolerance.