-
web.groovymark@gmail.com
- November 21, 2024
Question 01
What is the function of the Azure Service Bus “dead-letter queue”?
a) To handle expired messages
b) To store failed or unprocessable messages for future review
c) To queue messages for high-priority processing
d) To resend unacknowledged messages
Correct Answer: b) To store failed or unprocessable messages for future review
Explanation: The dead-letter queue is used to capture messages that cannot be processed, allowing for later examination and resolution.
Question 02
Which Cosmos DB consistency level provides the strongest consistency guarantees?
a) Session
b) Bounded Staleness
c) Eventual
d) Strong
Correct Answer: d) Strong
Explanation: Strong consistency ensures that reads always return the most recent committed version of data.
Question 03
What is the main benefit of using Azure Blob Storage Archive tier?
a) Immediate access to data
b) Lower storage costs for infrequently accessed data
c) Higher security features
d) Faster data retrieval than other tiers
Correct Answer: b) Lower storage costs for infrequently accessed data
Explanation: The Archive tier is designed for long-term storage of infrequently accessed data, offering the lowest cost but requiring rehydration for access.
Question 04
What is the purpose of a partition key in Azure Cosmos DB?
a) To encrypt data stored in the database
b) To group and distribute data efficiently across partitions
c) To manage access control for database users
d) To track changes in the database
Correct Answer: b) To group and distribute data efficiently across partitions
Explanation: Partition keys ensure that data is distributed evenly across logical partitions, improving scalability and performance.
Question 05
Which Azure service allows you to monitor, diagnose, and gain insights into your applications?
a) Azure Event Grid
b) Azure Application Insights
c) Azure Service Bus
d) Azure Active Directory
Correct Answer: b) Azure Application Insights
Explanation: Azure Application Insights provides monitoring and diagnostic capabilities for applications to help improve performance and usability.
Question 06
What happens when a Cosmos DB partition exceeds its throughput capacity?
a) Requests are rejected with a 429 error
b) Requests are automatically rerouted to a different region
c) Data is automatically split into multiple partitions
d) The partition is archived
Correct Answer: a) Requests are rejected with a 429 error
Explanation: When a partition exceeds its throughput capacity, additional requests are throttled, resulting in a 429 "Too Many Requests" error.
Question 07
What is the default maximum retention period for logs in Azure Application Insights?
a) 7 days
b) 30 days
c) 90 days
d) 365 days
Correct Answer: b) 30 days
Explanation: By default, Application Insights retains logs for 30 days, after which they are automatically deleted.
Question 08
Which Azure service allows you to deploy and manage containerized applications without managing the underlying infrastructure?
a) Azure Kubernetes Service
b) Azure Container Instances
c) Azure Virtual Machines
d) Azure Service Bus
Correct Answer: b) Azure Container Instances
Explanation: Azure Container Instances provide a simple way to run containerized applications without managing the underlying infrastructure.
Question 09
What is the role of the “orchestrator function” in Durable Functions?
a) It executes individual tasks asynchronously
b) It defines the workflow and coordinates the execution of activity functions
c) It logs errors and tracks exceptions
d) It manages data synchronization between services
Correct Answer: b) It defines the workflow and coordinates the execution of activity functions
Explanation: The orchestrator function in Durable Functions coordinates the order of function execution and handles state management across tasks.
Question 10
What is the Azure service used to securely store tokens, passwords, certificates, and secrets?
a) Azure Active Directory
b) Azure Key Vault
c) Azure Storage Account
d) Azure Monitor
Correct Answer: b) Azure Key Vault
Explanation: Azure Key Vault is designed to securely store sensitive information like tokens, passwords, and certificates.
Question 11
What is the main purpose of Azure Event Grid?
a) To store unstructured data
b) To route and manage events between sources and event handlers
c) To monitor application performance
d) To provide messaging between microservices
Correct Answer: b) To route and manage events between sources and event handlers
Explanation: Azure Event Grid routes events from various sources to handlers like Azure Functions or Logic Apps.
Question 12
Which type of Azure Storage account provides the highest throughput for large file workloads?
a) Standard General-purpose v1
b) Standard General-purpose v2
c) Premium Block Blob Storage
d) Archive Storage
Correct Answer: c) Premium Block Blob Storage
Explanation: Premium Block Blob Storage offers the highest throughput for workloads involving large file transfers and frequent data access.
Question 13
What does the “standard deviation” measure in a dataset?
a) The average value
b) The dispersion or variability of data points from the mean
c) The frequency of each category
d) The total number of observations
Correct Answer: b) The dispersion or variability of data points from the mean
Explanation: Standard deviation quantifies how much individual data points deviate from the mean, indicating the degree of spread in the dataset.
Question 14
What is the purpose of a “lease” in Azure Blob Storage?
a) To ensure exclusive access to a blob for read and write operations
b) To track changes to a blob over time
c) To replicate blobs across regions
d) To compress blobs to save storage space
Correct Answer: a) To ensure exclusive access to a blob for read and write operations
Explanation: A lease ensures exclusive access to a blob, preventing other processes from modifying or deleting it during the lease period.
Question 15
Which feature in Azure Functions allows for durable, long-running workflows?
a) Output bindings
b) Orchestrator function
c) Event Grid
d) Input bindings
Correct Answer: b) Orchestrator function
Explanation: The orchestrator function in Durable Functions enables the creation of durable, long-running workflows by coordinating the execution of multiple activity functions.
Question 16
What is the benefit of using the “Session” consistency level in Cosmos DB?
a) It guarantees the fastest write operations
b) It ensures global availability with eventual consistency
c) It balances performance and consistency for user sessions
d) It guarantees strong consistency across regions
Correct Answer: c) It balances performance and consistency for user sessions
Explanation: Session consistency ensures that within a single session, reads always reflect the most recent writes, balancing performance and consistency.
Question 17
In Azure Key Vault, what is the “soft delete” feature?
a) It encrypts deleted secrets for future recovery
b) It allows recovery of deleted keys, secrets, and certificates within a retention period
c) It permanently deletes keys and secrets
d) It disables a key without removing it
Correct Answer: b) It allows recovery of deleted keys, secrets, and certificates within a retention period
Explanation: Soft delete in Azure Key Vault allows you to recover deleted items within a retention period, preventing accidental permanent deletion.
Question 18
What is the function of the “Gremlin” API in Cosmos DB?
a) To perform graph-based queries and traversal
b) To store and retrieve binary data
c) To provide encryption for sensitive data
d) To manage user access
Correct Answer: a) To perform graph-based queries and traversal
Explanation: The Gremlin API in Cosmos DB is used for graph databases, enabling graph traversal and queries over nodes and edges.
Question 19
. In Azure, what is a “Management Group”?
a) A logical container for grouping resources
b) A way to organize and apply policies across multiple subscriptions
c) A virtual machine template
d) A key vault access policy
Correct Answer: b) A way to organize and apply policies across multiple subscriptions
Explanation: Management Groups are used to manage access, policy, and compliance across multiple Azure subscriptions.
Question 20
20. Which Azure service is designed to handle event-driven serverless computing?
a) Azure Logic Apps
b) Azure Service Bus
c) Azure Functions
d) Azure Kubernetes Service
Correct Answer: c) Azure Functions
Explanation: Azure Functions is a serverless compute service designed to execute code in response to events or triggers, such as HTTP requests or message queues.