CSA Flashcards

1
Q

Lambda-support languages (5)

A
python
Go
C# (.NET core)
node.js (javascrip)
Java
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Lambda triggers (9 most used)

A
  • API Gateway
  • Alexa Skills Kit
  • CloudFront
  • CloudWatch Events
  • CloudWatch Logs
  • DynamoDB
  • Kinesis
  • S3
  • SNS
others:
•	SQS
•	AWS IoT
•	Alexa Smart Home
•	CodeCommit
•	Cognito Sync Trigger
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Route53 DNS Routing Options (6)

A
Simple
weighted
Latency-based
Failover
Geolocation
Multivalue ANswer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What 10 AWS services are serverless?

A
  • Compute: Lambda (+ Lambda@edge for Cloudfront)
  • Storage: S3
  • DB: DynamoDB
  • API Gateway
  • AWS AppSync
  • Orchestration: AWS step functions
  • Message queuing: SQS
  • Notification: SNS
  • Analytics: Kinesis
  • Interactive query: Athena
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the key differences between Multi-AZ DB’s and Read Replicas?

A

Multi-AZ is for DR/maintenance (active-passive), Read-replicas are for improved performance and resiliency

M-AZ is synchronous, Read-replicas are asynch.

M-AZ has one defined endpoint, RR has endpoint for each replica

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

List the 6 key AWS databases and their uses

A
  • RDS – OLTP (RDBMS)
  • DynamoDB – noSQL
  • Redshift – OLAP
  • Elasticache – in-mem caching
  • Aurora - Customer, high-perf RDBMS
  • Neptune - Graph database
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the 6 DB’s available within RDS?

A
Oracle
Aurora
PostgresSQL
MySQL
MariaDB
MS SQL Server
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the 5 key basic components of a VPC?

A
IGW (Internet gateway/VPG)
Route tables
Subnets
Security Groups
NACL's
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

List the (8 ) steps to creating a custom VPC

A

1) Create VPC (creates default security group, NACL & route
2) Create subnets
3) Create iNet Gateway
4) Create route table
5) link public subnet to Inet gateway
6) Setup auto-assign of public IP’s if desired
7) Create instances in each subnet
8) Create security groups as needed (HTTP, etc) to allow access between subnets

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

At what three levels can VPC flowlogs be created?

A

o VPC – all VPC traffic
o Subnet – all subnet traffic
o Network interface – per instance

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

What are the two types of VPC endpoints?

A

o Interface endpoint – elastic network interface (ENI) – entry point for traffic destined to the service
o Gateway endpoint – serves as a target for a route in your route table for traffic destined for the service. Similar to NAT gateway, is more resilient than interface.

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

What are the two type of SQS queues and key differences?

A

1) Standard (default) - volume/speed, but risk of 2x delivery and mis-ordering
2) FIFO - 300/sec but guaranteed 1x and ordering (use case: banking)

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

What are the 3 actors of SWF (Simple Workflow Service)

A

1) Activity Workers = programs that interact with SWF to get tasks, process them and return result
2) Deciders = controls the coordination of tasks – ordering, concurrency, scheduling
3) Workflow Starters - initiates workflow (i.e. a web site sending transaction)

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

What are 4 differences between SWF and SQS?

A

o SWF only assigns ONCE, whereas SQS can assign 2x (due to timeout)
o SWF is task-orientated, SQS is message-orientated
o SWF keeps track of all app tasks. With SQS, you need to implement your own app-level tracking
o SWF retention max = 1 year. SQS = 14 days

• Exam: scenarios usually around when to use SWF vs SQS
o Any human interaction should be SWF
o Delivery timeframe – longer than 12 hours, then SWF

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

What are the 3 core service of Kinesis?

A

1) Streams - shards, hold data 12h - 7d. Manual scaling
2) Firehose - automated, no shards, no retention. Batching, encrypting, compressing
3) Analytics - Analysis of data in Streams or Firehose

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

What are the 8 types of subscribers (protocols) to SNS

A
HTTP
HTTPS
Email
Email-JSON
Lambda
Application
SQS
SMS
17
Q

What is the IP to get user and meta data from an instance?

A

169.254.169.254
/latest (or date)/meta-data
/latest (or date)/user-data
/latest (or date)/dynamic

18
Q

What are 4 key capabilities of AWS Organizations

A

1) Consolidate billing
2) Centrally manage policies across accounts
3) Control access to services/actions (SCP - Service Control Policies)
4) Automate AWS account create/delete

19
Q

What are the steps to enable cross-account access?

A

(need to know account #’s)

1) In dev: Create user + group
2) In prod:
a) Create read-write-app-bucket policy
b) Create UpdateApp cross account role
c) Apply policy to the role
3) in Dev: Create new in-line policy & apply to the group created earlier

