AZ-104 Compute Flashcards
Which Azure CLI command encrypts a running VM?
az vm encryption enable
If you cannot troubleshoot a Remote Desktop (RDP) connection or application access to a Windows-based
Azure virtual machine (VM), what is the recommended solution?
Redeploy
Is it possible to disable Azure Storage encryption?
No, this is SSE and is Azure managed
Which objects ensure that the VMs you deploy in Azure are distributed across multiple isolated hardware
nodes in a cluster?
Availability Sets
Which element in the ARM template do you use to configure user-defined functions?
Functions
Which cmdlet is used to create a snapshot configuration?
New-AzSnapshotConfig
Can you move Azure-managed disks?
Yes
Which Azure service manages your hosted Kubernetes environment, making it quick and easy to deploy,
and manages containerized applications without container orchestration expertise?
Azure Kubernetes Service
Which Kubernetes application makes it possible to leverage Application Gateway L7 load-balancer in Azure
to expose cloud software to the Internet and monitor the Kubernetes cluster it is hosted on and continuously
updates an Application Gateway?
Application Gateway Ingress Controller (AGIC)
Which CLI command will create an app service plan to host your web app?
az appservice plan create
What are the four different auto-upgrade channels for an AKS cluster?
- None
- Patch
- Stable
- Rapid
Is the Azure Compute Gallery service a global resource?
No, it supports global replication but it is better to have at least two galleries in different regions for DR scenarios
If you want to execute a deployment but not use any of the templates in the Marketplace, what can you use for your deployment?
Create a customized template that defines the infrastructure (ARM Template)
Yes or No: Are multi-container groups restricted to Linux containers?
Yes
In AKS, you can deploy a cluster that uses which two network models?
- Kubernetes Networking
- Azure Container Networking Interface (CNI)
Before deploying a web app, what must you have created in your resource group to support the deployment of the web app?
App Service Plan
Which cmdlet creates an IP configuration object for a network interface of a virtual machine scale set (VMSS)?
New-AzureRMVmssIPconfig
What tools can automate the configuration of Azure VMs?
Ansible, Chef, Puppet, Azure Resource Manager Templates
Can virtual machines with certificates stored in Key Vault be moved to a new resource group in the same subscription?
Yes
What must you do to add a virtual NIC to an existing VM?
Deallocate the VM, add the virtual NIC, then start the VM
What logical grouping capability can you use to ensure that the VM resources you place within it are isolated from each other when they are
deployed within an Azure datacenter?
Availability Set
Which auto-upgrade channels for an AKS cluster automatically upgrades the cluster to the latest supported patch release on minor version N-1,
where N is the latest supported minor version?
Stable
Yes or No: Can you replicate VMs enabled through disk encryptions to another subscription with Site Recovery?
Yes. Site Recovery supports replication of disks using ADE. You can replicate VMs to a different subscription as long as the subscription is in the same Azure AD tenant
Which command in Azure Cloud Shell would you use to manage a Kubernetes cluster?
kubectl
True or False: All the resources in your group MUST share the same lifecycle.
False. It is not required but recommended so that you can deploy, update and delete them together
Yes or No: Can you use the portal interface’s Template Deployment option to deploy resources from a custom template?
No because the portal interface does not support referencing a secret from a key vault
Why might you receive the StorageAccountTypeNotSupported error when you start the VM with boot diagnostics enabled?
The VM is using a Premium storage account which does not support boot diagnostics
Which file defines a desired state for the Azure Kubernetes Service (AKS) cluster, such as what container images to run?
Kubernetes manifest file
What must you do before deploying a resource template?
Create a resource group
Which cmdlet uploads a VHD to a container in your storage account?
Add Az-Vhd
Which file system is supported by Windows Azure: VHD or VHDX?
VHD of a fixed size
What objects are used to run multiple instances of your application and maintain a consistent configuration across your environment?
virtual machine scale sets
Yes or No: Can virtual machines with certificates stored in a key vault be moved across subscriptions to a new resource group?
No
Which Azure component lets you create and manage a group of identical, load balanced VMs?
virtual machine scale sets