Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 150 discussion

A company has a latency-sensitive trading platform that uses Amazon DynamoDB as a storage backend. The company configured the DynamoDB table to use on-demand capacity mode. A solutions architect needs to design a solution to improve the performance of the trading platform. The new solution must ensure high availability for the trading platform.

Which solution will meet these requirements with the LEAST latency?

  • A. Create a two-node DynamoDB Accelerator (DAX) cluster. Configure an application to read and write data by using DAX.
  • B. Create a three-node DynamoDB Accelerator (DAX) cluster. Configure an application to read data by using DAX and to write data directly to the DynamoDB table.
  • C. Create a three-node DynamoDB Accelerator (DAX) cluster. Configure an application to read data directly from the DynamoDB table and to write data by using DAX.
  • D. Create a single-node DynamoDB Accelerator (DAX) cluster. Configure an application to read data by using DAX and to write data directly to the DynamoDB table.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Untamables
Highly Voted 1 year, 8 months ago
Selected Answer: B
3 nodes are required for a DAX cluster to be fault-tolerant. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DAX.concepts.cluster.html
upvoted 19 times
...
Ganshank
Highly Voted 1 year, 1 month ago
This is a poorly framed question with very little attention to how applications are architected in real life. Here's my reasoning: This being a trading platform, you have a high volume of writes and reads, and stale data is essentially worse than useless. This automatically eliminates all but A, because of the way DAX performs. DAX caches data from the first query, and subsequent queries will continue to receive that cached data regardless of whether it has been updated in DynamoDB. This behavior continues till cache eviction. The only way around it is to read and write data using DAX. Here's the curveball - the solution must be HA, which eliminates A and D, leaving only B & C. And between B & C, you really want to use DAX for reading and DynamoDB for writing. So final answer is B - if you want to get certified. Applying this solution in real world however will cause you a lot of pain and grief!
upvoted 12 times
jainparag1
10 months, 3 weeks ago
Cahing in DAX is always write through. Correct answer is B.
upvoted 2 times
...
frfavoreto
1 year, 1 month ago
Totally agree. But an additional issue with the question is the fact that it requires High Availability, not Fault Tolerance. These are quite different concepts and, at least up to this point, there would be no need for 3x DAX instances (in theory).
upvoted 1 times
...
...
ThachNguyen
Most Recent 2 weeks, 1 day ago
Selected Answer: B
B is Correct. - To achieve high availability for your application, we recommend that you provision your DAX cluster with at least three nodes. Ref: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DAX.consistency.html#DAX.consistency.nodes - If the request specifies eventually consistent reads (the default behavior), it tries to read the item from DAX. - With these operations, data is first written to the DynamoDB table, and then to the DAX cluster. The operation is successful only if the data is successfully written to both the table and to DAX. Ref: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DAX.concepts.html#DAX.concepts.request-processing
upvoted 1 times
...
saggy4
8 months, 1 week ago
Selected Answer: B
DAX is cache and can only be used to read so A and C are out. Between B and D the question says Highly Available so we will select B (three node) instead of D (single node). So correct answer B
upvoted 3 times
...
ninomfr64
8 months, 4 weeks ago
A = 2 nodes DAX is not fault-tolerant B = correct (write-around strategy ensure lower latency) C = write-through strategy can have higher latency D = 1 node DAX is not fault-tolerant
upvoted 1 times
...
career360guru
9 months, 4 weeks ago
Selected Answer: B
Option B is the best option. Though Option A is also possible solution.
upvoted 1 times
...
MRamos
10 months, 1 week ago
Selected Answer: B
The breakpoint is latency. You write throught DAX, but for latency sensitive apps, AWS instruct write directly on DynamoDB instead on DAX. "For applications that are sensitive to latency, writing through DAX incurs an extra network hop. So a write to DAX is a little slower than a write directly to DynamoDB. If your application is sensitive to write latency, you can reduce the latency by writing directly to DynamoDB instead. For more information, see Write-around." https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DAX.consistency.html#DAX.consistency.strategies-for-writes
upvoted 1 times
...
amarbeg
10 months, 3 weeks ago
Option A would be the least latency solution for this use case. Using a two node DAX cluster with the application reading and writing via DAX provides: Caching of both reads and writes within the DAX cluster nodes. This eliminates the need to go directly to DynamoDB for reads and writes, reducing latency. Redundancy with two nodes to ensure high availability of the cache. The other options would lead to some reads or writes still going directly to DynamoDB rather than being fully served from the lower latency cached data in DAX. This could increase latency compared to option A. A single node DAX cluster would work but lacks the redundancy needed for high availability. DAX is fully managed, in-memory cache for DynamoDB that delivers low-latency data access. By caching the entire dataset in-memory across nodes, it can serve requests much faster than going to the DynamoDB tables on every request. The AWS documentation provides more details on how to configure DAX and monitor latency metrics.
upvoted 1 times
...
covabix879
1 year ago
Selected Answer: A
Question only ask for High Availability, not Fault Tolerant. You need 3 nodes only for the latter. You must write through to keep data getting stale as mentioned by Ganshank. I would go with two-node cluster as strong consistency adds extra latency as number of clusters increase. So for this question best answer should be A.
upvoted 1 times
...
dkcloudguru
1 year, 1 month ago
Option B is correct: DAX is also used for caching so it improves the performance and for production 3 nodes are strongly recommended so i ll go with B.
upvoted 2 times
...
duriselvan
1 year, 1 month ago
https://aws.amazon.com/blogs/database/amazon-dynamodb-accelerator-dax-a-read-throughwrite-through-cache-for-dynamodb/
upvoted 1 times
...
duriselvan
1 year, 1 month ago
sorry guys a is wrong ans: B is correct ans Important For production usage, we strongly recommend using DAX with at least three nodes, where each node is placed in different Availability Zones. Three nodes are required for a DAX cluster to be fault-tolerant. A DAX cluster can be deployed with one or two nodes for development or test workloads. One- and two-node clusters are not fault-tolerant, and we don't recommend using fewer than three nodes for production use. If a one- or two-node cluster encounters software or hardware errors, the cluster can become unavailable or lose cached data.
upvoted 1 times
...
duriselvan
1 year, 1 month ago
A is Ans : Read replicas serve two additional purposes: Scalability. If you have a large number of application clients that need to access DAX concurrently, you can add more replicas for read-scaling. DAX spreads the load evenly across all the nodes in the cluster. (Another way to increase throughput is to use larger cache node types.) High availability. In the event of a primary node failure, DAX automatically fails over to a read replica and designates it as the new primary. If a replica node fails, other nodes in the DAX cluster can still serve requests until the failed node can be recovered. For maximum fault tolerance, you should deploy read replicas in separate Availability Zones. This configuration ensures that your DAX cluster can continue to function, even if an entire Availability Zone becomes unavailable.
upvoted 1 times
...
AMohanty
1 year, 1 month ago
A Once u enable DAX you cant directly write onto or Read from Dynamo DB.
upvoted 2 times
...
ggrodskiy
1 year, 2 months ago
Correct B.
upvoted 1 times
...
Just_Ninja
1 year, 3 months ago
Selected Answer: B
AWS recommend 3 nodes for production workloads. So it must B
upvoted 1 times
...
NikkyDicky
1 year, 3 months ago
Selected Answer: B
B for DAX HA
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 ...