1.8 Infrastructure as Code Flashcards

N10-009 Obj 1,8 Summarize evolving use cases for modern network environments. (11 cards)

1
Q

What is Infrastructure as Code (IaC)?

A

A method of managing and provisioning infrastructure through machine-readable configuration files instead of manual processes.

Transcript: “Infrastructure as Code… describe it in terms that are best described as code… we can build a configuration file…” (0:01–0:19)

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

What are the benefits of using Infrastructure as Code?

A

It enables automation, version control, duplicate deployments, and consistency across environments.

Transcript: “We can build out infrastructure as code configurations… redeploy… exact duplicate… flexibility…” (0:47–1:23)

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

What kind of details can be included in an IaC configuration file?

A

Hostnames, CPU type, IP addressing, network configs, and required applications.

Transcript: “Include other details… type of CPU, how much network configurations, IP addressing…” (1:47–1:59)

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

What is a playbook in the context of automation?

A

A predefined set of steps to respond to specific events like breaches or malware, enabling consistent automated responses.

Transcript: “A playbook is a series of steps you would follow… investigate a data breach… recover from ransomware…” (2:13–2:30)

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

What is a SOAR platform and how does it related to playbooks?

A

SOAR stands for Security, Orchestration, Automation, and Response. It centralizes playbook management and security operations.

Transcript: “Playbooks are commonly implemented into SOAR platforms… management console… centralized deployment…” (3:05–3:28)

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

How does IaC help prevent configuration drift and enforce compliance?

A

By using consistent configuration files to deploy identical systems, avoiding unintentional differences.

Transcript: “Avoid instances of configuration drift… all of your systems remain in compliance…” (3:39–4:02)

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

What is the role of source control in managing IaC?

A

It ensures centralized version tracking, avoids unauthorized changes, and allows for controlled deployment.

Transcript: “To ensure that level of control… you need source control… manage any type of change…” (5:35–5:47)

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

What is Git and how is it used in IaC?

A

Git is a version control system used to track changes and collaborate on infrastructure code across teams.

Transcript: “A very popular type of version control system is Git… maintain these source codes…” (6:14–6:27)

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

What are code branches in version control used for?

A

To test and develop changes separately before merging them into the main production code.

Transcript: “Allows us to create branches… test changes… merge back into production…” (7:35–8:06)

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

How are merge conflicts handled in version control systems?

A

The software detects conflicts when multiple edits are made to the same line, and they must be resolved manually or automatically.

Transcript: “There will obviously be a conflict… version control software… recognize and manage…” (7:00–7:33)

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

What is branching in version control, and how is it used in Infrastructure as Code (IaC)?

A

Branching allows developers to create a separate version of an IaC configuration file to test or develop changes independently. Once validated, the branch can be merged back into the main (production) version.

Transcript: “We can create a version of an infrastructure as code definition file… configure it in a testing environment for upgrades… and then merge it back into the production environment.” (7:35–8:06)

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