-
web.groovymark@gmail.com
- November 21, 2024
Question 01
Which Azure resource provides the ability to group together services such as virtual machines, storage accounts, and web apps into a logical container?
a) Resource group
b) Subscription
c) Management group
d) Billing account
Correct Answer: a) Resource group
Explanation: A resource group acts as a logical container in which resources like virtual machines, storage accounts, and web apps are deployed and managed together.
Question 02
What is the main purpose of a subscription in Azure?
a) It organizes user accounts
b) It creates resources
c) It manages billing and access control
d) It handles security policies
Correct Answer: c) It manages billing and access control
Explanation: A subscription groups user accounts and manages costs and access control for the resources created by users.
Question 03
When organizing Azure resources, what is the highest level of the structure?
a) Subscription
b) Management group
c) Resource group
d) Resource
Correct Answer: b) Management group
Explanation: Management groups are the highest level, helping manage access, policy, and compliance for multiple subscriptions.
Question 04
If you want to manage multiple subscriptions under a single policy or access control, which structure should you use?
a) Billing account
b) Management group
c) Resource group
d) Azure Active Directory
Correct Answer: b) Management group
Explanation: Management groups allow you to manage policies and access for multiple subscriptions at once.
Question 05
What are the two types of subscription boundaries in Azure?
a) Billing boundary and Resource boundary
b) Resource group boundary and Access control boundary
c) Billing boundary and Access control boundary
d) Management group boundary and Billing boundary
Correct Answer: c) Billing boundary and Access control boundary
Explanation: The two types of boundaries are Billing, which affects how Azure charges are managed, and Access control, which manages user access to resources.
Question 06
In Azure, what is the default storage limit for a logical partition in Cosmos DB?
a) 10GB
b) 20GB
c) 50GB
d) 100GB
Correct Answer: b) 20GB
Explanation: By default, each logical partition in Cosmos DB has a storage limit of 20GB.
Question 07
If an Azure function needs to trigger based on an image uploaded to Blob Storage, which type of trigger should you use?
a) Timer trigger
b) Event Grid trigger
c) Blob Storage trigger
d) HTTP trigger
Correct Answer: c) Blob Storage trigger
Explanation: A Blob Storage trigger starts the function when an image or file is uploaded or updated in Blob Storage.
Question 08
What is the main purpose of the Timer trigger in Azure Functions?
a) To start functions based on HTTP requests
b) To start functions based on new data
c) To start functions on a schedule
d) To start functions based on queue messages
Correct Answer: c) To start functions on a schedule
Explanation: The Timer trigger is used to run Azure functions at specified times, such as daily or weekly.
Question 09
What should be configured to ensure high availability if one Azure Availability Zone goes down?
a) Zonal services
b) Geo-redundant storage
c) Zone-redundant services
d) Single-zone architecture
Correct Answer: c) Zone-redundant services
Explanation: Zone-redundant services automatically replicate across multiple zones, ensuring availability even if one zone goes down.
Question 10
Which component allows Azure to replicate resources across paired regions for disaster recovery?
a) Availability zones
b) Resource groups
c) Region pair
d) Subscription
Correct Answer: c) Region pair
Explanation: Each Azure region is paired with another region to allow for resource replication in case of disasters.
Question 11
When would you choose a synthetic partition key in Cosmos DB?
a) When a single property does not provide enough variety
b) When you need to replicate data
c) When you want to reduce storage costs
d) When you want to increase write speed
Correct Answer: a) When a single property does not provide enough variety
Explanation: A synthetic partition key is used when no single property in the data offers a wide range of unique values, so two properties are combined.
Question 12
What are the benefits of using Azure Durable Functions?
a) They are faster than regular functions
b) They simplify complex workflows by orchestrating functions
c) They require less code to run
d) They use fewer resources than normal functions
Correct Answer: b) They simplify complex workflows by orchestrating functions
Explanation: Azure Durable Functions allow you to orchestrate and manage state across multiple function calls, simplifying complex workflows.
Question 13
What is the main difference between a block blob and a page blob in Azure Storage?
a) Block blobs store large binary data, page blobs store random access files
b) Block blobs store data in chunks, page blobs store in sequential pages
c) Block blobs are used for logging, page blobs are used for VM disks
d) Block blobs can only be read, page blobs can only be written
Correct Answer: a) Block blobs store large binary data, page blobs store random access files
Explanation: Block blobs are ideal for storing large files, while page blobs are optimized for frequent random read/write operations like virtual machine disks.
Question 14
What is the maximum number of messages that can be read from an Azure Queue in a single batch?
a) 8
b) 16
c) 32
d) 64
Correct Answer: c) 32
Explanation: Azure Queue Storage allows you to retrieve up to 32 messages in a single batch.
Question 15
If you want to configure an Azure Cosmos DB to always return the most recent version of the data, which consistency level should you choose?
a) Eventual
b) Session
c) Consistent Prefix
d) Strong
Correct Answer: d) Strong
Explanation: Strong consistency guarantees that reads always return the most recent committed write, providing the highest level of consistency.
Question 16
Which tool should you use to manage Azure storage accounts and copy blobs between storage containers?
a) Azure CLI
b) PowerShell
c) AzCopy
d) Docker
Correct Answer: c) AzCopy
Explanation: AzCopy is a command-line tool designed for bulk copy operations in Azure Storage.
Question 17
If you need to process changes in an Azure Cosmos DB container asynchronously, which feature should you use?
a) Partition key
b) ChangeFeed
c) Stored procedures
d) Replication
Correct Answer: b) ChangeFeed
Explanation: The ChangeFeed in Cosmos DB provides a log of changes, allowing for asynchronous processing of new or updated items.
Question 18
What should you do if a Cosmos DB partition key causes a “hot” partition?
a) Change the database consistency level
b) Add more replicas to the partition
c) Use a synthetic partition key
d) Increase the throughput
Correct Answer: c) Use a synthetic partition key
Explanation: A synthetic partition key can help distribute data more evenly across partitions, preventing any one partition from becoming a "hot" partition.
Question 19
What is the function of Azure Role-Based Access Control (RBAC)?
a) It encrypts all data at rest
b) It manages resource scaling
c) It assigns permissions to users and groups
d) It monitors the health of resources
Correct Answer: c) It assigns permissions to users and groups
Explanation: Azure RBAC is used to assign and manage permissions for users, groups, and applications at different scopes within Azure.
Question 20
Which Azure service allows for two-way communication between a client and server, maintaining a persistent connection?
a) Azure Event Grid
b) Azure Queue Storage
c) SignalR
d) Service Bus
Correct Answer: c) SignalR
Explanation: Azure SignalR Service enables real-time two-way communication, keeping a persistent connection between the client and server.