DevOps Flashcards

1
Q

Jenkins

A

Builds and tests code

Plugins for integration with version control systems and support for different languages

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

Cloud Operations Suite (includes) (6)

A
Cloud Monitoring  (GCP and AWS)
Cloud Logging
Error Reporting
Cloud Debugger
Cloud Trace
Cloud Profiler
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

SDLC 7 steps

A
Analysis
Design
Development
Testing
Deployment
Documentation
Maintenance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Puppet and Chef

A

Configure software on servers

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

Cloud Build

A

Build, test, deploy software
Create - image containers stored in Artifact Registry
Deploy - services to VMs, K8 clusters, serverless, Firebase
Scan - images for known vulnerabilities
Binary Authorization - verify trusted containers run

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

Chaos Engineering

A

Introducing random failures to system to understand consequences and identify unanticipated failure modes

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

4 components of business continuity plan

A

Disaster plan
Business Impact Analysis
Recovery plan
RTO

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

HTTP error:

400

A

Bad request - server can’t understand request due to invalid syntax

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

HTTP error:

401

A

Request not authenticated

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

HTTP error:

403

A

Permission denied

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

HTTP error:

404

A

Resource not found; invalid endpoint

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

HTTP error:

500

A

Internal server error

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

HTTP Error:

501

A

Method not implemented by the API

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

HTTP Error:

503

A

Server unavailable

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

HTTP Error:

429

A

Too many requests

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

RPC APIs

A

APIs oriented around functions implemented using sockets

Designed for high efficiency

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

API Keys

A

Authenticates users of API functions

String of alphanumeric characters that identify an app or device to a service

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

Fuzzing

A

Testing framework - subject program to semi-random inputs for extended period of time

Used to find bugs and security vulnerabilities that may only show up at runtime

Uses tools called fuzzers

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

CLI tools included with GCP SDK install

A

gcloud
gsutil
bq

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

Bigtable CLI

A

cbt

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

Pub/Sub Emulator CLI

A

pubsub emulator

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

Where Cloud Logging can export logs (2)

How long logs retained

A

Cloud Storage
BQ
30 days

23
Q

Prometheus

A

Monitoring tool that collects metrics data from targets by scrapping HTTP endpoints of target services

24
Q

Continuous Delivery

A

Releasing code soon after code passes tests

25
Q

Continuous Delivery - deployment strategies (4)

A

Complete deployment - monolith
Rolling deployment
Canary deployment
Blue/Green deployment

26
Q

Continuous Integration

A

Incorporating new code into established code base soon after written
Continuously integrate new code into production using automated tools

27
Q

RPC APIs

A

APIs oriented around functions implemented using sockets for high efficiency

28
Q

Data driven testing

A

Uses structured data sets for testing
For each condition defined or set of inputs, tests function for expected output values

Good for testing APIs or functions from command line

29
Q

Modularity Driven Testing

A

Small scripts to test limited functionality

Combined to test higher level abstractions

30
Q

Keyword Driven Testing

A

Tests sequence of steps to execute

Good for manual testing and UI

31
Q

Model based testing

A

Simulation program used to generate test data

Uses several methods to simulate system being tested

32
Q

Test driven development

A

Requirements mapped to tests

Once code is tested, integrated into baseline of code

33
Q

JUnit

A

Unit test tool for code written in Java

34
Q

Fuzzing

A

Automated testing tool that subjects a program to semi-random inputs for extended period to find bugs and security vulnerabilities that may only turn up at runtime

35
Q

gsutil CLI utility

A

Recommended method for moving data from on prem

Supports parallel loading of chunks

36
Q

Continuous Delivery deployment strategies (4)

A

Complete
Rolling
Canary
Blue/Green

37
Q

Continuous Integration - automation tools (3)

A

Version control / repo
Test
Build

38
Q

Circuit Breaker pattern

A

Use object to monitor results of a function or service call
If number of errors surpasses threshold, service stops making requests
Slowly increase requests while monitoring errors

39
Q

Artifact Registry

A

Next gen Container Registry
Store, manage packages and Docker container images
Integrates with Cloud Build and other GCP CI/CD tools

40
Q

Cloud Build

A

CI/CD service that continuously takes source code, builds, tests, and deploys

Turns source code into build artifacts

41
Q

Cloud Source Repository

A

Hosted, private Git repo for version control and collaboration

42
Q

Cloud Deploy

A

Creates delivery pipeline for apps via “releases” which define target environments and sequence to deploy to targets

43
Q

Port 3306

A

MySQL

44
Q

Port 22

A

SSH

45
Q

Port 7

A

ICMP ping

46
Q

Port 3389

A

RDP

47
Q

Port 25

A

SMTP

48
Q

Port 443

A

HTTPS

49
Q

Port 21

A

FTP

50
Q

HTTP 429

A

Too many requests

51
Q

HTTP 301

A

URL of resource changed

New URL given in response

52
Q

HTTP 408

A

Request time out

53
Q

Cloud Tasks

A

Creates tasks outside of main app workflow to be processed async
Scheduling, rate controls, deduplication