-
web.groovymark@gmail.com
- November 21, 2024
Question 41
What is the maximum size for a blob in Azure Storage when using block blobs?
a) 1 TB
b) 5 TB
c) 10 TB
d) 50 GB
Correct Answer: b) 5 TB
Explanation: Block blobs in Azure Storage can store data up to 5 TB in size, making them ideal for large media or backup files.
Question 42
What is the default number of retries for Azure Functions when using a queue trigger?
a) 1
b) 3
c) 5
d) 10
Correct Answer: b) 3
Explanation: The default number of retry attempts for queue-triggered Azure Functions is 3, but this can be configured based on requirements.
Question 43
What is the correct format for setting a CRON expression in Azure Functions for a timer that runs every hour?
a) 0 0 * * * *
b) 0 0 */1 * * *
c) 0 */1 * * * *
d) 0 0 1 * * *
Correct Answer: c) 0 */1 * * * *
Explanation: The CRON expression 0 */1 * * * * specifies a schedule that runs every hour in Azure Functions.
Question 44
Which Azure Storage tier is intended for long-term archival data that is rarely accessed?
a) Hot
b) Cool
c) Archive
d) Standard
Correct Answer: c) Archive
Explanation: The Archive tier is designed for long-term storage of infrequently accessed data, offering the lowest storage costs but higher retrieval latency.
Question 45
Which Azure service enables HTTP/HTTPS requests to trigger serverless function executions?
a) Blob Storage
b) Event Grid
c) HTTP Trigger
d) Service Bus
Correct Answer: c) HTTP Trigger
Explanation: An HTTP Trigger starts an Azure function in response to an incoming HTTP or HTTPS request.
Question 46
What is the purpose of a stored access policy in Azure Storage?
a) To store user credentials securely
b) To define a shared access policy for multiple resources
c) To allow public access to containers
d) To enable geo-redundancy for blob storage
Correct Answer: b) To define a shared access policy for multiple resources
Explanation: A stored access policy allows you to define shared access signatures (SAS) that can be applied to multiple resources like containers or tables, offering more control over permissions.
Question 47
. What happens when you delete a key vault in Azure by default?
a) The vault is immediately deleted
b) The vault and all secrets are recoverable for 30 days
c) The vault and secrets are permanently deleted
d) The secrets are moved to a backup vault
Correct Answer: b) The vault and all secrets are recoverable for 30 days
Explanation: Azure Key Vault uses soft deletion by default, allowing you to recover deleted vaults and secrets for up to 30 days.
Question 48
What is the benefit of using Azure Spot VMs over regular VMs?
a) Higher performance
b) Significantly lower costs
c) Guaranteed availability
d) Access to premium resources
Correct Answer: b) Significantly lower costs
Explanation: Spot VMs are significantly cheaper than regular VMs, though they may be evicted if Azure needs the resources.
Question 49
If you need to scale your Azure App Service based on CPU usage, which feature should you configure?
a) Auto-heal
b) Autoscale
c) Always On
d) Custom domains
Correct Answer: b) Autoscale
Explanation: Autoscale allows Azure App Service to automatically adjust resources like CPU and memory based on demand, ensuring optimal performance.
Question 50
What is the correct JSON schema for deploying resources in a subscription-level deployment using an ARM template?
a) https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#
b) https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#
c) https://schema.management.azure.com/schemas/2020-01-01/resourceDeploymentTemplate.json#
d) https://schema.management.azure.com/schemas/2016-03-01/subscriptionDeploymentTemplate.json#
Correct Answer: a) https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#
Explanation: The correct schema for subscription-level ARM deployments is specified in this URL.