4) Use “Switch Role” from Account drop-down

20
Q

What are the 2 types of resource groups?

A

1) Classic - global or regional, view-only

2) AWS Systems Manager - regional only, automation, insights, health checks, etc

21
Q

What are the 9 steps of a typical STS authentication process?

A

o Step 1 – user enters their ID & password
o Step 2 – App passes ID/pw to broker
o Step 3 - Broker verifies via LDAP/AD that ID/pw are correct
o Step 4+5: On EXAM: STS returns to broker:
 Access key
 Secret access key
 Token (demonstrates that user is authenticated)
 Duration (can last between 1 – 36 hours)
o Step 6: Broker sends STS info to app
o Step 7: App connects to S3 with token
o Step 8/9: S3 verifies user has permissions for that resource

22
Q

What are the 7 key components of docker?

A

1) Docker image
2) Docker container
3) Layers / Union File System
4) DockerFile
5) Docker Daemon / Engine (runtime)
6) Docker client – interface between user and daemon
7) Docker registries – i.e. Dockerhub, ECH, etc

23
Q

List the 2 types of ECS schedulers

A

o Service Scheduler
 Container re-launch on failure
 Can ensure tasks are registered against ELB
o Custom Scheduler
 Build you own schedulers
 Leverage third-party schedulers, like Blox

24
Q

What are the 4 default metrics provided by Cloudwatch?

A

o CPU
o Storage
o Network
o Status

25
Q

What are the 4 IAM policy types?

A

1) Identity-based (Managed & inline)
2) Resource-based
3) Organizations SCP
4) ACL’s

26
Q

What 5 operating systems are included free with EC2?

A
  • Redhat Enterprise Linux
  • SUSE enterprise Linux
  • Windows Server
  • Oracle Enterprise Server
  • MS SQL Server
27
Q

What are the 5 pillars of a well-architected framework?

A

1) Operational Excellence
2) Security
3) Reliability
4) Performance Efficiency
5) Cost Optimization

28
Q

What are the 4 AWS Support plans?

A

1) Basic
2) Developer
3) Business
4) Enterprise

29
Q

What five categories does Trusted Advisor cover?

A
  • Cost optimization
  • Performance
  • Security
  • Fault tolerance
  • Service limits
30
Q

What are the 4 valid orgins for CloudFront?

A

1) S3 bucket
2) S3 bucket set up as a Mediastore container
3) MediaPackage Channel
4) Custom - EC2 instance, http server, etc

(note: Lamba is not a valid origin)

31
Q

What are the 13 key design principles?

A

1) Scalability
2) Disposable Resources, not fixed servers
3) Automation
4) Loose Coupling
5) Services, no Servers
6) Databases
7) Data Warehouse
8) Search
9) Removing Single Points of Failure
10) Optimize for Cost
11) Caching
12) Security
13) Real-time monitoring

32
Q

What 5 AWS Resources are “reservable”

A
EC2
Redshift
RDS
DynamoDB
Cloudfront
33
Q

List common AWS support tools and their scope

A
  • AWS Config – track and maintain configurations
  • Amazon Inspector – automated security & compliance assessment (Includes pre-configured checks for common best practices)
  • AWS Trusted Advisor – optimization of cost & performance, basic security checks, fault tolerance & service limits
  • Access Advisor – visibility into policies/access that is not used, so you can remove
  • Consolidated billing

TCO calculator, COst estimator, AWS budgets, etc

34
Q

What are the three key points of S3’s data consistency model?

A

o PUTS of new objects – read-after write consistency (with caveat)
o Overwrite PUTS and DELETES – eventual consistency
o Object-locking not supported

35
Q

What are the 4 options for encrypting S3 data?

A

1) Client side encryption
2) Server-side encryption with S3 managed keys (SSE-S3)
3) Server side encryption with KMS (SSE-KMS)
4) Server-side encryption with Customer keys (SSE-C)

36
Q

What are the four things you can do with CloudWatch?

A

1) Create dashboard
2) Monitor/react to events
3) Monitor logs
4) set alarms based on thresholds

37
Q

What are the two types of EC2 Placement groups

A

1) Clustered (default). Single AZ, low-latency,

2) Spread. New in 2017, can span AZ, set on specific hardware to ensure decoupling

38
Q

What are the 3 AWS Storage Gateway options?

A

1) Tape Gateway
2) Volume Gateway (cached & stored)
3) File Gateway (S3 via local VM/app & NFS)

39
Q

What services are included in free tier and which stay free (within limits)?

A
o	Expire after 12 months:
	EC2
	S3
	RDS
	Cloudfront
o	Always free (each have limits):
	DynamoDB
	Glacier
	Lambda