exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

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

Exam AWS Certified Solutions Architect - Professional topic 1 question 97 discussion

You are developing a new mobile application and are considering storing user preferences in AWS.2w This would provide a more uniform cross-device experience to users using multiple mobile devices to access the application. The preference data for each user is estimated to be 50KB in size Additionally 5 million customers are expected to use the application on a regular basis.
The solution needs to be cost-effective, highly available, scalable and secure, how would you design a solution to meet the above requirements?

  • A. Setup an RDS MySQL instance in 2 availability zones to store the user preference data. Deploy a public facing application on a server in front of the database to manage security and access credentials
  • B. Setup a DynamoDB table with an item for each user having the necessary attributes to hold the user preferences. The mobile application will query the user preferences directly from the DynamoDB table. Utilize STS. Web Identity Federation, and DynamoDB Fine Grained Access Control to authenticate and authorize access.
  • C. Setup an RDS MySQL instance with multiple read replicas in 2 availability zones to store the user preference data .The mobile application will query the user preferences from the read replicas. Leverage the MySQL user management and access privilege system to manage security and access credentials.
  • D. Store the user preference data in S3 Setup a DynamoDB table with an item for each user and an item attribute pointing to the user' S3 object. The mobile application will retrieve the S3 URL from DynamoDB and then access the S3 object directly utilize STS, Web identity Federation, and S3 ACLs to authenticate and authorize access.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Community vote distribution
B (80%)
D (20%)

Comments

Chosen Answer:
This is a voting comment. You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
nameisreqd
Highly Voted 3 years, 4 months ago
One logon for 5mil users using S3+DDB vs DDB alone DDB Alone: 1 logon retrieves 50kb data that consumes ~12 rcu total rcu consumed for 5 mil logons = 60 mil cost for 1 mil rcu = 0.25. total cost = .25*60 = $15 DDB + S3: 1 logon retrieves less than 4kb data so consumes 1 rcu of DDB 5 mil logon consume 5 mil rcu DDB cost = 5*.25 = $1.25 S3: total read requests = 5mil 1000 read requests cost 0.0004 5 mil read requests cost 5000*.0004 =$2 Total cost = $2+$1.25= $3.25 So DDB+S3 is more cost effective. So answer should be D.
upvoted 11 times
...
Exam_boy
Highly Voted 3 years, 5 months ago
D:(cost-effective, highly available, scalable and secure.) HA and scalable: S3 Secure: S3 ACL Cost-effective 5,000,000 * 50 KB = 250 GB DynamoDB Storage Cost = 0.25/GB * 250 = $62.50 S3 Storage = $0.03/GB * 250 = $7.50 So S3 is ~10% Cost of DDB but in the grant scheme of things,
upvoted 5 times
rb39
3 years, 3 months ago
but maintaining S3 ACL for all users doesn't scale as good as DynamoDb fine grain access
upvoted 2 times
...
AdamSmith
3 years, 5 months ago
don't forgot cost for request to S3, they will eat u alive
upvoted 2 times
...
qianhaopower
3 years, 5 months ago
Millions GetObject request are too expensive.
upvoted 1 times
nameisreqd
3 years, 5 months ago
One logon for 5000 users using S#+DDB vs DDB alone DDB Alone: 1 logon retrives 50kb data that consumes 12 rcu total rcu for 5 mil logons = 60 mil cost for 1 mil rcu = 0.25. total cost = .25*60 = $15 DDB + S3 1 logon retrieves less than 4kb data so consumes 1 rcu of DDB 5 mil lognon consume 5 mil rcu DDB cost = 5*.25 = $1.25 S3: total read requests = 5mil 1000 read requests cost 0.0004 5 mil read requests cost 5000*.0004 =$2 Total cost = $2+$1.25= $3.25 So DDB+S3 is more cost effective. So answer should be D? Does it make sense?
upvoted 4 times
01037
3 years, 4 months ago
I just feel D be correct. Thank you for the analysis
upvoted 1 times
...
nameisreqd
3 years, 5 months ago
5 mil users... not 5000.
upvoted 2 times
...
...
...
user0001
2 years, 10 months ago
if anyone choose mysql over DynomoDB, then you should not be taking this exam
upvoted 3 times
...
...
codeScalable
Most Recent 1 day, 6 hours ago
Selected Answer: D
Answer is D. Smart combination of S3 + DyDB
upvoted 1 times
...
amministrazione
7 months ago
D. Store the user preference data in S3 Setup a DynamoDB table with an item for each user and an item attribute pointing to the user' S3 object. The mobile application will retrieve the S3 URL from DynamoDB and then access the S3 object directly utilize STS, Web identity Federation, and S3 ACLs to authenticate and authorize access.
upvoted 1 times
...
BATSIE
1 year, 5 months ago
Selected Answer: B
Option D might seem more cost-effective at first glance, but it could lead to higher costs in the long run. This is because every time the user preferences are accessed, two separate requests are made: one to DynamoDB and another to S3. This could result in higher operation costs over time. Moreover, this approach could also lead to higher latency because you are making two separate network calls, which could negatively impact the user experience. On the other hand, Option B stores all data in DynamoDB and allows for direct querying. This reduces the need for multiple requests and can provide a faster, more efficient service. Plus, DynamoDB is designed for high availability and scalability, which makes it a good fit for this scenario. Remember, when designing a solution, it’s important to consider not just the immediate costs but also the long-term implications in terms of performance, scalability, and user experience.
upvoted 3 times
...
TigerInTheCloud
2 years, 2 months ago
Selected Answer: B
I select B as I feel that security is more important than cost-effective. I prefer to improve D with *signed* S3 URLs. The FGA solution can be used in D too. The S3 ACL is not a secure approach for each of the mobile users, but it is good enough to secure S3 access by the signer.
upvoted 1 times
...
aandc
2 years, 8 months ago
B, this one is in the book "AWS Certified Solutions Architect Associate (SAA) 2021 | 15 Mock Tests For Complete Preparation"
upvoted 2 times
...
cldy
3 years, 3 months ago
B. Setup a DynamoDB table with an item for each user having the necessary attributes to hold the user preferences. The mobile application will query the user preferences directly from the DynamoDB table. Utilize STS. Web Identity Federation, and DynamoDB Fine Grained Access Control to authenticate and authorize access.
upvoted 4 times
...
backfringe
3 years, 3 months ago
I go with B
upvoted 1 times
...
nodogoshi
3 years, 4 months ago
Should be D. 50KB record consume Dynamodb rcu/wcu a lot. Not cost effective.
upvoted 1 times
...
Mansur
3 years, 4 months ago
Correct Option is B https://youtu.be/uAUYphLWL5w
upvoted 2 times
...
newme
3 years, 4 months ago
D. The question asks for cost-effective solution. D is most cost-effective and also highly available, scalable and secure. Though B is much easier for devekopers.
upvoted 1 times
...
fullaws
3 years, 5 months ago
B is correct
upvoted 3 times
...
miracle
3 years, 5 months ago
Sound likes B
upvoted 2 times
...
CloudFloater
3 years, 5 months ago
B http://jayendrapatil.com/aws-storage-options-whitepaper/
upvoted 2 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:
PCNSE
Kyiv, 1 minute ago