OA Exams

  • web.groovymark@gmail.com
  • November 21, 2024

Question 21

In Cosmos DB, what is the default time-to-live (TTL) for an item if no TTL is specified?

a) 30 days
b) Unlimited
c) 7 days
d) 90 days

Correct Answer: b) Unlimited

Explanation: If no TTL is specified for an item in Cosmos DB, the default behavior is for the item to never expire (unlimited TTL).

Question 22

In Azure Storage, what is the “Archive” access tier designed for?

a) Frequently accessed data
b) Short-term backups
c) Long-term storage of infrequently accessed data
d) High-performance workloads

Correct Answer: c) Long-term storage of infrequently accessed data

Explanation: The Archive access tier is optimized for long-term storage of data that is rarely accessed, offering the lowest storage costs.

Question 23

What is the primary benefit of using Durable Functions in Azure?

a) Faster execution time
b) Stateful workflows and coordination of long-running processes
c) Automatic scaling of virtual machines
d) Easier container management

Correct Answer: b) Stateful workflows and coordination of long-running processes

Explanation: Durable Functions allows for stateful workflows and coordination of long-running processes in a serverless environment.

Question 24

 What is the purpose of the Azure Service Bus “Topic” feature?

a) To ensure message persistence
b) To route messages to multiple subscribers
c) To handle real-time event streaming
d) To replicate data across regions

Correct Answer: b) To route messages to multiple subscribers

Explanation: The Azure Service Bus Topic feature allows messages to be routed to multiple subscribers, supporting publish/subscribe messaging patterns.

Question 25

In an ARM template, which section is used to define values provided during deployment?

a) Resources
b) Outputs
c) Parameters
d) Variables

Correct Answer: c) Parameters

Explanation: The Parameters section in an ARM template allows you to define dynamic values that can be provided during the deployment process.

Question 26

What is the default consistency level for Cosmos DB?

a) Eventual
b) Strong
c) Session
d) Bounded Staleness

Correct Answer: c) Session

Explanation: By default, Cosmos DB uses the Session consistency level, which provides a good balance between performance and consistency for user session-based applications.

Question 27

In Azure Blob Storage, what is the purpose of metadata headers?

a) To store binary data
b) To track access logs
c) To provide key-value pairs for additional information about the blob
d) To encrypt blob data

Correct Answer: c) To provide key-value pairs for additional information about the blob

Explanation: Metadata headers are used to store key-value pairs that provide additional information about a blob, such as custom tags or attributes.

Question 28

 In Cosmos DB, what is the purpose of the Change Feed?

a) To track database schema changes
b) To capture and log all reads from the database
c) To monitor data changes and trigger events or workflows
d) To manage access control for database users

Correct Answer: c) To monitor data changes and trigger events or workflows

Explanation: The Change Feed in Cosmos DB provides a log of changes to the data, enabling you to trigger workflows or synchronize changes with other systems.

Question 29

What is the purpose of Azure Active Directory B2C?

a) To provide secure access to internal applications
b) To manage IoT devices in Azure
c) To enable customer identity and access management
d) To monitor application performance

Correct Answer: c) To enable customer identity and access management

Explanation: Azure Active Directory B2C is designed for customer-facing applications, providing identity and access management for external users.

Question 30

 Which Cosmos DB consistency level guarantees that reads will return the most recent committed write?

a) Strong
b) Bounded Staleness
c) Eventual
d) Consistent Prefix

Correct Answer: a) Strong

Explanation: The Strong consistency level in Cosmos DB ensures that all reads return the most recent committed write, providing linearizability.

Question 31

What is the purpose of “role-based access control” (RBAC) in Azure?

a) To manage VM scaling
b) To control access to Azure resources based on roles assigned to users
c) To encrypt data stored in Azure Storage
d) To manage user profiles in Azure AD

Correct Answer: b) To control access to Azure resources based on roles assigned to users

