Deploy and Manage Azure Compute Resources Flashcards

Azure Resource Manger Templates, configure/create VMs, provision containers, Azure app services

1
Q

What are the two scale set orchestration modes?

A

Uniform – uses a virtual machine profile or template to scale up to desired capacity. This orchestration mode is mainly used for large-scale stateless workloads that require identical VM instances. It also provides fault domain high availability (less than 100 VMs).

Flexible – offers high availability with identical or multiple VM types (up to 1000 VMs) by spreading VMs across fault domains in a region or within an Availability Zone.

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

Do deallocated VMs still count to vCPU Quota?

A

Yuh

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

When would you want to deploy a VM in a availability set versus an availability zone?

A

Availability sets - used to protect applications from hardware failures within an Azure data center.

Availability zones - used to protect applications against Azure data center failures.

Take note that an availability set only protects your resources from planned and unplanned maintenance. It cannot protect your applications from data center outages. Also, in the availability set, if a hardware or software failure happens, only a subset of your VMs are impacted and your overall solution stays operational.

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

What is the major difference in ACI and AKS?

A

You should use AKS if you need full container orchestration, such as service discovery across multiple containers, automatic scaling, and coordinated application upgrades.

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

What is azure event grid?

A

a highly scalable, fully managed Pub Sub message distribution service that offers flexible message consumption patterns using the MQTT and HTTP protocols.

Event Grid enables clients to publish and subscribe to messages over the MQTT v3.1.1 and v5.0 protocols to support Internet of Things (IoT) solutions. Through HTTP, Event Grid enables you to build event-driven solutions where a publisher service announces its system state changes (events) to subscriber applications. Event Grid can be configured to send events to subscribers (push delivery) or subscribers can connect to Event Grid to read events (pull delivery).

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

What is the major difference between AKS and ACI?

A

You should use AKS if you need full container orchestration, such as service discovery across multiple containers, automatic scaling, and coordinated application upgrades.

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

What is an azure logic app?

A

A cloud platform where you can create and run automated workflows with little to no code.

Workflow = A series of operations that define a task, business process, or workload. Each workflow always starts with a single trigger operation, after which you must add one or more action operations.

Examples include, schedule and send email notifications when a file is changed.

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

What are azure functions?

A

A serverless solution that allows you to write less code, maintain less infrastructure, and save on costs. Really just Run a small piece of code to do a task.

Example: Run code when a file is uploaded or changed in blob storage.

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

How are azure functions, logic apps, and event grids charged differently?

A

Functions: You are only charged for the time you run your code.

Logic Apps: You are charged for the execution of triggers, action, and connectors.

Event Grid: You are charged for each operation, such as ingress events, advanced matches, delivery attempts, and management calls.

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

What is an availability set?

A

An availability set is a logical grouping of VMs that allows Azure to understand how your application is built to provide for redundancy and availability.

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

What are update domain and a fault domain in an availability set? How many of each can their be in an availbility set?

A

3 fault domains, 20 updated domains.

Fault domains = groupings of VMs that share a common power source and network switch. Protects against phsyical hardware failures/power outages

Update domains = groupings of VMs which can be rebooted at the same time. Protects against all VMs being updated at the same time.

Usually a

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

What is an an app service plan?

A

It is a collection of compute resources needed for a web app to run.

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

What are the type of App Services that can be deployed in an app service plan?

A

Web App: A website
Web apps for containers: A container containing all dependencies for a web app
API Apss: Expose and connect a backend

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

What does an app service plan define for any apps running within it? I.E. What is defined at the creation time of the app service?

A

Operating System (Windows, Linux)
Region (West US, East US, and so on)
Number of VM instances
Size of VM instances (Small, Medium, Large)
Pricing tier (Free, Shared, Basic, Standard, Premium, PremiumV2, PremiumV3, Isolated, IsolatedV2)

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

What are the different pricing tiers of azure app service? And what does the pricing tier determine?

A

The tier determines what app service features you get and how much you pay for the plan.

Shared Compute – Free and Shared are the two base tiers. These tiers allocate CPU quotas to every app running on the shared resources, but the resources cannot scale-out.

Dedicated Compute – It is composed of Basic, Standard, Premium, and PremiumV2 tiers. As the tier gets higher, you will have more VMs to scale-out.

Isolated – A dedicated virtual machine that provides maximum scale-out capabilities.

17
Q

What are deployment slots?

A

Within azure app service you can swap app content and configuration elements with deployment slots

The deployment slots allow you to create a staging slot for your application.
When you perform the swap operation, the following settings are swapped: General settings, App settings, Connection strings, Handler mappings, Public certificates, and WebJobs content.

18
Q

What app service plans support deployment slots?

A

Standard or Premium tier

19
Q

How many update domains must there be compared to a fault domain?

A

if you set 3 update domains and 1 fault domain in an Availability Set, you will receive an error message: “The update domain count must be 1 when fault domain count is 1.” To resolve this error, you must have 2 fault domains instead of 1 fault domain.

20
Q

What is the minimum required subnet size for container apps if workflow profiles is desired?

A

Workload profiles – Supports user-defined routes (UDR) and egress through NAT Gateway. The minimum required subnet size is /27.

21
Q
A