Microsoft Certification Microsoft Azure Developer (AZ-204) 1 — Questions and Answers
Question 1: What is Azure App Service primarily used for?
- Storing large media files
- Hosting web applications, REST APIs, and mobile backends (Correct answer)
- Running batch processing jobs
- Managing DNS zones
Correct answer: Hosting web applications, REST APIs, and mobile backends
Azure App Service is a fully managed PaaS platform for hosting web apps, REST APIs, and mobile back-ends on Windows or Linux.
Question 2: What is Azure Functions used for?
- Hosting full web applications
- Running small pieces of event-driven code without managing servers (Correct answer)
- Creating virtual networks
- Storing relational data
Correct answer: Running small pieces of event-driven code without managing servers
Azure Functions is a serverless compute service that runs small, event-triggered code snippets without requiring server management.
Question 3: What is the purpose of Azure API Management?
- Monitoring VM performance
- Publishing, securing, and managing APIs for internal and external developers (Correct answer)
- Storing configuration secrets
- Hosting static websites
Correct answer: Publishing, securing, and managing APIs for internal and external developers
Azure API Management provides a gateway to publish APIs, enforce policies, throttle requests, and provide a developer portal for API consumers.
Question 4: Which Azure service provides a fully managed message queue for decoupling application components?
- Azure Event Grid
- Azure Service Bus (Correct answer)
- Azure Blob Storage
- Azure CDN
Correct answer: Azure Service Bus
Azure Service Bus is a fully managed enterprise message broker that decouples application components using queues and topics.
Question 5: What does Azure Key Vault allow developers to do?
- Monitor application errors
- Securely store and access secrets, keys, and certificates in applications (Correct answer)
- Deploy containerized apps
- Configure virtual networks
Correct answer: Securely store and access secrets, keys, and certificates in applications
Azure Key Vault enables developers to securely store application secrets, connection strings, API keys, and certificates outside of code.
Question 6: What is the purpose of Azure Container Registry (ACR)?
- Running container workloads
- Storing and managing private Docker container images (Correct answer)
- Monitoring container performance
- Creating Kubernetes clusters
Correct answer: Storing and managing private Docker container images
Azure Container Registry is a managed, private Docker registry service for storing and managing container images and related artifacts.
What is Azure App Service primarily used for?