-
web.groovymark@gmail.com
- November 21, 2024
Question 01
Which Azure Cosmos DB API is designed to support document-based data structures?
a) Table API
b) Gremlin API
c) MongoDB API
d) Cassandra API
Correct Answer: c) MongoDB API
Explanation: The MongoDB API in Cosmos DB is designed to work with document-based data structures, supporting MongoDB protocols for NoSQL databases.
Question 02
In an Azure Kubernetes Service (AKS), what component is responsible for managing node scaling and load distribution?
a) Pod
b) Container
c) Controller Manager
d) Virtual Machine Scale Sets
Correct Answer: d) Virtual Machine Scale Sets
Explanation: AKS uses Virtual Machine Scale Sets to manage node scaling and load distribution automatically.
Question 03
What is the purpose of Azure Event Hub’s “partition key”?
a) To guarantee message order within a partition
b) To replicate data across regions
c) To limit access to messages
d) To encrypt messages in transit
Correct Answer: a) To guarantee message order within a partition
Explanation: The partition key in Azure Event Hubs ensures that all events with the same key are sent to the same partition, preserving message order.
Question 04
What is the recommended throughput for a Cosmos DB container that stores frequently accessed data?
a) 100 RUs
b) 400 RUs
c) 1000 RUs
d) 2000 RUs
Correct Answer: b) 400 RUs
Explanation: The minimum recommended throughput for a Cosmos DB container with frequent access is 400 request units (RUs) per second.
Question 05
Which Azure service provides fine-grained access control for managing data in a storage account?
a) Azure Monitor
b) Azure Role-Based Access Control (RBAC)
c) Azure Blob Storage
d) Azure Key Vault
Correct Answer: b) Azure Role-Based Access Control (RBAC)
Explanation: Azure Role-Based Access Control (RBAC) provides fine-grained access control for managing data in a storage account by assigning roles to users.
Question 06
What does the “Zone Redundant Storage” (ZRS) option in Azure Storage provide?
a) Backup across different regions
b) High availability by replicating data across availability zones
c) Lower storage costs
d) Data encryption
Correct Answer: b) High availability by replicating data across availability zones
Explanation: ZRS replicates data across availability zones within a region, providing high availability and protection from zone failures.
Question 07
In Azure Cosmos DB, what is the purpose of “synthetic partition keys”?
a) To encrypt data
b) To create a compound key when no single property is appropriate for partitioning
c) To ensure strong consistency
d) To control access to specific partitions
Correct Answer: b) To create a compound key when no single property is appropriate for partitioning
Explanation: Synthetic partition keys are compound keys created by concatenating multiple properties to distribute data evenly across partitions.
Question 08
Which Azure service would you use to implement a workflow that requires human interaction and timeouts?
a) Azure Logic Apps
b) Azure Event Grid
c) Azure Functions
d) Durable Functions
Correct Answer: d) Durable Functions
Explanation: Durable Functions support workflows that require human interaction and timeouts, making them ideal for scenarios like approval processes.
Question 09
What is the purpose of an Azure Active Directory “service principal”?
a) To monitor user logins
b) To authenticate applications or services
c) To enforce data encryption
d) To store secret keys
Correct Answer: b) To authenticate applications or services
Explanation: A service principal in Azure AD is used to authenticate applications or services, allowing them to access resources.
Question 10
In Azure Blob Storage, what does “rehydration” refer to?
a) Compressing blobs for storage
b) Recovering deleted blobs
c) Moving archived blobs to a more active access tier
d) Encrypting blobs
Correct Answer: c) Moving archived blobs to a more active access tier
Explanation: Rehydration refers to moving archived blobs from the archive tier to the hot or cool access tiers for faster access.
Question 11
What is the purpose of the “bounded staleness” consistency level in Cosmos DB?
a) To provide low-latency reads without guaranteeing consistency
b) To allow configurable delays in consistency while ensuring ordered reads
c) To guarantee immediate visibility of writes
d) To minimize storage costs
Correct Answer: b) To allow configurable delays in consistency while ensuring ordered reads
Explanation: Bounded staleness allows for a configurable lag in consistency while maintaining the order of reads, providing a balance between performance and consistency.
Question 12
In Azure Functions, what is a “binding”?
a) A function trigger
b) A declarative way to connect data sources or destinations
c) A method for scaling function execution
d) A tool for managing access control
Correct Answer: b) A declarative way to connect data sources or destinations
Explanation: Bindings in Azure Functions are used to connect to data sources or destinations without hardcoding the logic, simplifying the function's integration with other services.
Question 13
What is the purpose of the Azure Key Vault “certificate policy”?
a) To define properties for how certificates are created and renewed
b) To encrypt application secrets
c) To generate private keys for encryption
d) To manage user authentication
Correct Answer: a) To define properties for how certificates are created and renewed
Explanation: A certificate policy in Azure Key Vault defines the rules for certificate creation and renewal, ensuring consistency across issued certificates.
Question 14
What is the default maximum size for a logical partition in Cosmos DB?
a) 5GB
b) 10GB
c) 20GB
d) 50GB
Correct Answer: c) 20GB
Explanation: The default maximum size for a logical partition in Cosmos DB is 20GB.
Question 15
In Azure Blob Storage, what is the “cool” access tier used for?
a) Frequently accessed data
b) Long-term archival storage
c) Infrequently accessed data that can tolerate higher latency
d) Read-only data
Correct Answer: c) Infrequently accessed data that can tolerate higher latency
Explanation: The cool access tier is intended for data that is infrequently accessed but must still be readily available, offering lower costs compared to the hot tier.
Question 16
What is a primary benefit of using Azure Managed Identities?
a) Reduced latency
b) Simplified credential management for accessing Azure resources
c) Enhanced network security
d) Lower storage costs
Correct Answer: b) Simplified credential management for accessing Azure resources
Explanation: Azure Managed Identities eliminate the need for managing credentials by allowing resources to securely access other Azure services without manual authentication.
Question 17
In Cosmos DB, what is the role of the “change feed”?
a) To synchronize data across partitions
b) To provide real-time monitoring of database schema changes
c) To log and stream changes in data for processing
d) To manage access control for database users
Correct Answer: c) To log and stream changes in data for processing
Explanation: The change feed in Cosmos DB captures and logs changes in data, allowing you to process them in real-time, such as triggering events or syncing with other systems.
Question 18
In Azure Functions, what is the purpose of a “trigger”?
a) To scale the function automatically
b) To start the execution of a function in response to an event
c) To connect data sources to the function
d) To log function performance metrics
Correct Answer: b) To start the execution of a function in response to an event
Explanation: A trigger in Azure Functions is an event that causes the function to execute, such as an HTTP request or a message in a queue.
Question 19
What is the purpose of “Azure File Sync”?
a) To synchronize data between Blob Storage and Cosmos DB
b) To extend on-premises file servers to Azure File Storage
c) To replicate SQL databases
d) To manage access control for storage accounts
Correct Answer: b) To extend on-premises file servers to Azure File Storage
Explanation: Azure File Sync enables on-premises file servers to sync with Azure File Storage, creating a hybrid cloud storage solution
Question 20
In an ARM template, what is the purpose of the “outputs” section?
a) To define resources to be deployed
b) To specify dependencies between resources
c) To return values from the deployment, such as resource IDs or connection strings
d) To set environment-specific parameters
Correct Answer: c) To return values from the deployment, such as resource IDs or connection strings
Explanation: The outputs section in an ARM template defines values that should be returned after the deployment is complete, such as resource IDs or connection strings.