Timed Mode Set 1 – AWS Certified Solutions Architect Associate Flashcards
What is the best way to improve performance on DynamoDB by distributing the workload evenly and using the provisioned throughput efficiently?
Use partition keys with HIGH-cardinality attributes, which have a large number of distinct values for each item.
Is High or Low cardinality better for DDB performance?
the more distinct partition key values your workload accesses, the more those requests will be spread across the partitioned space.
HIGH Cardinality
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
Set up S3 event notification is more efficient… NOT scheduled job.
What type of storage is Provisioned IOPS volumes, EBS SSDs (io1)?
Provisioned IOPS are HOT storage (frequently accessed)
In Aurora, when there is a need to connect directly to a specific instance, what should be used?
CUSTOM endpoint is used for connecting to specific instances.
Which of the following metrics are available in CloudWatch by DEFAULT?
-Disk Swap space
-Disk Reads
-Disk space utilization
Disk Reads on an EC2 are by default included in CW.
Which of the following metrics require a CUSTOM CloudWatch metric?
-Disk Reads
-Disk Swap space
-Disk space utilization
Disk Swap space and Disk space utilization are both NOT available by default in CW and require custom metrics.
Disk Reads are DEFAULT.
What is the most common example of “cold” AWS storage service?
When you hear COLD storage, think S3.
What happens to messages in an SQS queue after the consumer has processed the message?
The messages in the SQS queue will continue to exist, until you delete that message.
What is a way to speed up a cloudfront user authentication process or other Cloudfront processes?
Lambda@Edge - allows your Lambda functions to execute the authentication process in AWS locations closer to the users.
If users are experiencing HTTP 504 errors when trying to access a CF distribution, what is a common solution to alleviate this?
Set up an origin failover
Does RDS events capture data-modifying events (INSERT, DELETE, UPDATE) ?
No RDS does not capture data-modifying related events from your RDS instance
What do you need to do to capture data-modifying events from your RDS instance?
Create a native function or a stored procedure that invokes a Lambda function.
What information does RDS events capture?
Operational info:
-DB instance events
-DB parameter group events
-DB security group events
-DBsnapshot events.
They do NOT capture data-modifying events.
What needs to be done to monitor threads and processes on an RDS DB instance, which includes CPU and MEM %?
Enhanced Monitoring needs to be enabled.
CPU% and MEM% are NOT available by default in RDS monitoring