Azure MCQ Banner

Azure Multiple Choice Questions (MCQs) and Answers

Master Azure Framework with Practice MCQs. Explore our curated collection of Multiple Choice Questions. Ideal for placement and interview preparation, our questions range from basic to advanced, ensuring comprehensive coverage of Azure concepts. Begin your placement preparation journey now!

Q61

Q61 Which Azure CLI command is used to create a new virtual network?

A

az network create

B

az network vnet create

C

az vnet create

D

az vnet new

Q62

Q62 How do you list all subnets in a VNet using Azure CLI?

A

az network vnet list

B

az network vnet subnet list

C

az subnet list

D

az vnet show

Q63

Q63 Which Azure CLI command is used to assign a public IP address to a virtual machine?

A

az vm assign-public-ip

B

az vm set-ip

C

az network public-ip assign

D

az network public-ip create

Q64

Q64 How do you add a route to a route table using an ARM template?

A

Use the "routes" property

B

Use the "networkProfile" property

C

Use the "subnets" property

D

Use the "rules" property

Q65

Q65 A virtual machine cannot access the internet. What should you check first?

A

NSG outbound rules

B

Public IP address assignment

C

Subnet configuration

D

All of these

Q66

Q66 A user cannot connect to an Azure VM using RDP. What should you verify?

A

NSG inbound rules

B

VM running state

C

Public IP address

D

All of these

Q67

Q67 A VNet peering connection fails to establish. What could be the reason?

A

Overlapping address spaces

B

Incorrect NSG rules

C

Unconfigured route tables

D

Inactive VNets

Q68

Q68 What is Azure App Service primarily used for?

A

Hosting web apps

B

Storing files

C

Managing networks

D

Running containerized workloads

Q69

Q69 Which of the following scaling options is available in Azure App Service?

A

Manual scaling only

B

Auto-scaling based on metrics

C

Scaling by redeployment

D

Dynamic scaling based on users

Q70

Q70 Which runtime stack is NOT supported by Azure App Service?

A

Java

B

Node.js

C

Python

D

C++

Q71

Q71 What is the purpose of deployment slots in Azure App Service?

A

To create isolated environments for testing

B

To scale applications

C

To manage user roles

D

To back up data

Q72

Q72 Which feature of Azure App Service enables secure communication between apps and resources?

A

Managed identities

B

Custom domains

C

Continuous integration

D

Monitoring tools

Q73

Q73 Which Azure CLI command is used to create a new App Service plan?

A

az appservice plan create

B

az appservice create

C

az webapp plan create

D

az plan new

Q74

Q74 Which property in an ARM template is used to configure the pricing tier for an App Service plan?

A

sku

B

tier

C

pricing

D

size

Q75

Q75 How can you enable continuous deployment in an App Service using an ARM template?

A

Use the "scmType" property

B

Use the "deploymentType" property

C

Use the "slotSettings" property

D

Use the "continuousIntegration" property

Q76

Q76 How can you configure a custom domain for an App Service using Azure CLI?

A

Use az appservice domain create

B

Use az webapp config hostname add

C

Use az webapp domain configure

D

Use az appservice custom-domain create

Q77

Q77 An App Service app fails to start. What should you check first?

A

App Service plan resources

B

Runtime stack configuration

C

App code

D

All of these

Q78

Q78 An App Service deployment slot is not reflecting the latest changes. What could be the cause?

A

Incorrect branch configuration

B

Deployment failure

C

Slot swap issue

D

All of these

Q79

Q79 An App Service app experiences slow response times. What should you analyze?

A

Application Insights logs

B

Scaling settings

C

Backend database performance

D

All of these

Q80

Q80 What are Azure Functions primarily used for?

A

Running serverless code

B

Hosting virtual machines

C

Storing data

D

Managing databases

Q81

Q81 Which of the following triggers is commonly used in Azure Functions?

A

HTTP Trigger

B

Blob Trigger

C

Queue Trigger

D

Timer Trigger

Q82

Q82 What is the default timeout for an Azure Function in a Consumption plan?

A

5 minutes

B

10 minutes

C

30 minutes

D

1 hour

Q83

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

A

Improved scaling

B

Long-running workflows

C

Reduced execution cost

D

Enhanced monitoring

Q84

Q84 Which binding type in Azure Functions allows integration with Cosmos DB?

A

Input binding

B

Output binding

C

Trigger binding

D

Function binding

Q85

Q85 Which Azure CLI command is used to create a new Azure Function App?

A

az functionapp create

B

az appservice create

C

az webapp create

D

az app create

Q86

Q86 How can you specify a storage account for an Azure Function App using an ARM template?

A

Use the "storageAccount" property

B

Use the "accountName" property

C

Use the "storage" property

D

Use the "connectionString" property

Q87

Q87 Which property in a function.json file defines the type of trigger for an Azure Function?

A

type

B

name

C

direction

D

dataType

Q88

Q88 How do you enable Application Insights for an Azure Function using Azure CLI?

A

az monitor app-insights enable

B

az functionapp config insights set

C

az app-insights connect

D

az monitor insights link

Q89

Q89 An Azure Function fails with a "timeout exceeded" error. What could be the cause?

A

Incorrect runtime version

B

Long-running operation

C

Storage account misconfiguration

D

Unassigned trigger

Q90

Q90 An Azure Function does not trigger as expected. What should you check?

A

Binding configuration

B

Function app state

C

Trigger definition

D

Code logic

ad verticalad vertical
ad