4.1 Understanding Compute Options Flashcards

1
Q

What is the closest hosting model to a traditional on-premise environment in Azure?

a) Infrastructure as a Service (IaaS)

b) Platform as a Service (PaaS)

c) Software as a Service (SaaS)

d) Function as a Service (FaaS)

A

a) Infrastructure as a Service (IaaS)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

In the IaaS model, what is the responsibility of the user?

a) Managing the underlying infrastructure

b) Managing the host operating system

c) Patching, monitoring, and antivirus for the guest operating system

d) All of the above

A

d) All of the above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which compute service falls under the IaaS model in Azure?

a) Virtual Machines (VMs)

b) Azure Functions

c) Azure App Service

d) Azure Logic Apps

A

a) Virtual Machines (VMs)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the recommended solution if there are issues creating a storage account in Azure?

a) Try creating the storage account in a different region

b) Use PowerShell or CLI to create the account

c) Check for validation errors

d) All of the above

A

d) All of the above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What should be done if an error occurs while using the Get-AzStorageFileContent command in an automation account runbook?

a) Set the current storage account using “Set-AzSubscription”

b) Set the “AZURE_STORAGE_CONNECTION_STRING” environment variable

c) Use Set-AzContext to set the context to the subscription the storage account is in

d) All of the above

A

d) All of the above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the purpose of the IaaS hosting model in Azure?

a) To manage the underlying infrastructure and hardware

b) To provide a platform for running applications

c) To offer software solutions to users

d) To create serverless functions

A

a) To manage the underlying infrastructure and hardware

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the purpose of creating a basic virtual machine in Azure?

a) To run applications that require a specific operating system

b) To provide a platform for running containerized applications

c) To manage and monitor Azure resources

d) To create serverless functions

A

a) To run applications that require a specific operating system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How can you create a basic virtual machine in Azure?

a) Click on “Create” in the virtual machine’s view

b) Choose “Windows Server 2019 Datacenter” in the create resource menu

c) Select a resource group and provide a name for the virtual machine

d) All of the above

A

d) All of the above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the default availability options for a basic virtual machine in Azure?

a) High availability

b) Fault tolerance

c) No availability options are set by default

d) Automatic scaling

A

c) No availability options are set by default

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How can you log into a basic virtual machine in Azure?

a) By using administrator username and password credentials

b) By using SSH key authentication

c) By using Azure Active Directory credentials

d) By using a VPN connection

A

a) By using administrator username and password credentials

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the default inbound port for remote desktop access to a basic virtual machine in Azure?

a) Port 80

b) Port 443

c) Port 3389

d) Port 22

A

c) Port 3389

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What additional resource is automatically created when creating a basic virtual machine in Azure?

a) Virtual network

b) Storage account

c) Load balancer

d) Virtual machine scale set

A

a) Virtual network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are “vanilla” images in Azure?

a) Images that contain only the basic operating system

b) Images that contain additional services and applications

c) Images that are customized for specific use cases

d) Images that are pre-configured with Azure services

A

a) Images that contain only the basic operating system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How can you create an image with additional services or applications in Azure?

a) By using PowerShell scripts

b) By selecting a pre-built image from the marketplace

c) By capturing an existing virtual machine

d) By creating a custom image from scratch

A

c) By capturing an existing virtual machine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the purpose of capturing an image in Azure?

a) To create a backup of a virtual machine

b) To create a template for deploying multiple virtual machines

c) To convert a virtual machine into a reusable image

d) To migrate a virtual machine to a different Azure region

A

c) To convert a virtual machine into a reusable image

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the benefit of using shared images in Azure?

a) They allow for faster deployment of virtual machines

b) They provide additional security features for virtual machines

c) They reduce the cost of storing images in Azure

d) They simplify the management of virtual machine images

A

d) They simplify the management of virtual machine images

17
Q

How can you access shared images in Azure?

a) By searching for them in the Azure Marketplace

b) By requesting access from the image owner

c) By subscribing to a specific image publisher

d) By using the Azure CLI or Azure PowerShell

A

b) By requesting access from the image owner

18
Q

What is the recommended approach for customizing virtual machine images in Azure?

a) Modifying the image directly in the Azure portal

b) Using configuration management tools like PowerShell DSC or Ansible

c) Creating a new virtual machine from scratch for each customization

d) Importing a pre-built image from an external source

A

b) Using configuration management tools like PowerShell DSC or Ansible

19
Q

What is the purpose of using a load balancer in Azure?

a) To distribute network traffic across backend servers or resources

b) To provide security for inbound connections

c) To manage storage accounts in Azure

d) To optimize virtual machine performance

A

a) To distribute network traffic across backend servers or resources

20
Q

At which layer of the OSI model does Azure Load Balancer operate?

a) Layer 1

b) Layer 2

c) Layer 3

d) Layer 4

A

d) Layer 4

21
Q

