SAP-C02 Exam QuestionsBrowse all questions from this exam

SAP-C02 Exam - Question 326


A company wants to migrate its on-premises application to AWS. The database for the application stores structured product data and temporary user session data. The company needs to decouple the product data from the user session data. The company also needs to implement replication in another AWS Region for disaster recovery.

Which solution will meet these requirements with the HIGHEST performance?

Show Answer
Correct Answer: B

To achieve high performance while meeting the need to decouple product data from user session data, Amazon RDS for the structured product data combined with Amazon ElastiCache for Memcached for the user session data provides a compelling solution. RDS is well-suited for structured data due to its relational model capabilities, and ElastiCache excels at managing temporary session data with high-speed access. Furthermore, configuring RDS with a read replica in another Region ensures cross-region replication and thus disaster recovery. This setup ensures high performance and fault tolerance. Although option D provides a similar setup, it does not leverage the high-performance caching that ElastiCache offers for session data. Therefore, option B better satisfies the requirements. While there are claims about global datastore in ElastiCache, it should be treated with caution, but generally, ElastiCache remains efficient for caching purposes.

Discussion

17 comments
Sign in to comment
kadavahuhuOption: C
Dec 30, 2023

C - DynamoDB is for structured, semi-structured and unstructured data. So it can also hold the product data. Indeed many e-commerce shops use DynamoDB to save the product catalogue. There is nothing in the questin that would exclude DynamoDB for the product data. C has caching with DAX so it definitely has a higher performance than D which does not have caching and even no read replica in the same region.

titi_r
May 24, 2024

"C" should be wrong. "B" should be correct. "A traditional relational database management system (RDBMS) stores data in a normalized relational structure. [...] As a NON-relational database service, DynamoDB offers many advantages over traditional relational database management systems." https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-relational-modeling.html

WardoveOption: D
Feb 12, 2024

Structured Data = RDS

Russs99Option: D
Feb 23, 2024

The database for the application stores structured product data and temporary user session data, therefore. option D

duriselvan
Jan 6, 2024

B ans https://aws.amazon.com/about-aws/whats-new/2023/04/amazon-elasticache-cache-rds-databases-console/

career360guru
Jan 9, 2024

Choice is between B and D. Application information about how it is deployed in second region is missing for this question. B does not address cross region replication requirement for user sessions and assuming that is needed, option D is the right answer.

vibzr2023
Jan 12, 2024

Answer: D B also works but you will endup doing lot of custom stuff to deploy multiple ElastiCache for Memcached clusters in different Availability Zones. Pay attention to the question which says "The company also needs to implement replication in another AWS Region for disaster recovery"

SeemaDataReaderOption: D
Jan 20, 2024

B talks about Global Datastore for memcached while memcached doesnt support global datastore, hence B is ruled out and D is the answer.

eleOption: C
Feb 3, 2024

The HIGHEST performance is C. Structured data does not means "SQL". Dynamodb can handle structured data with no issues.

yog927Option: D
Mar 16, 2024

D is correct

tmlong18Option: C
Jan 15, 2024

C - DynamoDB with DAX is for structured data and the highest performance.

Zas1
Apr 7, 2024

B - In general, SQL databases are better suited for traditional, structured data, while NoSQL databases are better suited for handling large volumes of unstructured or semi-structured data.

Zas1
Apr 23, 2024

D is correct

titi_rOption: B
Apr 15, 2024

Ans B. "ElastiCache and RDS provide applications a combination of the top-tier speed of an in-memory cache with the reliability of a relational database. When provisioning an Aurora or RDS database using the RDS console, you now have the option to create and attach an associated ElastiCache cluster at the same time." https://aws.amazon.com/about-aws/whats-new/2023/04/amazon-elasticache-cache-rds-databases-console/

mifuneOption: B
May 3, 2024

I did not like "Create 2 DynamoDB global tables", but as soon as the question is asking for the HIGHEST performance it's poining to DAX. C is the correct answer.

paderni
May 25, 2024

D. Structure Data so Amazon RDS and Amazon DynamoDB is well-suited for handling session data and can provide low-latency access. Not C because Dynamo is not for structured data

9f02c8d
May 25, 2024

C - To meet Disaster Recovery requirements & get high performance with DAX

trungtdOption: D
Jun 12, 2024

Querying structured data on DynamoDB does not provide as good performance as RDS

junehc
Jul 14, 2024

I think D. ElastiCache for Memcached and DAX are good for read-heavy so they can improve performance, but not a good choice for read and write, and also Memcached – no replication