OA Exams

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

Question 21

 In Cosmos DB, what is an “RU” (Request Unit)?

a) A measure of storage capacity
b) A pricing metric for the number of API calls
c) A unit of compute used to handle requests and operations
d) A tool for scaling containers

Correct Answer: c) A unit of compute used to handle requests and operations

Explanation: A Request Unit (RU) in Cosmos DB is a measure of the resources required to process a request, including compute, memory, and I/O.

Question 22

What is the purpose of “containers” in Cosmos DB?

a) To store encrypted backups
b) To partition data for optimized performance and scalability
c) To manage user access to data
d) To handle database migrations

Correct Answer: b) To partition data for optimized performance and scalability

Explanation: Containers in Cosmos DB are used to partition data, ensuring efficient distribution and scalability of the database.

Question 23

 In Azure App Service, what is a “deployment slot”?

a) A separate instance of the application used for staging or testing
b) A backup of the app stored in Blob Storage
c) A log of application performance metrics
d) A tool for scaling the application

Correct Answer: a) A separate instance of the application used for staging or testing

Explanation: Deployment slots in Azure App Service allow you to create separate environments for testing or staging, which can be swapped with the production environment.

Question 24

What is the purpose of “Azure Cosmos DB Gremlin API”?

a) To support graph-based data structures and queries
b) To manage document-based data
c) To handle key-value data structures
d) To provide table-based access

Correct Answer: a) To support graph-based data structures and queries

Explanation: The Gremlin API in Cosmos DB is used to work with graph-based data structures, supporting queries for entities and relationships.

Question 25

What is the key benefit of using Azure SignalR Service?

a) Faster database reads
b) Real-time web application communication between server and client
c) Automatic data encryption
d) Improved storage redundancy

Correct Answer: b) Real-time web application communication between server and client

Explanation: Azure SignalR Service allows real-time communication between clients and servers, enabling scenarios like chat applications and live dashboards.

Question 26

 In Azure Kubernetes Service (AKS), what does “horizontal scaling” refer to?

a) Increasing the memory and CPU of individual nodes
b) Adding more virtual machines to the node pool
c) Reducing the load on individual containers
d) Replicating data across regions

Correct Answer: b) Adding more virtual machines to the node pool

Explanation: Horizontal scaling in AKS involves adding more virtual machines to the node pool to distribute the load across more resources.

Question 27

In Cosmos DB, what is the recommended consistency level for session-based applications?

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

Correct Answer: d) Session

Explanation: The session consistency level is recommended for applications that require consistency within a user session, providing a good balance between performance and data accuracy.

What is the role of the “GremlinServer” class in Cosmos DB?

a) To handle relational data queries
b) To start interaction with Cosmos DB for graph-based queries
c) To manage database connections for document-based queries
d) To log error messages

Correct Answer: b) To start interaction with Cosmos DB for graph-based queries

Explanation: The GremlinServer class is used to interact with Cosmos DB's Gremlin API, supporting graph-based data queries and operations.

Question 29

 In Azure Functions, what does the “retry policy” define?

a) How often a function is triggered
b) The conditions under which a function retries after failure
c) The data sources to be used
d) The maximum execution time for the function

Correct Answer: b) The conditions under which a function retries after failure

Explanation: The retry policy in Azure Functions defines the conditions and parameters under which a function automatically retries after a failure, improving reliability.

Question 30

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

a) To store large datasets
b) To provide a real-time event routing service
c) To manage virtual machines
d) To control network traffic

Correct Answer: b) To provide a real-time event routing service

Explanation: Azure Event Grid provides real-time event routing services, allowing you to send events from sources like Azure Storage to event handlers like Azure Functions.

Question 31

 In Azure Logic Apps, what is the function of “triggers”?

a) To schedule workflows
b) To start the execution of a workflow in response to an event
c) To define output parameters
d) To manage application secrets

Correct Answer: b) To start the execution of a workflow in response to an event

Explanation: Triggers in Logic Apps are used to start the execution of workflows when an event occurs, such as receiving an HTTP request or a file upload.

Question 32

What is the role of “Azure Blob Storage lifecycle policies”?

a) To store data backups
b) To automate blob tier transitions based on access patterns
c) To manage encryption keys
d) To monitor storage account usage

Correct Answer: b) To automate blob tier transitions based on access patterns

Explanation: Lifecycle policies in Azure Blob Storage allow you to automate the movement of blobs between access tiers based on access frequency, optimizing storage costs.

Question 33

 In Cosmos DB, what is a “lease container”?

a) A backup container
b) A container that stores metadata for managing state across change feed consumers
c) A storage location for encryption keys
d) A tool for managing user access

Correct Answer: b) A container that stores metadata for managing state across change feed consumers

Explanation: A lease container in Cosmos DB stores metadata used by the change feed processor to manage state across multiple consumers, ensuring consistency.

Question 34

What is the purpose of “custom domains” in Azure Blob Storage?

a) To manage storage encryption
b) To provide secure access to storage accounts
c) To use a personalized domain name for accessing blobs
d) To replicate blobs across regions

Correct Answer: c) To use a personalized domain name for accessing blobs

Explanation: Custom domains in Azure Blob Storage allow you to use a personalized domain name to access blob data, improving branding and ease of use.

Question 35

What is the purpose of “Azure App Service Hybrid Connections”?

a) To connect an Azure App Service to an on-premises resource over TCP
b) To encrypt data between services
c) To replicate app instances across regions
d) To store application secrets securely

Correct Answer: a) To connect an Azure App Service to an on-premises resource over TCP

Explanation: Azure App Service Hybrid Connections allows you to connect Azure App Services to on-premises resources, such as databases, over TCP.

Question 36

What is the benefit of using “Azure Application Insights”?

a) To encrypt application data
b) To monitor application performance and diagnose issues
c) To manage storage costs
d) To scale applications automatically

Correct Answer: b) To monitor application performance and diagnose issues

Explanation: Azure Application Insights helps developers monitor their application’s performance, diagnose issues, and optimize user experiences with real-time analytics.

Question 37

In Cosmos DB, what does the “SQL API” allow you to do?

a) Perform SQL-based queries on JSON data
b) Manage table-based data
c) Execute graph-based queries
d) Partition data across regions

Correct Answer: a) Perform SQL-based queries on JSON data

Explanation: The SQL API in Cosmos DB allows developers to perform SQL-like queries on JSON data stored in the database, making it easy to work with structured data.

Question 38

What is the main benefit of using “Azure Functions Premium Plan”?

a) Always-on support and faster cold starts
b) Lower costs for high-frequency executions
c) Easier integration with Azure Event Grid
d) Automatic scaling for low-traffic functions

Correct Answer: a) Always-on support and faster cold starts

Explanation: The Premium Plan for Azure Functions provides always-on support and reduced cold start times, improving the performance of functions with varying traffic.

Question 39

 What is “data affinity” in Cosmos DB?

a) The distribution of data across multiple regions
b) The association of related data with the same partition key
c) The encryption of sensitive data
d) The replication of data for high availability

Correct Answer: b) The association of related data with the same partition key

Explanation: Data affinity in Cosmos DB refers to the practice of associating related data with the same partition key to optimize performance and query efficiency.

Question 40

What is the purpose of an “authorization header” in Azure Blob Storage?

a) To encrypt blob data
b) To control access to blobs using authentication tokens
c) To replicate blobs across regions
d) To enable faster data retrieval

Correct Answer: b) To control access to blobs using authentication tokens

Explanation: The authorization header in Azure Blob Storage ensures that only authenticated users can access blobs, providing a secure method for controlling access.

Complete the Captcha to view next question set.

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