Deploy and manage Azure compute resources Flashcards

1
Q

What are the three maintenance planning events?

A

unplanned hardware maintenance, unexpected downtime, planned maintenance

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

unplanned hardware maintenance

A

azure detects the hardware your software is running on is about to go kaput. Azure will move your stuff over to a healthy machine

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

unexpected downtime

A

When stuff goes kaput but azure didn’t detect it ahead of time.

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

planned maintenance

A

periodic updates by microsoft

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

what is an availability set?

A

groups vms into a set so they can be deployed together. ensures they are not all upgraded at the same time

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

What are the availability set characteristics?

A

They all do the same thing, they all have the same software, they are spread out so a localized software failure won’t affect all of them, you attach a vm to an availability set upon creation

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

What are the 4 methods to create availability sets?

A

azure portal, arm templates, scripting, api tools

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

what is an update domain?

A

a number of nodes that are upgraded together. You wouldn’t want all of your vms in the same update domain

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

what is a fault domain?

A

nodes that are physicallly close together. if there is a failure, all nodes in a fault domain are likely to be affected.

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

What are the characteristics of availability zones?

A

unique physical locations within an azure region, will have one or more datacenters inside, minimum of 3 within a region

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

What is vertical scaling?

A

when you make a virtual machine more or less powerfull

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

what is horizontal scaling?

A

adding or subtracting virtual machines

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

What are the three characteristics of virtual machine extensions?

A

They are manageable from the cli, PowerShell, arm templates, and the portal. They can be bundled with a new VM deployment or run against any existing system. There are different extensions for Windows and Linux machines. there are also more unofficial extensions

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

What is the purpose of virtual machine extensions?

A

They are scripts that can automate the tasks of creating, maintaining, and removing virtual machines

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

What are custom script extensions for?

A

They can be used to automatically launch and execute virtual machine customization tasks

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

What is desired state configuration?

A

A management platform in windows powershell. It enables deploying and managing configuration data for software services and managing the environment in which these services run

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

What is an app service plan?

A

app service plan defines a set of compute resources for a web application to run

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

What are the three app service plan settings?

A

Region, number of VM instances, Size of VM instances

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

Which 3 app service plans support autoscaling?

A

standard, premium, and isolated

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

Which 2 app service plans are for development and testing?

A

free and shared. Basic is better with more instances and 10 gb of space

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

What are the basic configuration settings you need to create an app with app service?

A

name, publish (your code or a docker container), runtime stack (code language), operating system (win/linux), region, app service plan

22
Q

What are deployment slots for?

A

When you wanna switch over to a new version of your app or just try it out, you can use a deployment slot to deploy it instead of it replacing your in production app. You can also switch the prod slot with the deployment slot to avoid downtime.

23
Q

What are the three steps for creating a custom domain name?

A

Reserve your domain name, create DNS records to map the domain to your azure web app, enable the custom domain

24
Q

Why is storage an issue when using kubernetes?

A

pods and the containers within them and the applications within them are treated emphemerally by azure normally. So they get deleted. Some applications need to store data long-term so they need storage options

25
Q

What is the difference between aks azure disks and azure files?

A

disks are available to a single node, while files are shared across nodes and pods

26
Q

What is the difference between an aks volume and a persistent volume?

A

a normal volume only lasts as long as the pod it is servicing. A persistent volume can exist beyond the lifetime of an individual pod

27
Q

What are the two storage class types and their derivatives?

A

Default and file and they both have premium versions

28
Q

If unspecified, what is the default storage class chosen?

A

default (datadisk)

29
Q

What are the three aks scaling techniques?

A

manually scaling pods or nodes, autoscale pods, autoscale clusters

30
Q

How does autoscaling pods in aks work?

A

The horizontal pod autoscaler (HPA) monitors resource demands. it checks every 30 seconds by default. available on 1.8 or later

31
Q

How does autoscaling clusters in aks work?

A

The cluster autoscaler checks the API server every 10 seconds by default. available on version 1.10.x or later

32
Q

What should you use if the aks autoscaler is too slow?

A

rapid burst scaling

33
Q

What are the most common VM CLI subcommands?

A

create, deallocate, delete, list, open-port, restart, show, start, stop, update

34
Q

what are the 4 parameters of az vm create?

A

–resource-group, –name, –image, –location

35
Q

What resources are provisioned along with a virtual machine?

A

the vm itself, storage account, disk space, virtual network, network interface, and optionally a public IP address

36
Q

what size vm for general use?

A

B or D

37
Q

What size vm for heavy computational tasks?

A

F

38
Q

What size vm for large memory usage?

A

D, E, M, G

39
Q

What size vm for data storage and processing?

A

L

40
Q

What size vm for heavy graphics rendering?

A

N

41
Q

What size vm for high-performance computing?

A

H

42
Q

What are the two disks made along with the vm?

A

the OS disk and the temporary disk

43
Q

What are some advantages of managed disks?

A

increased reliability, better security, snapshot support, and backup support

44
Q

What are the 5 automated deployment options?

A

Azure DevOps, Github, Bitbucket, OneDrive, Dropbox

45
Q

What are the six manual deployment options?

A

Git, az webapp up, ZIP deploy, WAR deploy, Visual Studio, FTP/S

46
Q

Why does a set of VMs need to be in the same state?

A

If there’s a configuration drift for each VM, you can end up with systems that are prone to failure because of incompatibilities in the setup

47
Q

What is powershell DSC and what is it for?

A

a declarative managment platform that azure automation state configuration uses to configure, deploy, and control systems.

48
Q

What is the LCM?

A

local configuration manager is a component of the windows management framework (wmf) on a Windows operating system. It updates the state of a node

49
Q

What are LCM push and pull mode?

A

Push: an admin sends configurations to some nodes. Each LCM makes sure that the states of all the nodes are identical. Pull Mode: Each LCM polls the pull server for the latest configs.

50
Q

What are a DSC codeblock’s four sections?

A

Configuration, node, resource, and MyDscConfiguration

51
Q
A