OA Exams

  • California, TX 70240
  • Info@gmail.com
  • Office Hours: 8:00 AM – 7:45 PM
  • web.groovymark@gmail.com
  • November 21, 2024

Question 21

What is the main advantage of using bindings in Azure Functions?

a) They provide stronger encryption
b) They simplify connections to data sources
c) They increase the speed of function execution
d) They reduce resource consumption

Correct Answer: b) They simplify connections to data sources

Explanation: Bindings in Azure Functions reduce the need for manual coding of connections to data sources, simplifying development.

Question 22

Which pricing tier for Azure App Service allows for integration with a virtual network?

a) Basic
b) Premium
c) Standard
d) Free

Correct Answer: b) Premium

Explanation: The Premium pricing tier allows for VNet integration, which is not available in the Free or Basic tiers.

Question 23

 If you want to enable autoscaling for an application hosted on Azure, which service should you configure?

a) Virtual Machines
b) App Service
c) Blob Storage
d) SQL Database

Correct Answer: b) App Service

Explanation: Azure App Service supports autoscaling, allowing applications to scale up or down based on demand automatically.

Question 24

Which property of a Cosmos DB container determines how data is divided among physical partitions?

a) Partition key
b) Container size
c) Consistency level
d) Indexing policy

Correct Answer: a) Partition key

Explanation: The partition key determines how the data is distributed across physical partitions, affecting performance and scalability.

Question 25

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

a) To generate events
b) To store event logs
c) To receive and process events
d) To filter event topics

Correct Answer: c) To receive and process events

Explanation: An event handler in Azure Event Grid receives events and processes them accordingly, such as triggering a function.

Question 26

Which tier of Azure Blob Storage is most appropriate for data that is infrequently accessed but still needs to be available quickly?

a) Hot tier
b) Cool tier
c) Archive tier
d) Premium tier

Correct Answer: b) Cool tier

Explanation: The Cool tier is designed for infrequently accessed data, balancing lower storage costs with moderate access times.

Question 27

What is the purpose of the Azure Monitor “Smart Detection” feature?

a) To monitor network performance
b) To predict future costs
c) To detect potential application performance issues
d) To check for security vulnerabilities

Correct Answer: c) To detect potential application performance issues

Explanation: Smart Detection in Azure Monitor identifies potential performance problems or anomalies in applications based on collected telemetry data.

Question 28

Which command would you use to copy a blob between two Azure storage accounts?

a) azcopy copy
b) az storage copy
c) blob move
d) azure blob copy

Correct Answer: a) azcopy copy

Explanation: The azcopy copy command allows for the transfer of blobs between different storage accounts using the AzCopy tool.

Question 29

What is the function of the “dependencies” property in an ARM template?

a) It lists the resources that must be deleted
b) It defines resources that must be created before others
c) It sets default values for resource creation
d) It specifies the location for resource deployment

Correct Answer: b) It defines resources that must be created before others

Explanation: The dependsOn property in ARM templates ensures that specific resources are deployed in the correct order by defining dependencies.

Question 30

What is the best way to provide external users limited access to a blob in Azure Storage?

a) Assign them a subscription
b) Provide a Shared Access Signature (SAS)
c) Create a new Azure AD account for them
d) Add them as a resource group owner

Correct Answer: b) Provide a Shared Access Signature (SAS)

Explanation: A Shared Access Signature (SAS) grants limited access to Azure resources such as blobs, allowing external users to interact with the resource without full access to the storage account.

Question 31

 What should you do if a developer needs access to only a specific container in an Azure Storage account?

a) Provide the account access key
b) Assign the user to the Blob Storage owner role
c) Create a Shared Access Signature (SAS) for the container
d) Create a new storage account for the container

Correct Answer: c) Create a Shared Access Signature (SAS) for the container

Explanation: A Shared Access Signature (SAS) provides scoped, time-limited access to specific Azure resources like a storage container.

Question 32

 What is a primary benefit of using Azure Cosmos DB’s “Bounded Staleness” consistency level?

a) It offers the highest performance for reads
b) It balances performance with consistency within a configured time window
c) It ensures that all reads return the latest version
d) It has the lowest latency for write operations

Correct Answer: b) It balances performance with consistency within a configured time window

Explanation: Bounded Staleness allows for a time window where reads might be slightly out of sync with writes, offering a balance between consistency and performance.

Question 33

In Cosmos DB, what is a physical partition?

a) A group of logical partitions
b) A single document storage unit
c) A container for partition keys
d) A server in a different region

Correct Answer: a) A group of logical partitions

Explanation: A physical partition in Cosmos DB contains one or more logical partitions and is physically stored on Azure servers.

Question 34

What is the role of the “Orchestrator” function in Azure Durable Functions?

a) It handles the deployment of function apps
b) It sequences and manages the execution of activity functions
c) It manages serverless API calls
d) It writes logs for function executions

Correct Answer: b) It sequences and manages the execution of activity functions

Explanation: The orchestrator function in Durable Functions defines workflows by managing the sequence and coordination of other functions.

Question 35

What is the default retention period for logs in Application Insights?

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

Correct Answer: b) 30 days

Explanation: Application Insights retains logs for 30 days by default, although this can be configured to store data for longer periods.

Question 36

Which service allows you to store application configuration settings centrally for multiple Azure applications?

a) Azure Key Vault
b) Azure App Service
c) Azure Storage
d) Azure App Configuration

Explanation: Azure App Configuration provides a centralized store for application configuration settings, allowing easy management across multiple Azure services.

Question 37

 Which consistency level in Azure Cosmos DB provides the best trade-off between consistency and performance?

a) Eventual
b) Consistent Prefix
c) Session
d) Strong

Correct Answer: c) Session

Explanation: Session consistency offers a good balance between strong consistency and performance, particularly for scenarios involving multiple read/write operations in a user session.

Question 38

What is a primary advantage of using serverless compute in Azure Functions?

a) Unlimited execution time
b) Reduced costs as you only pay for executions
c) Access to full VMs for each function
d) Automatic access to GPUs

Correct Answer: b) Reduced costs as you only pay for executions

Explanation: With serverless compute, you only pay for the time your functions are running, making it cost-efficient for many workloads.

Question 39

 Which type of access control boundary is used to manage access at the subscription level in Azure?

a) Billing boundary
b) Resource group boundary
c) Access control boundary
d) Management boundary

Correct Answer: c) Access control boundary

Explanation: Access control boundaries in Azure are applied at the subscription level to manage permissions and access for resources.

Question 40

 If you need a serverless, real-time messaging service to communicate between client and server, which Azure service should you choose?

a) Azure Service Bus
b) Azure Event Grid
c) SignalR
d) Azure Queue Storage

Correct Answer: c) SignalR

Explanation: Azure SignalR Service enables real-time two-way communication, maintaining persistent connections between clients and servers.

Complete the Captcha to view next question set.

Prev Post
WGU D388 Practice Exam Questions – Set 5 – Part 2
Next Post
WGU D388 Practice Exam Questions – Set 5 – Part 3