Costs, Misc., DevOps Flashcards

1
Q

What is the difference between the fixed price and consumption based model

A

In fixed price, you pay for the resources you provision for a length of time e.g. for 1 or 3 years. App Service has a plan that you pay for.

Consumpetion based you only pay for what you use. Serverless is consumption (Azure Functions).

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

What is the total cost of ownership and what things are factored in?

A

Total cost of ownership calculates how much you would save my migrating your resources to the cloud by factoring in workload, license, RAM, Cores, assumptions like energy cost, labour, hardware

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

What does Azure Pricing Calculator tell youq

A

It estimates what your cloud spend would be based on the traffic, compute power and storage requirements

Resource type - GPU, CPU, Cores, RAM, Access Tier
Usage
Subscription type
Marketplace
Region
Data transfer I/O. Data into Azure is always free. Data out is not free. Data between services in the same AZ is free.|
Reserved or Spot

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

What are tags used for?

A

A digital marker to identify apps, environments or business units that a resource is associated with. Can be used to figure out departmental spend, compliance or SLA requirements. Tags are not inherited by resource groups.

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

What is Azure Migrate

A

Helps you assess and migrate resources to the cloud from servers to VMs, Databases, or offline data transfer if there is a lot.

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

What 3 elements should dev teams strive to improve in within DevOps?

A

Communication - alignment between members
Feedback - Earlier is better
Automation - Automate testing, infra provisioning, deployment, monitoring

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

What is Continuous Integration, Continuous Deployment and Continues Delivery?

A

CI - Continuously run tests and packaging
CDep - Continuously deploy to test environ.
CDel - Continuously deploy to prod.

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

What are 5 Azure DevOps tools?

A

Azure Repos to store source code
Azure Pipelines to orchestrate CI/CD deployment
Azure boards - kanban, scrum
Azure Artifacts for artifact repository
Azure Test Plans - automation test tool

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

What is Infrastructure as code

A

Treat infrastructure as if it was app code.
When you deploy an app, you may need to provision a VM, a DB, VNets etc. You can automate that by using a script.

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

What are the two steps in employing Infra as code?

A
  1. Provision infra using ARM (Azure Resource Manager Templates
  2. Configure the resources - install the right OS, tools
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are ARM templates and their advantages?

A

They are JSON scripts that define what resources should be provisioned and how they are to be configured. The advantages are it avoids config drift where you make changes and don’t remember what changes you made, it avoids manual mistakes, it acts like configuration version control for you environments. I.e. if you make a change in your Dev environment, you don’t need to also change your QA, Stage and Prod environments.

Declarative approach for IAAC where it factors in dependencies and provisions resources in the right order, automates rollback in case of failure.

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

What two tools could you use to create automation scripts in the cloud and what scripts do they use?

A

Azure Powershell - Powershell Script
Azure CLI - Bash Script

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