Compute: App Service, State configuration Flashcards

1
Q

Web App Scaling: Scale Up

A

You scale up by changing the pricing tier of the App Service plan that your app belongs to.

Get more CPU, memory, disk space, and extra features like dedicated virtual machines (VMs), custom domains and certificates, staging slots, autoscaling, and more.

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

Web App Scaling : Scale Out

A

Increase the number of VM instances that run your app. You can scale out to as many as 30 instances, depending on your pricing tier.

The scale instance count can be configured manually or automatically (autoscale). Autoscale is based on predefined rules and schedules.

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

App Service Plan Scaling: Metric-Based

A

Metric-based rules measure application load and add or remove VMs based on that load.

For example, do this action when CPU usage is above 50%. Examples of metrics are CPU time, Average response time, and Requests.

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

App Service Plan Scaling: Time-based.

A

Time-based (schedule-based) rules allow you to scale when you see time patterns in your load and want to scale before a possible load increase or decrease occurs.

For example, trigger a webhook every 8am on Saturday in a given time zone.

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

Creating an App Service: config choices

A

Requires a resource group and service plan.

Name: Must be unique
Publish: Host code or a docker container
Runtime stack: The stack to run the app (language, SDK)
Operating System: Linux or Windows
Region: ...
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

App Service: Deployment Slots

A

Deployment slots are live apps with their own hostnames. App content and configurations elements can be swapped between two deployment slots, including the production slot.

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

App Service: Application Insights

A

A feature of Azure Monitor that monitors your live applications.

(request rates, response times, failure rates, dependency rates, page views, load counts, user and session counts, performance counters)

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

Azure Automation State Configuration

A

Azure Automation State Configuration is an Azure service built on PowerShell.

Used to make sure that the virtual machines (VMs) in a cluster are in a consistent state, with the same software installed and the same configurations.

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

PowerShell DSC

A

Is a declarative management platform that Azure Automation State Configuration uses to configure, deploy, and control systems.

You specify the desired state and let DSC do the work to get there.

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

The local configuration manager (LCM)

A

…is a component of the Windows Management Framework (WMF) on a Windows operating system.

The LCM is responsible for updating the state of a node, like a VM, to match the desired state.

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

Every time the The local configuration manager (LCM) runs, it completes the following steps:

A

Get: Get the current state of the node.
Test: Compare the current state of a node against the desired state by using a compiled DSC script (.mof file).
Set: Update the node to match the desired state described in the .mof file.
You configure the LCM when you register a VM with Azure Automation.

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

The local configuration manager (LCM) - Push mode:

A

Push mode: An administrator manually sends, or pushes, the configurations to one or more nodes. The LCM makes sure that the state on each node matches what the configuration specifies.

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

The local configuration manager (LCM) - Pull mode

A

Pull mode: A pull server holds the configuration information.

The LCM on each node polls the pull server at regular intervals, by default every 15 minutes, to get the latest configuration details.

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