AZ-104 Compute Flashcards

1
Q

Which Azure CLI command encrypts a running VM?

A

az vm encryption enable

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

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?

A

Redeploy

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

Is it possible to disable Azure Storage encryption?

A

No, this is SSE and is Azure managed

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

Which objects ensure that the VMs you deploy in Azure are distributed across multiple isolated hardware
nodes in a cluster?

A

Availability Sets

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

Which element in the ARM template do you use to configure user-defined functions?

A

Functions

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

Which cmdlet is used to create a snapshot configuration?

A

New-AzSnapshotConfig

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

Can you move Azure-managed disks?

A

Yes

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

Which Azure service manages your hosted Kubernetes environment, making it quick and easy to deploy,
and manages containerized applications without container orchestration expertise?

A

Azure Kubernetes Service

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

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?

A

Application Gateway Ingress Controller (AGIC)

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

Which CLI command will create an app service plan to host your web app?

A

az appservice plan create

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

What are the four different auto-upgrade channels for an AKS cluster?

A
  • None
  • Patch
  • Stable
  • Rapid
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Is the Azure Compute Gallery service a global resource?

A

No, it supports global replication but it is better to have at least two galleries in different regions for DR scenarios

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

If you want to execute a deployment but not use any of the templates in the Marketplace, what can you use for your deployment?

A

Create a customized template that defines the infrastructure (ARM Template)

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

Yes or No: Are multi-container groups restricted to Linux containers?

A

Yes

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

In AKS, you can deploy a cluster that uses which two network models?

A
  • Kubernetes Networking
  • Azure Container Networking Interface (CNI)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Before deploying a web app, what must you have created in your resource group to support the deployment of the web app?

A

App Service Plan

17
Q

Which cmdlet creates an IP configuration object for a network interface of a virtual machine scale set (VMSS)?

A

New-AzureRMVmssIPconfig

18
Q

What tools can automate the configuration of Azure VMs?

A

Ansible, Chef, Puppet, Azure Resource Manager Templates

19
Q

Can virtual machines with certificates stored in Key Vault be moved to a new resource group in the same subscription?

A

Yes

20
Q

What must you do to add a virtual NIC to an existing VM?

A

Deallocate the VM, add the virtual NIC, then start the VM

21
Q

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?

A

Availability Set

22
Q

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?

A

Stable

23
Q

Yes or No: Can you replicate VMs enabled through disk encryptions to another subscription with Site Recovery?

A

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

24
Q

Which command in Azure Cloud Shell would you use to manage a Kubernetes cluster?

A

kubectl

25
Q

True or False: All the resources in your group MUST share the same lifecycle.

A

False. It is not required but recommended so that you can deploy, update and delete them together

26
Q

Yes or No: Can you use the portal interface’s Template Deployment option to deploy resources from a custom template?

A

No because the portal interface does not support referencing a secret from a key vault

27
Q

Why might you receive the StorageAccountTypeNotSupported error when you start the VM with boot diagnostics enabled?

A

The VM is using a Premium storage account which does not support boot diagnostics

28
Q

Which file defines a desired state for the Azure Kubernetes Service (AKS) cluster, such as what container images to run?

A

Kubernetes manifest file

29
Q

What must you do before deploying a resource template?

A

Create a resource group

30
Q

Which cmdlet uploads a VHD to a container in your storage account?

A

Add Az-Vhd

31
Q

Which file system is supported by Windows Azure: VHD or VHDX?

A

VHD of a fixed size

32
Q

What objects are used to run multiple instances of your application and maintain a consistent configuration across your environment?

A

virtual machine scale sets

33
Q

Yes or No: Can virtual machines with certificates stored in a key vault be moved across subscriptions to a new resource group?

A

No

34
Q

Which Azure component lets you create and manage a group of identical, load balanced VMs?

A

virtual machine scale sets