exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C03 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C03 exam

Exam AWS Certified Solutions Architect - Associate SAA-C03 topic 1 question 247 discussion

A company has deployed a database in Amazon RDS for MySQL. Due to increased transactions, the database support team is reporting slow reads against the DB instance and recommends adding a read replica.

Which combination of actions should a solutions architect take before implementing this change? (Choose two.)

  • A. Enable binlog replication on the RDS primary node.
  • B. Choose a failover priority for the source DB instance.
  • C. Allow long-running transactions to complete on the source DB instance.
  • D. Create a global table and specify the AWS Regions where the table will be available.
  • E. Enable automatic backups on the source instance by setting the backup retention period to a value other than 0.
Show Suggested Answer Hide Answer
Suggested Answer: CE 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
fkie4
Highly Voted 1 year, 9 months ago
Who would know this stuff man...
upvoted 117 times
presetacsing
1 year, 7 months ago
exactly
upvoted 2 times
...
MNotABot
1 year, 5 months ago
"Allow long-running transactions to complete on the source DB instance." --. Makes sense / Also a backup before changing anything again made a sense.
upvoted 3 times
...
foha2012
11 months ago
Just take an intelligent guess. Eliminate 2 wrong answers and you will have a 50percent success chance.
upvoted 3 times
...
...
KelvinEM
Highly Voted 1 year, 11 months ago
C,E "An active, long-running transaction can slow the process of creating the read replica. We recommend that you wait for long-running transactions to complete before creating a read replica. If you create multiple read replicas in parallel from the same source DB instance, Amazon RDS takes only one snapshot at the start of the first create action. When creating a read replica, there are a few things to consider. First, you must enable automatic backups on the source DB instance by setting the backup retention period to a value other than 0. This requirement also applies to a read replica that is the source DB instance for another read replica" https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReadRepl.html
upvoted 51 times
...
derekxxxxxxxx
Most Recent 2 weeks, 2 days ago
Selected Answer: CE
Allow long-running transactions to complete on the source DB instance.
upvoted 1 times
...
FlyingHawk
3 weeks, 5 days ago
Selected Answer: CE
Based on the official documentation, the correct steps to prepare for creating a read replica are: A. Enable binlog replication on the RDS primary node. C. Allow long-running transactions to complete on the source DB instance. E. Enable automatic backups on the source instance by setting the backup retention period to a value other than 0. These ensure smooth and efficient setup while adhering to AWS best practices. For more detailed information, you can refer to the AWS documentation: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReadRepl.Create.html A (Enable binlog replication) is not a required manual step in Amazon RDS. Amazon RDS automatically manages this requirement during the creation of the read replica for MySQL and MariaDB.
upvoted 1 times
...
LeonSauveterre
1 month ago
Selected Answer: CE
Answer: CE. A: In Amazon RDS, binary logging is automatically enabled when creating a read replica. You don’t need to enable it manually. B: Read replicas are used for improving read performance, not for failover purposes. C: This ensures a clean state before replication begins. D: Global tables are part of Amazon DynamoDB, not Amazon RDS. E: RDS uses the automated backup feature to take a snapshot of the primary DB instance and initialize the replica.
upvoted 1 times
...
tonybuivannghia
2 months, 3 weeks ago
Selected Answer: CE
A isn't correct because binary log is just for external DB instance.
upvoted 2 times
...
ccceb01
4 months, 1 week ago
Answer is C and E https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReadRepl.html
upvoted 2 times
...
1166ae3
5 months, 4 weeks ago
Selected Answer: AE
A. Enable binlog replication on the RDS primary node: Direct Impact: Enabling binlog replication is crucial for setting up read replicas, which will directly help in distributing the read load and improving read performance. E. Enable automatic backups on the source instance by setting the backup retention period to a value other than 0: Direct Impact: Automatic backups are necessary to ensure data integrity when creating read replicas. This setup is critical for maintaining consistent and reliable replicas.
upvoted 2 times
...
awsgeek75
11 months, 3 weeks ago
Selected Answer: CE
B and D don't have anything to do with the question. E is a must have before doing major architecture changes A is not something you need to do explicitly when creating read replicas as it is managed by RDS C makes sense * I think the options are really badly worded which makes it confusing. I doubt this is a real question.
upvoted 4 times
awsgeek75
11 months, 3 weeks ago
Also, to add, binlog replication is needed if you are replicating to a non RDS instance. This is why I think the question is badly phrased as it does not specify the location of read replica. https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/MySQL.Procedural.Importing.External.Repl.html
upvoted 1 times
...
...
Ruffyit
1 year ago
An active, long-running transaction can slow the process of creating the read replica. We recommend that you wait for long-running transactions to complete before creating a read replica. If you create multiple read replicas in parallel from the same source DB instance, Amazon RDS takes only one snapshot at the start of the first create action. When creating a read replica, there are a few things to consider. First, you must enable automatic backups on the source DB instance by setting the backup retention period to a value other than 0. This requirement also applies to a read replica that is the source DB instance for another read replica
upvoted 2 times
...
meowruki
1 year ago
Selected Answer: AC
To improve the read performance of a database in Amazon RDS for MySQL by adding a read replica, you should take the following actions: Enable binlog replication on the RDS primary node: This allows the primary node to stream its binary logs to the read replica, enabling data replication. A. Enable binlog replication on the RDS primary node. Allow long-running transactions to complete on the source DB instance: Before creating a read replica, it's advisable to let any long-running transactions complete to ensure consistency between the source and the replica. C. Allow long-running transactions to complete on the source DB instance. The other options are not directly related to setting up a read replica:
upvoted 1 times
meowruki
1 year ago
B. Choose a failover priority for the source DB instance: Failover priority is more relevant in a Multi-AZ setup where automatic failover might occur. It's not directly related to creating a read replica. D. Create a global table and specify the AWS Regions where the table will be available: Global tables are used for cross-region replication, but they are not directly related to setting up a read replica for improved read performance. E. Enable automatic backups on the source instance by setting the backup retention period to a value other than 0: While it's a good practice to have backups enabled, it is not a prerequisite for creating a read replica. Therefore, the most appropriate actions are A and C.
upvoted 1 times
...
...
xdkonorek2
1 year, 1 month ago
Selected Answer: AE
A - it's essential for continuous replication E - it's essential for setting up replication, initial data in replica is based on latest backup other options: B - we're not designing for HA, and it's related to mutli-AZ RDS deployments C - is this needed for adding read replica? D - it's not a dynamodb to create global table
upvoted 4 times
...
vijaykamal
1 year, 2 months ago
Selected Answer: CE
A. Enabling binlog replication is not something you need to do manually before creating a read replica. Amazon RDS for MySQL manages replication internally, and it's not necessary to enable binlog replication explicitly. B. Choosing a failover priority is related to Multi-AZ configurations and automatic failover, but it is not specifically required when adding a read replica. D. Creating a global table and specifying AWS Regions is related to Aurora Global Databases, which is not the same as creating a read replica for a standard RDS instance.
upvoted 2 times
...
Guru4Cloud
1 year, 3 months ago
Selected Answer: CE
**C. Long-running transactions can prevent the read replica from catching up with the source DB instance. Allowing these transactions to complete before creating the read replica can help ensure that the replica is able to stay synchronized with the source. **E. Automatic backups must be enabled on the source DB instance for read replicas to be created. This is done by setting the backup retention period to a value other than 0.
upvoted 2 times
...
cd93
1 year, 4 months ago
Bin log (binary log) is a specific terminology to MySQL, it is a write-only file that logs all history and used for purposes such as point-in-time recovery and transaction replication. Option A is technically correct but on AWS RDS, this MySQL feature is turned on by setting backup retention period > 0, that is why we must enable backup before replication can work (for MySQL, at least) => Option E is the more general answer for AWS RDS. Option C is just a recommendation from AWS official documentation, it is there to prevent data mismatch on primary and secondaries when the long-running transactions have not been complete yet.
upvoted 1 times
...
A1975
1 year, 4 months ago
Selected Answer: CE
Before a MySQL DB instance can serve as a replication source, make sure to enable automatic backups on the source DB instance. To do this, set the backup retention period to a value other than 0. This requirement also applies to a read replica that is the source DB instance for another read replica. Automatic backups are supported for read replicas running any version of MySQL. You can configure replication based on binary log coordinates for a MySQL DB instance https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_MySQL.Replication.ReadReplicas.html
upvoted 2 times
...
StacyY
1 year, 4 months ago
A E. Binlog is needed for on-going replication setup and DB backup is needed for setup the replication DB
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago