4.1 Understanding Compute Options Flashcards
(38 cards)
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) Infrastructure as a Service (IaaS)
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
d) All of the above
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) Virtual Machines (VMs)
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
d) All of the above
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
d) All of the above
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) To manage the underlying infrastructure and hardware
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) To run applications that require a specific operating system
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
d) All of the above
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
c) No availability options are set by default
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) By using administrator username and password credentials
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
c) Port 3389
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) Virtual network
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) Images that contain only the basic operating system
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
c) By capturing an existing virtual machine
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
c) To convert a virtual machine into a reusable image
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
d) They simplify the management of virtual machine images
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
b) By requesting access from the image owner
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
b) Using configuration management tools like PowerShell DSC or Ansible
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) To distribute network traffic across backend servers or resources
At which layer of the OSI model does Azure Load Balancer operate?
a) Layer 1
b) Layer 2
c) Layer 3
d) Layer 4
d) Layer 4
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) Health probes, port forwarding, and IPv6 support
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) By using Network Security Groups
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) Building multiple virtual machines with the application installed and placing them behind a load balancer
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) It ensures high availability and fault tolerance