AZ-400 Chapter 7-10 Flashcards

1
Q

3 reasons to use packages

A

extract shared components
build packages used by other teams
reduce build and CI time

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

3 aspects of dependency management

A

standardization
package formats
versioning

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

What are feeds?

A

Hosted in Azure Artifacts
support NuGet, npm, Maven, universal packs
You can make views on a feed
4 authority types: reader, collab, contributor, owners
each feed is an isolated repository

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

2 ways to publish a package?

A

Manually from computer
by pipeline - this won’t set the version number though, you have to do it in the build

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

What is semantic versioning?

A

Major.Minor.Patch[suffix] (suffix is pre release indicator)
only patch level ensures backward compatibility

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

Universal Packages

A

Aren’t associated with a build
can be stored up to 4 TB

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

Infrastructure as code: 2 approaches

A

Declarative - specify only desired state
Imperative - specify all steps to be taken

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

ARM templates

A

are JSON
must contain schema and contentVersion
parm section (or file)
variable section
functions
comments (java style)
resource section
output section
can use ‘dependsOn’

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

Ways to deploy ARM templates

A

Powershell
Pipeline
Azure CLI (cross platform)

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

Azure blueprints

A

code for building subscriptions and policy assignments

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

Azure Automation

A

uses a ‘run as’ account, replaced by managed identities
schedule can be used
modules are run (runbooks in powershell or python)
variables can be stored at account level
can use runbook gallery which are pre-made

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

End State Migrations

A

don’t track individual changes, just the latest version
tools then generate diff scripts at runtime

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

Metrics for quality

A

% of integration builds that fail
% of code covered by tests
amount of unplanned work
number of known issues
amount of technical debt

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

what is shifting left?

A

idea that automated tests should be done earlier

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

What are functional tests?

A

unit tests - one test per class
integration tests - use a few classes
system tests - use full app, take minutes to run
exploratory tests (manual)
scripted tests (manual)

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

What are non-functional tests?

A

Performance tests
load tests
usability tests

17
Q

Max time that a Microsoft hosted job can run

A

6 hours