Other AWS Services Flashcards

1
Q

What service would you integrate with a Lambda function to send emails?

A

SES - Simple Email Service

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

What is the advantage of OpenSearch over DynamoDB?

A

OpenSearch allows you to search any field, even for partial matches

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

Give three patterns for OpenSearch usage

A

OpenSearch with DynamoDB: stream the DB data through a lambda function to OpenSearch. Use OpenSearch to search the data, but DDB to retrieve items

OpenSearch with CloudWatch Logs: Create a subscription filter to stream specific data either through a lambda or through data firehose into OpenSearch

OpenSearch with Kinesis Data Streams: stream data through either a lambda function of data firehose (with an optional lambda for data transformation) to OpenSearch

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

How can you query data within S3 using SQL? Give a use case for this.

A

Amazon Athena - serverless query service to analyze data using SQL
- business intelligence, analytics, reporting, analyze CloudTrail trails or any sort of logs.

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

Give 4 methods for improving performance of Athena queries.

A

Use columnar data
- Can transform to Apache Parquet or ORC
- Use Glue to convert the data

Compress data for smaller retrievals

Partition datasets in S3 for querying on ‘virtual columns’
- i.e., use the filepath to act as columns, e.g. s3://athena/flight/parquet/year=1991/month=1/day=1/

Use larger files (> 128 MB) rather than many small files

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

How would you use Athena to query services such as CloudWatch Logs, DDB, RDS, or even on premises database?

A

Use Federated Query - uses data source connectors that run on AWS Lambda to run federated queries on other services

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

What is AWS MSK?

A

Managed Streaming for Apache Kafka (alternative to Kinesis)
- create Kafka noes, deploy cluster etc.

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

How does Apache Kafka work (high level)?

A

Producers write information to a Kafka topic - this is written to a Broker Node within an MSK Cluster, and then replicated to other nodes in that cluster.
- Consumers then poll the topic for updates

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

What are the differences between Kinesis Data Streams and MSK?

A

KDS:
- 1 MB message size limit
- Data Streams with Shards
- Shard splitting and merging
- TLS in-flight encryption
- KMS at-rest encryption

MSK
- 1MB default size limit, can be raised
- Kafka topics with partitions
- Can only add partitions, cannot remove
- Plaintext or TLS in-flight encryption
- KMS at-rest encryption

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

What service lets you manage TLS and SSL certificates?

A

AWS Certificate Manager (ACM)

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

How would you issue public and private certificates?

A

ACM for public certificates
AWS Private Certificate Authority (CA)
- Managed service allows your to create private certificate authorities
- Certificates are only trusted by your Organisation (not the public internet)
- Certificates work with AWS services that are integrated with ACM

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

What is a use case for private certifications?

A
  • Encrypted TLS communcation, crytographically signing code
  • Authenticate users, computers, API endpoints, IoT devices
  • Enterprise customers building a public key infrastructure (PKI)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is Amazon Macie?

A

Data security and privacy services that uses machine learning and pattern matching to discover and protect your sensitive data in AWS
- Identifies and alerts you to sensitive data (PII)

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

What service can you use to manage settings such as feature flags, application tuning, allow/block listing dynamically (without code changes)?

A

AppConfig

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

How could you monitor the difference between feature flags in an A/B test?

A

CloudWatch Evidently
- Validate new features by serving them to a specified % of users
- Collect and analyze data

Used for launches, experiments, beta testing via an Override (allows you to specify a config for a specific user)

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