service has 50 million monthly active users. The company wants to implement a semantic search<br />
solution across a database that contains 20 million restaurants and 200 million reviews. The company currently stores the data in PostgreSQL.<br />
The solution must support complex natural language queries and return results for at least 95% of<br />
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.<br />
<br />
Which solution will meet these requirements with the LEAST development effort?
<br />
Option A does not meet the semantic search requirement because keyword-based search cannot reliably interpret complex natural language intent. Option C introduces scalability and performance risks by running large-scale vector similarity searches inside PostgreSQL, which increases operational complexity. Option D adds unnecessary ingestion and abstraction layers intended for retrieval- augmented generation, not high-throughput semantic search. Therefore, Option B provides the optimal balance of performance, scalability, data freshness, and minimal development effort using AWS Generative AI services.