AWS Certified Generative AI – Professional (AIP-C01) — Question 22

A company provides a service that helps users from around the world discover new restaurants. The service has 50 million monthly active users. The company wants to implement a semantic search solution across a database that contains 20 million restaurants and 200 million reviews. The company currently stores the data in a PostgresQL database.
The solution must support complex natural language queries and return results for at least 95% of queries within 500 ms. The solution must maintain data freshness for restaurant details that update hourly. The solution must also scale cost-effectively during peak usage periods.
Which solution will meet these requirements with the LEAST development effort?

Answer options

Correct answer: B

Explanation

Option B is the correct choice because it utilizes Amazon OpenSearch Service and a foundation model to generate vector embeddings, which effectively supports complex natural language queries while ensuring fast response times and scalability. The other options either involve more complexity with custom implementations or do not fully leverage the capabilities of semantic search required under the given constraints.