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
Continuous Delivery - deployment strategies (4)
Complete deployment - monolith Rolling deployment Canary deployment Blue/Green deployment
26
Continuous Integration
Incorporating new code into established code base soon after written Continuously integrate new code into production using automated tools
27
RPC APIs
APIs oriented around functions implemented using sockets for high efficiency
28
Data driven testing
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
Modularity Driven Testing
Small scripts to test limited functionality | Combined to test higher level abstractions
30
Keyword Driven Testing
Tests sequence of steps to execute Good for manual testing and UI
31
Model based testing
Simulation program used to generate test data Uses several methods to simulate system being tested
32
Test driven development
Requirements mapped to tests Once code is tested, integrated into baseline of code
33
JUnit
Unit test tool for code written in Java
34
Fuzzing
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
gsutil CLI utility
Recommended method for moving data from on prem | Supports parallel loading of chunks
36
Continuous Delivery deployment strategies (4)
Complete Rolling Canary Blue/Green
37
Continuous Integration - automation tools (3)
Version control / repo Test Build
38
Circuit Breaker pattern
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
Artifact Registry
Next gen Container Registry Store, manage packages and Docker container images Integrates with Cloud Build and other GCP CI/CD tools
40
Cloud Build
CI/CD service that continuously takes source code, builds, tests, and deploys Turns source code into build artifacts
41
Cloud Source Repository
Hosted, private Git repo for version control and collaboration
42
Cloud Deploy
Creates delivery pipeline for apps via "releases" which define target environments and sequence to deploy to targets
43
Port 3306
MySQL
44
Port 22
SSH
45
Port 7
ICMP ping
46
Port 3389
RDP
47
Port 25
SMTP
48
Port 443
HTTPS
49
Port 21
FTP
50
HTTP 429
Too many requests
51
HTTP 301
URL of resource changed | New URL given in response
52
HTTP 408
Request time out
53
Cloud Tasks
Creates tasks outside of main app workflow to be processed async Scheduling, rate controls, deduplication