-
web.groovymark@gmail.com
- November 21, 2024
Question 21
In Azure App Service, what is the default retention policy for application logs stored in the file system?
a) 12 hours
b) 24 hours
c) 7 days
d) No retention policy
Correct Answer: a) 12 hours
Explanation: Application logs stored in the file system on Azure App Service are retained for 12 hours by default.
Question 22
Which Azure service enables you to manage API versions and apply policies to API requests?
a) Azure Service Bus
b) Azure API Management
c) Azure Logic Apps
d) Azure Functions
Correct Answer: b) Azure API Management
Explanation: Azure API Management allows for API versioning, applying policies, and managing API security, performance, and scalability.
Question 23
What is the key feature of “auto-scaling” in Azure App Service?
a) Manually adding more VMs
b) Automatically adjusting resources based on demand
c) Setting up a backup service
d) Enabling multi-factor authentication
Correct Answer: b) Automatically adjusting resources based on demand
Explanation: Auto-scaling allows Azure App Service to automatically adjust the resources, such as adding or removing instances, based on current demand.
Question 24
What is the benefit of using Cosmos DB’s “Bounded Staleness” consistency level?
a) Ensures eventual consistency with low latency
b) Guarantees global consistency
c) Allows a predefined lag between writes and reads
d) Provides the fastest performance
Correct Answer: c) Allows a predefined lag between writes and reads
Explanation: Bounded Staleness allows you to define a specific lag between write and read operations, balancing consistency and performance.
Question 25
In Azure Service Bus, what mechanism ensures that failed messages are not lost and can be reviewed later?
a) Batch processing
b) Message Sessions
c) Dead-letter Queue
d) Duplicate Detection
Correct Answer: c) Dead-letter Queue
Explanation: The Dead-letter Queue stores messages that cannot be processed, allowing for review and reprocessing at a later time.
Question 26
What role does a “Product” play in Azure API Management?
a) It defines access control for APIs
b) It is used to bundle APIs and apply policies
c) It stores usage metrics
d) It manages virtual machines
Correct Answer: b) It is used to bundle APIs and apply policies
Explanation: In Azure API Management, Products are used to group APIs and apply policies, such as rate limiting or authentication requirements.
Question 27
. What type of storage access key provides full control over all resources in an Azure Storage account?
a) Shared Access Signature (SAS)
b) Account key
c) Access policy
d) Secret key
Correct Answer: b) Account key
Explanation: The Account key provides full control over all resources in an Azure Storage account, allowing for read, write, and delete operations.
Question 28
In Cosmos DB, what consistency level provides the fastest read performance but no guarantee of data ordering?
a) Eventual
b) Consistent Prefix
c) Session
d) Strong
Correct Answer: a) Eventual
Explanation: The Eventual consistency level provides the fastest read performance but does not guarantee the order in which data is read.
Question 29
Which feature in Azure Cosmos DB provides a log of changes for inserts and updates?
a) TTL
b) Partitioning
c) Change Feed
d) Consistency Levels
Correct Answer: c) Change Feed
Explanation: The Change Feed in Cosmos DB provides a log of changes, capturing inserts and updates for further processing.
Question 30
What is the purpose of a “Container Registry” in Azure?
a) To store SQL databases
b) To store and manage Docker container images
c) To manage virtual machines
d) To provide network security
Correct Answer: b) To store and manage Docker container images
Explanation: Azure Container Registry is used to store, manage, and distribute Docker container images for use in various Azure services.
Question 31
What type of access control boundary allows you to apply policies across multiple Azure subscriptions?
a) Management Group
b) Resource Group
c) Subscription
d) Role-Based Access Control (RBAC)
Correct Answer: a) Management Group
Explanation: Management Groups allow you to apply access management policies and compliance controls across multiple Azure subscriptions.
Question 32
. What Azure service is specifically designed to store large amounts of unstructured data, such as images or videos?
a) Azure SQL Database
b) Azure Blob Storage
c) Azure File Storage
d) Azure Service Bus
Correct Answer: b) Azure Blob Storage
Explanation: Azure Blob Storage is optimized for storing large amounts of unstructured data like images, videos, and backups.
Question 33
In Azure Functions, what is the maximum execution timeout for a function in the Consumption Plan?
a) 1 minute
b) 5 minutes
c) 10 minutes
d) Unlimited
Correct Answer: c) 10 minutes
Explanation: In the Consumption Plan, the maximum execution timeout for Azure Functions is configurable up to 10 minutes.
Question 34
What Azure service can you use to orchestrate microservices-based applications?
a) Azure Logic Apps
b) Azure Service Bus
c) Azure Service Fabric
d) Azure API Management
Correct Answer: c) Azure Service Fabric
Explanation: Azure Service Fabric is designed for building and managing scalable microservices-based applications.
Question 35
What is the purpose of the Azure Service Bus “Partitioned Queue”?
a) To guarantee FIFO message processing
b) To divide a queue into multiple partitions for better scalability
c) To store large binary files
d) To provide a dead-letter queue
Correct Answer: b) To divide a queue into multiple partitions for better scalability
Explanation: A Partitioned Queue in Azure Service Bus splits the queue into multiple partitions, enhancing scalability and fault tolerance.
Question 36
In Cosmos DB, what is a “hot partition”?
a) A partition with high replication
b) A partition that stores only write-heavy data
c) A partition that receives most requests and reaches throughput limits
d) A partition that is read-only
Correct Answer: c) A partition that receives most requests and reaches throughput limits
Explanation: A "hot partition" occurs when a specific partition in Cosmos DB receives a disproportionate amount of requests, often leading to performance bottlenecks.
Question 37
In Azure Storage, what is the maximum storage size for a logical partition in Cosmos DB
a) 10 GB
b) 20 GB
c) 50 GB
d) 100 GB
Correct Answer: b) 20 GB
Explanation: By default, a logical partition in Cosmos DB has a maximum size limit of 20 GB.
Question 38
What role does the “authorization server” play in OAuth 2.0 authentication?
a) Grants access to resources
b) Hosts the resource being accessed
c) Issues access tokens to clients
d) Validates user credentials
Correct Answer: c) Issues access tokens to clients
Explanation: The authorization server in OAuth 2.0 is responsible for issuing access tokens to clients that need to access resources.
Question 39
What service tier in Azure SQL Database provides built-in high availability and disaster recovery?
a) Basic
b) Standard
c) Premium
d) Hyperscale
Correct Answer: c) Premium
Explanation: The Premium tier in Azure SQL Database offers built-in high availability, including automated backups and disaster recovery.
Question 40
What Azure storage tier is most suitable for data that is accessed frequently?
a) Archive
b) Cool
c) Hot
d) Premium
Correct Answer: c) Hot
Explanation: The Hot tier in Azure Storage is designed for frequently accessed data, providing low-latency access at a higher cost than other tiers.