Explanation: RBAC is used to control who can access Azure resources and what actions they can perform, based on assigned roles.

Question 32

 Which Azure service would you use to manage infrastructure as code for deploying resources?

a) Azure Monitor
b) Azure Service Bus
c) Azure Resource Manager (ARM)
d) Azure Blob Storage

Correct Answer: c) Azure Resource Manager (ARM)

Explanation: ARM templates allow you to manage infrastructure as code, automating the deployment and configuration of Azure resources.

Question 33

 What is the purpose of “tags” in Azure resources?

a) To encrypt data
b) To classify resources for billing and management
c) To enable autoscaling
d) To enforce security policies

Correct Answer: b) To classify resources for billing and management

Explanation: Tags are key-value pairs used to classify and organize resources, making it easier to track usage and costs.

Question 34

In Azure Blob Storage, what is the role of the “hot” access tier?

a) For infrequently accessed data
b) For data that requires fast access and frequent reads/writes
c) For archiving data
d) For read-only workloads

Correct Answer: b) For data that requires fast access and frequent reads/writes

Explanation: The hot access tier is optimized for data that needs frequent access with minimal latency, offering faster performance.

Question 35

n Azure API Management, what is a “product”?

a) A collection of APIs that can be published and managed together
b) A virtual machine template
c) A service for monitoring API usage
d) A database for storing API keys

Correct Answer: a) A collection of APIs that can be published and managed together

Explanation: In Azure API Management, a product is a collection of APIs that can be published, subscribed to, and managed as a group.

Question 36

 What is the purpose of “advanced filtering” in Azure Event Grid?

a) To encrypt messages
b) To select events based on specific criteria, such as values in the event data
c) To route messages to multiple handlers
d) To manage storage access

Correct Answer: b) To select events based on specific criteria, such as values in the event data

Explanation: Advanced filtering in Azure Event Grid allows event handlers to receive only relevant events by filtering based on event data.

Question 37

 In Azure Cosmos DB, what is the function of a “lease container” in the Change Feed processor?

a) To track and synchronize the state of multiple Change Feed processors
b) To store backup data
c) To enforce partitioning of data
d) To limit data access

Correct Answer: a) To track and synchronize the state of multiple Change Feed processors

Explanation: A lease container is used in the Change Feed processor to track and synchronize multiple consumers of the Change Feed, ensuring consistent processing.

Question 38

What is the benefit of using “bounded staleness” consistency in Cosmos DB?

a) It offers the highest level of performance
b) It allows for a time-bound delay in data consistency while ensuring order
c) It ensures strong consistency across regions
d) It guarantees that all writes are immediately visible

Correct Answer: b) It allows for a time-bound delay in data consistency while ensuring order

Explanation: Bounded staleness consistency allows for a configurable delay in data consistency, while still maintaining the order of writes, providing a balance between performance and consistency.

Question 39

What is the purpose of the Azure Active Directory Conditional Access policy?

a) To monitor application performance
b) To enforce security requirements based on conditions like user location or device
c) To manage autoscaling of virtual machines
d) To provide data encryption services

Correct Answer: b) To enforce security requirements based on conditions like user location or device

Explanation: Conditional Access policies in Azure AD allow you to enforce security requirements such as multi-factor authentication based on conditions like user location or device compliance.

Question 40

 What is the primary benefit of using Azure Key Vault’s “managed identities” feature?

a) It simplifies the management of user credentials for accessing services
b) It allows for the automatic deletion of secrets
c) It ensures encryption for all stored data
d) It provides faster access to cloud resources

Correct Answer: a) It simplifies the management of user credentials for accessing services

Explanation: Managed identities in Azure Key Vault allow applications to securely access resources without the need to manage credentials manually.

Complete the Captcha to view next question set.

Prev Post
WGU D306 Practice Exam Questions – Set 4 – Part 1
Next Post
WGU D306 Practice Exam Questions – Set 4 – Part 3