




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A set of practice questions for the microsoft certified azure developer associate exam. It covers key azure services and concepts, including azure functions, azure app service, azure kubernetes service (aks), azure blob storage, azure cosmos db, and azure key vault. Each question is followed by a correct answer and a brief explanation to help reinforce understanding and prepare candidates for the exam. This resource is valuable for anyone studying to become an azure developer associate and aims to test their knowledge of cloud development and deployment on the azure platform. The questions cover a range of topics, from serverless computing to containerization and data storage solutions, providing a comprehensive review of the exam's key areas.
Typology: Exams
1 / 191
This page cannot be seen from the preview
Don't miss anything!





























































































Question 1. Which Azure service is primarily used to host serverless code that executes in response to events? A) Azure App Service B) Azure Functions C) Azure Virtual Machines D) Azure API Management Answer: B Explanation: Azure Functions is designed for serverless event-driven code execution, automatically scaling based on demand. Question 2. What is the default runtime for new Azure Functions created in the Azure portal as of 2024? A) .NET 3.
C) Node.js 10 D) Java 8 Answer: B Explanation: The default runtime for new Azure Functions is .NET 6, as it is a long-term support (LTS) version. Question 3. Which of the following triggers can NOT be used with Azure Functions? A) HTTP B) Timer C) Blob Storage D) SQL Server Agent
Explanation: Deployment slots allow you to host different versions (e.g., staging, production) and swap them without downtime. Question 5. In Azure Functions, what does a binding do? A) Connects the function to external services or data sources B) Manages deployment settings C) Provides access to virtual machines D) Encrypts data automatically Answer: A Explanation: Bindings in Azure Functions connect your function code to other resources, such as queues, blobs, or databases.
Question 6. Which Azure service is used to manage and store Docker container images? A) Azure Container Registry B) Azure Blob Storage C) Azure App Service D) Azure Key Vault Answer: A Explanation: Azure Container Registry is a managed Docker registry for storing and managing container images. Question 7. What is the main benefit of using Azure Kubernetes Service (AKS)? A) Manages only storage resources
C) Traffic Manager D) Hybrid Connections Answer: B Explanation: Autoscale automatically increases or decreases resources based on defined rules and metrics. Question 9. When developing for Azure Blob Storage, which client library is recommended for .NET applications? A) Azure.Storage.Blobs B) Microsoft.WindowsAzure.Storage C) Azure.Data.Tables D) Azure.Cosmos Answer: A
Explanation: Azure.Storage.Blobs is the latest and recommended library for interacting with Blob Storage in .NET. Question 10. Which Azure storage service is best suited for storing large amounts of unstructured text or binary data? A) Azure Files B) Azure SQL Database C) Azure Blob Storage D) Azure Table Storage Answer: C Explanation: Azure Blob Storage is specifically designed for storing massive amounts of unstructured data.
B) Azure.Storage.Blobs C) Microsoft.Azure.KeyVault D) Microsoft.Identity.Client Answer: A Explanation: Microsoft.Azure.Cosmos is the official SDK for working with Cosmos DB in .NET. Question 13. What is a partition key in Azure Cosmos DB? A) The primary key for a SQL table B) A value used to distribute data across logical partitions C) An encryption key D) A type of trigger
Answer: B Explanation: The partition key helps Cosmos DB distribute data and workload evenly across partitions. Question 14. Which consistency level ensures the highest performance but the lowest consistency in Azure Cosmos DB? A) Strong B) Bounded Staleness C) Session D) Eventual Answer: D Explanation: Eventual consistency offers the highest performance and availability at the cost of possible stale reads.
B) Queue Storage C) Blob Storage D) Azure Key Vault Answer: D Explanation: Azure Key Vault is not a trigger; it is a storage service for secrets, keys, and certificates. Question 17. Which authentication method allows an Azure App Service to access other Azure resources without storing credentials in code? A) Basic authentication B) OAuth C) Managed Identity D) Shared Access Signature
Answer: C Explanation: Managed Identities allow Azure services to authenticate to other services securely without explicit credentials. Question 18. What does Azure Key Vault primarily store? A) Docker images B) Application secrets, keys, and certificates C) VHD files D) Firewall rules Answer: B Explanation: Azure Key Vault is for secure storage and management of secrets, encryption keys, and certificates.
B) Zero-downtime deployments C) Increased storage D) Better networking Answer: B Explanation: Deployment slots enable you to test changes in a staging environment and swap to production without downtime. Question 21. Which Azure Function plan provides the ability to run functions on demand and scale out automatically but with a maximum execution time? A) Premium Plan B) Consumption Plan C) Dedicated (App Service) Plan
D) Shared Plan Answer: B Explanation: The Consumption Plan automatically scales and is cost- effective, but has a maximum execution duration per function. Question 22. Which Azure service would you use to orchestrate a workflow of multiple Azure Functions? A) Azure Logic Apps B) Azure DevOps C) Azure Storage D) Azure Portal Answer: A
Question 24. What is the main function of Azure Container Instances? A) To provide a managed Kubernetes environment B) To run containers without managing virtual machines or orchestrators C) To store container images D) To deploy static websites Answer: B Explanation: Azure Container Instances allow you to quickly run containers without managing underlying infrastructure. Question 25. Which Azure Storage service offers a hierarchical namespace and is optimized for big data analytics? A) Azure Table Storage
B) Azure Data Lake Storage Gen C) Azure Blob Storage (Hot Tier) D) Azure Queue Storage Answer: B Explanation: Azure Data Lake Storage Gen2 provides a hierarchical namespace and is optimized for big data workloads. Question 26. When connecting to Cosmos DB from an Azure Function, which approach securely retrieves the connection string? A) Store in code B) Store in local.settings.json C) Use Azure Key Vault D) Store in public GitHub repository