SAP-C02 Exam QuestionsBrowse all questions from this exam

SAP-C02 Exam - Question 136


A company has an on-premises website application that provides real estate information for potential renters and buyers. The website uses a Java backend and a NoSQL MongoDB database to store subscriber data.

The company needs to migrate the entire application to AWS with a similar structure. The application must be deployed for high availability, and the company cannot make changes to the application.

Which solution will meet these requirements?

Show Answer
Correct Answer: C

The company needs to migrate its Java backend and MongoDB database to AWS without making any changes to the application. Amazon DocumentDB (with MongoDB compatibility) is specifically designed to be compatible with MongoDB, making it a suitable choice for the subscriber data without necessitating any application changes. By deploying Amazon DocumentDB with appropriately sized instances in multiple Availability Zones, the company ensures high availability. For the Java backend application, deploying Amazon EC2 instances in an Auto Scaling group across multiple Availability Zones will also provide high availability and scalability. This setup meets all the requirements specified by the company.

Discussion

17 comments
Sign in to comment
uC6rW1aBOption: C
Sep 9, 2023

C correct DocumentDB only have on-demand instance but not on-demand capacity mode, the mode is for DynamoDB

ninomfr64Option: C
Jan 22, 2024

A = Aurora supports MySQL and PostgreSQL, not MongoDB. App changes are not allowed B = This could work but DocumentDB provides managed MongoDB instance that is preferable C = correct D = there isn't on-demand capacity mode, in 2022 launched MondoDB Elastic Cluster that eliminates the need to choose, manage or upgrade instances and allows to scale up to 4PiB storage whereas instance based scales up to 128TiB. I thing this question is pre elastic cluster as this is ambiguous between C and D

F_EldinOption: C
May 20, 2023

DocumentDB does indeed support on-demand capacity mode (Contrary to what other users say here) https://aws.amazon.com/blogs/database/running-spiky-workloads-and-optimizing-costs-by-more-than-90-using-amazon-dynamodb-on-demand-capacity-mode/ but this mode is good for spikey workloads and does not address the high availablity requirement

F_Eldin
May 20, 2023

The correct link https://www.applytosupply.digitalmarketplace.service.gov.uk/g-cloud/services/743016963590682

[Removed]
Nov 17, 2023

The content mentioned in your link and the original comment are both mentioning things related to DynamoDB. Your link is even worse which is describing DynamoDB but say it is for DocumentDB. Please study hard

ProMaxOption: C
Sep 1, 2023

Amazon DocumentDB does NOT have on-demand capacity mode, so its option C.

ninomfr64
Jan 22, 2024

There is no on-demand capacity for DocumentDB, however Elastic Cluster option is provided "Elastic Clusters enables you to elastically scale your document database to handle millions of writes and reads, with petabytes of storage capacity" see https://aws.amazon.com/documentdb/faqs/#:~:text=to%20learn%20more.-,Elastic%20Clusters,-What%20is%20Amazon

AimarLeo
Feb 1, 2024

'Appropriately sized instances' Means on-demand ? that is quite vague..

SarutobiOption: C
Apr 21, 2023

Going wit C. I still call the DocumentDB used in mode C "on-demand mode" because you have to select the Ec2 instance; the pricing documentation still uses that name. There is an Elastic cluster for DocumentDB. Could it be that option D "on-demand capacity mode" is referring to Elastic mode?

SkyZeroZxOption: C
Jun 11, 2023

See best practices for amazon documentdb - instance sizing in docs. Addicionally there is no on-demand capacity mode.

easytoo
Jun 19, 2023

c-c-c-c-c-c-c-c On-demand capacity mode as suggested in D may not provide the same level of high availability as multi-Availability Zone deployments. So it's c-c-c-c-c-c-c for me.

NikkyDickyOption: C
Jul 3, 2023

its a c

SK_TyagiOption: D
Aug 19, 2023

I was leaning towards Option C but "Appropriately sized instances" is vague since the question does not state the size of Mongo DB. On-demand instances serve the purpose here, they are offered by DocumentDB, see the link https://aws.amazon.com/documentdb/pricing/

mfsecOption: C
Mar 27, 2023

C - there is no on-demand capacity mode.

OCHTOption: C
Apr 11, 2023

Amazon DocumentDB does not support an on-demand capacity mode. You can only choose from different instance classes that have fixed compute and memory resources. However, you can scale your instances up or down as needed, and you can also pause and resume your instances to save costs. Amazon DocumentDB also automatically scales your storage and I/O based on your data size and workload.

leehjworkingOption: C
May 20, 2023

See best practices for amazon documentdb - instance sizing in docs.

career360guruOption: C
Dec 24, 2023

There is no on-demand capacity mode for DocumentDB, though there is on-demand vCPU based pricing available.

ninomfr64
Jan 22, 2024

There is no on-demand capacity for DocumentDB, however Elastic Cluster option is provided "Elastic Clusters enables you to elastically scale your document database to handle millions of writes and reads, with petabytes of storage capacity" see https://aws.amazon.com/documentdb/faqs/#:~:text=to%20learn%20more.-,Elastic%20Clusters,-What%20is%20Amazon

jpa8300Option: D
Jan 7, 2024

DocumentDB does indeed support on-demand capacity mode (Contrary to what other users say here) https://aws.amazon.com/blogs/database/running-spiky-workloads-and-optimizing-costs-by-more-than-90-using-amazon-dynamodb-on-demand-capacity-mode/ On-Demand is ideally to a use case where you have unpredictable or variable database workloads, like this case, it is not said anywhere the expected workload, so it is better to start with On-demand , and later when you know the workload you can cahnge it.

buriz
Jan 12, 2024

what you have linked here is a dynamodb article not a documentDB one, documentDB does not support on-demand capacity mode - https://aws.amazon.com/documentdb/faqs/ "You can scale the compute resources allocated to your instance in the AWS Management Console by selecting the desired instance and clicking the “modify” button. Memory and CPU resources are modified by changing your instance class."

ninomfr64
Jan 22, 2024

There is no on-demand capacity for DocumentDB, however Elastic Cluster option is provided "Elastic Clusters enables you to elastically scale your document database to handle millions of writes and reads, with petabytes of storage capacity" see https://aws.amazon.com/documentdb/faqs/#:~:text=to%20learn%20more.-,Elastic%20Clusters,-What%20is%20Amazon

chicagobeef
Jan 12, 2024

This is DynamoDB, not DocumentDB. The choices only mention DocumentDB.

gofavad926Option: C
Mar 17, 2024

C, documented. No exists the on-demand capacity mode

cnethers
Jul 4, 2024

D is the correct answer https://aws.amazon.com/documentdb/pricing/ on-demand instance is supported by DocumentDB