You have a microservices application with multiple components that need to scale independently and require container orchestration. Which Azure service is the best fit?
Think about container orchestration and independent scaling.
AKS is designed for container orchestration and managing microservices with independent scaling. App Service is for web apps without complex orchestration. Functions are for event-driven serverless tasks. Blob Storage is for storing files, not running apps.
Which statement best describes how Azure Functions scale when demand increases?
Consider how serverless services handle load.
Azure Functions automatically scale out by adding instances in response to event triggers, without manual intervention. Vertical scaling is not how Functions scale. Manual scaling is not required.
You need to run a background job that processes large files and can take several hours to complete. Which Azure service is most suitable?
Think about long-running processes and control over execution.
AKS supports long-running workloads with full control over containers and resources. Functions on consumption plan have execution time limits. App Service WebJobs can run background tasks but have less control and scaling flexibility. Logic Apps are for orchestrating workflows, not heavy processing.
Which method is the most secure way to manage sensitive environment variables like API keys in Azure App Service?
Consider secure storage and access management for secrets.
Azure Key Vault allows secure storage of secrets and can be referenced in App Service settings without exposing them in code or settings directly. Hardcoding or storing in public repos is insecure. Directly storing in settings is less secure than Key Vault.
You have an event-driven workload with unpredictable traffic spikes. You want to minimize cost while ensuring fast response times. Which Azure service and plan combination is the best choice?
Think about balancing cost, scaling, and cold start delays.
Azure Functions Premium plan supports pre-warmed instances to avoid cold starts and scales automatically, balancing cost and performance for unpredictable traffic. Consumption plan is cheaper but can have cold start delays. App Service and AKS with fixed scaling are less cost-efficient for unpredictable spikes.