- web.groovymark@gmail.com
- November 21, 2024
Question 01
What is the primary advantage of using Azure Durable Functions over standard Azure Functions?
a) Lower costs
b) Ability to run complex, stateful workflows
c) Instant scalability
d) Access to GPU resources
Correct Answer: b) Ability to run complex, stateful workflows
Explanation: Azure Durable Functions allow for the orchestration of complex, stateful workflows in a serverless environment, which standard Azure Functions cannot do.
Question 02
In Azure Cosmos DB, which consistency level guarantees that reads return the latest committed write?
a) Eventual
b) Bounded Staleness
c) Strong
d) Session
Correct Answer: c) Strong
Explanation: The Strong consistency level guarantees that read operations always return the most recent committed version, ensuring strong linearizability.
Question 03
What is the key benefit of using a Service Bus over other Azure messaging services?
a) Real-time messaging
b) High throughput for short-lived events
c) Enterprise-grade features such as message ordering and dead-letter queues
d) Low-cost operation
Correct Answer: c) Enterprise-grade features such as message ordering and dead-letter queues
Explanation: Azure Service Bus provides enterprise-level features like message ordering, dead-lettering, and transactions, making it suitable for complex messaging scenarios.
Question 04
What is the best use case for Azure Archive Storage?
a) Hosting a high-traffic website
b) Storing long-term, infrequently accessed data
c) Storing real-time application logs
d) Short-term backup
Correct Answer: b) Storing long-term, infrequently accessed data
Explanation: Archive Storage is optimized for long-term storage of data that is rarely accessed, providing lower storage costs but higher retrieval times.
Question 05
What is the minimum duration for data to remain in the Cool tier of Azure Blob Storage?
a) 7 days
b) 30 days
c) 90 days
d) 180 days
Correct Answer: b) 30 days
Explanation: Data stored in the Cool tier must remain there for at least 30 days to optimize storage costs.
Question 06
In Azure Functions, what is an “output binding”?
a) A way to scale out functions automatically
b) A connection to a data destination that allows functions to write data
c) A configuration that links functions to triggers
d) A mechanism to handle errors in function execution
Correct Answer: b) A connection to a data destination that allows functions to write data
Explanation: Output bindings in Azure Functions provide a declarative way to write data to various services without manually coding connections.
Question 07
What is a key use case for Azure Blob Storage?
a) Storing relational database tables
b) Hosting an event-driven application
c) Storing unstructured data such as images and videos
d) Managing real-time messaging services
Correct Answer: c) Storing unstructured data such as images and videos
Explanation: Azure Blob Storage is ideal for storing large amounts of unstructured data like images, videos, and backups.
Question 08
. Which feature of Azure Key Vault provides automated access management to keys and secrets for Azure resources?
a) Managed Identity
b) API Keys
c) Custom Roles
d) Role-Based Access Control (RBAC)
Correct Answer: a) Managed Identity
Explanation: Managed Identity in Azure Key Vault allows Azure resources to access secrets and keys securely without needing credentials.
Question 09
How is horizontal scaling in Azure different from vertical scaling?
a) It adds more compute resources to a single VM
b) It reduces the number of VMs used
c) It increases the size of a VM’s CPU and memory
d) It adds or removes instances of an application
Correct Answer: d) It adds or removes instances of an application
Explanation: Horizontal scaling adds or removes instances of an application to handle changes in demand, while vertical scaling increases the resources of a single instance.
Question 10
. What is a CRON expression used for in Azure Functions?
a) To define a serverless architecture
b) To set a time-based schedule for function execution
c) To monitor system logs
d) To handle blob storage events
Correct Answer: b) To set a time-based schedule for function execution
Explanation: CRON expressions are used in Azure Functions to schedule events based on a specified time interval.
Question 11
In Azure Storage, what does the acronym “SAS” stand for?
a) Service Access Standard
b) Storage Access Script
c) Secure Account Service
d) Shared Access Signature
Correct Answer: d) Shared Access Signature
Explanation: A Shared Access Signature (SAS) provides secure, time-limited access to Azure Storage resources without exposing full credentials.
Question 12
What is the minimum throughput for an Azure Cosmos DB container?
a) 100 request units per second
b) 200 request units per second
c) 400 request units per second
d) 500 request units per second
Correct Answer: c) 400 request units per second
Explanation: Azure Cosmos DB containers require a minimum throughput of 400 request units per second (RUs).
Question 13
In Azure, what is the purpose of the “Lease Blob” operation?
a) To permanently lock a blob from being accessed
b) To acquire exclusive write and delete access to a blob
c) To read data from a blob more efficiently
d) To set permissions for public blob access
Correct Answer: b) To acquire exclusive write and delete access to a blob
Explanation: The "Lease Blob" operation in Azure provides exclusive access to write or delete a blob for a specified period.
Question 14
What is the Azure Function “Durable Client” responsible for?
a) Managing all input bindings
b) Defining a workflow sequence for a durable function
c) Starting and managing durable orchestrations
d) Handling blob storage triggers
Correct Answer: c) Starting and managing durable orchestrations
Explanation: The Durable Client in Azure Functions is responsible for starting and managing orchestrations and workflows in durable functions.
Question 15
Which consistency level in Cosmos DB ensures that reads are guaranteed to be consistent within a preconfigured lag?
a) Eventual
b) Bounded Staleness
c) Strong
d) Session
Correct Answer: b) Bounded Staleness
Explanation: Bounded Staleness guarantees reads to be consistent within a preconfigured lag, offering a balance between consistency and performance.
Question 16
What is the correct way to retrieve a secret from Azure Key Vault using its URL?
a) https://vault.azure.com/{key}
b) https://{vault-name}.vault.azure.net/{secret}/{version}
c) https://keyvault.microsoft.com/{vault}/{key}
d) https://{vault-name}.keyvault.com/{secret}
Correct Answer: b) https://{vault-name}.vault.azure.net/{secret}/{version}
Explanation: The correct format for retrieving a secret from Azure Key Vault uses the vault name and secret version in the URL.
Question 17
Which binding type in Azure Functions reads data from a source?
a) Input binding
b) Output binding
c) Event binding
d) Timer binding
Correct Answer: a) Input binding
Explanation: Input bindings in Azure Functions allow functions to read data from a specified source without writing manual code for the connection.
Question 18
What is the primary purpose of using Azure Event Grid?
a) To store large datasets
b) To schedule function executions
c) To enable event-based architecture and trigger events across services
d) To manage virtual machines
Correct Answer: c) To enable event-based architecture and trigger events across services
Explanation: Azure Event Grid enables an event-based architecture by delivering events across services to trigger actions and workflows.
Question 19
What does the “Anonymous” authorization level in Azure HTTP trigger functions indicate?
a) That authentication is required for accessing the function
b) That no authentication is required to access the function
c) That only admins can access the function
d) That the function is limited to internal services only
Correct Answer: b) That no authentication is required to access the function
Explanation: The "Anonymous" level allows access to the Azure Function without any authentication.
Question 20
Which feature in Azure Cosmos DB helps distribute data and manage scalability?
a) Partition Key
b) Consistency Level
c) Request Units
d) Indexing Policy
Correct Answer: a) Partition Key
Explanation: The Partition Key in Azure Cosmos DB determines how the data is distributed across physical partitions, affecting performance and scalability.