
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A social media company wants to store its database of user profiles, relationships, and interactions in the AWS Cloud. The company needs an application to monitor any changes in the database. The application needs to analyze the relationships between the data entities and to provide recommendations to users.
Which solution will meet these requirements with the LEAST operational overhead?
A
Use Amazon Neptune to store the information. Use Amazon Kinesis Data Streams to process changes in the database.
B
Use Amazon Neptune to store the information. Use Neptune Streams to process changes in the database.
C
Use Amazon Quantum Ledger Database (Amazon QLDB) to store the information. Use Amazon Kinesis Data Streams to process changes in the database.
D
Use Amazon Quantum Ledger Database (Amazon QLDB) to store the information. Use Neptune Streams to process changes in the database.
Explanation:
Correct Answer: B
Why Option B is correct:
Amazon Neptune is a purpose-built graph database service that is specifically designed for storing and querying highly connected data, such as user profiles, relationships, and interactions in a social media context. It uses the property graph model and supports both Gremlin and SPARQL query languages, making it ideal for analyzing relationships between data entities.
Neptune Streams is a feature of Amazon Neptune that captures changes to the graph data in real-time. It provides a change log of all modifications made to the graph, which can be consumed by applications to monitor database changes. This is a native, integrated solution within Neptune itself.
Least operational overhead: By using Neptune Streams (which is built into Neptune) instead of Amazon Kinesis Data Streams (a separate service), the company reduces operational complexity. There's no need to set up, configure, and maintain a separate streaming service - the change monitoring capability comes natively with the database.
Why other options are incorrect:
Option A: While Neptune is appropriate for the data storage, using Kinesis Data Streams adds operational overhead compared to using Neptune Streams, which is built into Neptune.
Option C: Amazon QLDB is a ledger database designed for maintaining an immutable, verifiable history of data changes, but it's not optimized for graph-based relationship analysis like Neptune. QLDB is better suited for financial transactions, supply chain, or any scenario where you need a complete, verifiable audit trail.
Option D: This combination doesn't make sense because Neptune Streams is a feature of Amazon Neptune, not QLDB. You cannot use Neptune Streams with QLDB.
Key AWS Services:
Architecture Principle: This solution follows the AWS best practice of using purpose-built databases for specific use cases and minimizing operational overhead by using integrated, managed services.