Timed Mode Set 1 – AWS Certified Solutions Architect Associate Flashcards

1
Q

What is the best way to improve performance on DynamoDB by distributing the workload evenly and using the provisioned throughput efficiently?

A

Use partition keys with HIGH-cardinality attributes, which have a large number of distinct values for each item.

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

Is High or Low cardinality better for DDB performance?

A

the more distinct partition key values your workload accesses, the more those requests will be spread across the partitioned space.

HIGH Cardinality

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

What is more efficient for checking on files added to S3 to be converted by Glue (ETL) ?

-Configure a AWS Glue crawler to run on a schedule to check for new files in the S3 bucket every hour and convert them to Parquet format

OR

-Set up an S3 Event Notification to track every S3 PUT event and invoke the ETL job in AWS Glue through Amazon SQS

A

Set up S3 event notification is more efficient… NOT scheduled job.

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

What type of storage is Provisioned IOPS volumes, EBS SSDs (io1)?

A

Provisioned IOPS are HOT storage (frequently accessed)

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

In Aurora, when there is a need to connect directly to a specific instance, what should be used?

A

CUSTOM endpoint is used for connecting to specific instances.

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

Which of the following metrics are available in CloudWatch by DEFAULT?

-Disk Swap space
-Disk Reads
-Disk space utilization

A

Disk Reads on an EC2 are by default included in CW.

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

Which of the following metrics require a CUSTOM CloudWatch metric?

-Disk Reads
-Disk Swap space
-Disk space utilization

A

Disk Swap space and Disk space utilization are both NOT available by default in CW and require custom metrics.

Disk Reads are DEFAULT.

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

What is the most common example of “cold” AWS storage service?

A

When you hear COLD storage, think S3.

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

What happens to messages in an SQS queue after the consumer has processed the message?

A

The messages in the SQS queue will continue to exist, until you delete that message.

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

What is a way to speed up a cloudfront user authentication process or other Cloudfront processes?

A

Lambda@Edge - allows your Lambda functions to execute the authentication process in AWS locations closer to the users.

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

If users are experiencing HTTP 504 errors when trying to access a CF distribution, what is a common solution to alleviate this?

A

Set up an origin failover

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

Does RDS events capture data-modifying events (INSERT, DELETE, UPDATE) ?

A

No RDS does not capture data-modifying related events from your RDS instance

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

What do you need to do to capture data-modifying events from your RDS instance?

A

Create a native function or a stored procedure that invokes a Lambda function.

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

What information does RDS events capture?

A

Operational info:
-DB instance events
-DB parameter group events
-DB security group events
-DBsnapshot events.

They do NOT capture data-modifying events.

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

What needs to be done to monitor threads and processes on an RDS DB instance, which includes CPU and MEM %?

A

Enhanced Monitoring needs to be enabled.

CPU% and MEM% are NOT available by default in RDS monitoring

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

What is the difference between Blue/green deployment and Canary deployment?

A

-B/G is deploying all at once, Canary is incremental.
-B/G requires more resources than Canary.
-Canary is LESS risk than B/G

17
Q

What EC2 will be terminated FIRST in an ASG?

A

The EC2 instance launched from the oldest launch template.

18
Q

When configuring NAT GW for EC2s in a PRIVATE subnet, what kind of subnet does the NAT GW go into, public or private?

A

Private.

19
Q

What is used to authenticate to an RDS db via an auth token?

A

IAM DB Authentication is best used to allow access to RDS DBs.

20
Q

What is DynamoDB Streams?

A

DDB streams is a flow of info about changes to items in a table. This feature MUST be enabled.

21
Q

What other AWS service does DDB streams tightly integrate with?

A

AWS Lambda. You can create lambda triggers that respond to DDB streams

22
Q

What service is used to consolidate data from multiple AWS accounts into a single account?

A

Lake Formation.

23
Q

What is the service best used to view security reports and other AWS compliance-related info?

A

AWS Artifact provides on-demand access to AWS’ security and compliance reports and select online agreements.

24
Q

How do you set up an origin failover (CloudFront)?

A

To setup an origin failover in CF - create an origin group with two origins