What are some features of Azure Load Balancer?

a) Health probes, port forwarding, and IPv6 support

b) Azure Active Directory integration and encryption

c) Load balancing based on user demographics

d) Automatic scaling and resource management

A

a) Health probes, port forwarding, and IPv6 support

22
Q

How can you control inbound connections with Azure Load Balancer?

a) By using Network Security Groups

b) By configuring virtual machine availability zones

c) By setting up firewall rules in the load balancer

d) By using Azure Policy to enforce access control

A

a) By using Network Security Groups

23
Q

What is the recommended approach for achieving scalability and resilience with virtual machines in Azure?

a) Building multiple virtual machines with the application installed and placing them behind a load balancer

b) Using Azure Functions instead of virtual machines

c) Deploying virtual machines in different Azure regions

d) Configuring virtual machine auto-scaling based on CPU usage

A

a) Building multiple virtual machines with the application installed and placing them behind a load balancer

24
Q

What is the significance of deploying virtual machines in different availability zones?

a) It ensures high availability and fault tolerance

b) It provides faster network connectivity to users

c) It reduces the cost of virtual machine deployments

d) It simplifies the management of virtual machine resources

A

a) It ensures high availability and fault tolerance

25
Q

How can you achieve scalability and resilience for your application hosted on a virtual machine in Azure?

a) By configuring virtual machine auto-scaling based on CPU usage

b) By deploying virtual machines in different availability zones

c) By using Azure Functions instead of virtual machines

d) By building multiple virtual machines with the application installed and placing them behind a load balancer

A

c) It ensures high availability and fault tolerance

26
Q

What is the purpose of deploying virtual machines in different availability zones?

a) To reduce the cost of virtual machine deployments

b) To simplify the management of virtual machine resources

c) To ensure high availability and fault tolerance

d) To provide faster network connectivity to users

A

c) To ensure high availability and fault tolerance

27
Q

What does it mean when virtual machines are placed in physically different availability zones?

a) They are located in different Azure regions

b) They are physically separate data centers within the same region

c) They are connected to different virtual networks

d) They have different operating systems installed

A

b) They are physically separate data centers within the same region

28
Q

Which component is responsible for distributing incoming traffic to multiple virtual machines?

a) Virtual network

b) Load balancer

c) Virtual machine scale set

d) Azure Functions

A

b) Load balancer

29
Q

How can you identify virtual machine nodes behind a load balancer?

a) By searching for them in the Azure portal

b) By requesting access from the load balancer owner

c) By using the Azure CLI or Azure PowerShell

d) By checking the headers or configurations of each virtual machine

A

d) By checking the headers or configurations of each virtual machine

30
Q

What is the benefit of placing virtual machines behind a load balancer?

a) It simplifies the management of virtual machine resources

b) It provides faster network connectivity to users

c) It ensures high availability and fault tolerance

d) It reduces the cost of virtual machine deployments

A

c) It ensures high availability and fault tolerance

31
Q

What is the purpose of using VM scale sets in Azure?

A) To manually build new VMs

B) To automatically deploy new instances based on predefined rules

C) To create load balancer rules

D) To install custom software on VMs

A

B) To automatically deploy new instances based on predefined rules

32
Q

What is the advantage of creating a custom image for VM scale sets?

A) It allows for manual configuration of new VMs

B) It simplifies the deployment process of new instances

C) It provides a Vanilla OS build

D) It automatically installs the required software on VMs

A

B) It simplifies the deployment process of new instances

33
Q

Which Azure service provides load balancing, flexible orchestration, and distribution of applications across multiple availability zones and fault domains?

A) Azure Virtual Machines

B) Azure Virtual Networks

C) Azure Storage Accounts

D) Azure Virtual Machine Scale Sets

A

D) Azure Virtual Machine Scale Sets

34
Q

What triggers the creation of new instances in a VM scale set?

A) Manual intervention by the administrator

B) CPU reaching a defined threshold for a specified duration

C) Network traffic exceeding a certain limit

D) Storage capacity reaching its maximum limit

A

B) CPU reaching a defined threshold for a specified duration

35
Q

What type of service is Azure Batch?

A) Infrastructure as a Service (IaaS)

B) Platform as a Service (PaaS)

C) Software as a Service (SaaS)

D) None of the above

A

B) Platform as a Service (PaaS)

36
Q

What is one advantage of using Azure Batch?

A) No need to worry about patching and maintenance

B) Ability to manage VMs and networks

C) Dynamic allocation of resources

D) All of the above

A

D) All of the above

37
Q

What are the two pool allocation modes in Azure Batch?

A) User subscription and batch service

B) Infrastructure service and platform service

C) VMs and networks

D) Patching and maintenance

A

A) User subscription and batch service

38
Q

In which allocation mode are VMs managed purely within the batch service?

A) User subscription

B) Batch service

C) Infrastructure service

D) Platform service

A

B) Batch service