Google Cloud Digital LeaderData and AI with Google CloudHard
A global e-commerce platform needs to provide real-time product search functionality with auto-completion and personalized results based on user behavior. They have a massive product catalog and user interaction data. They require a highly scalable, low-latency search solution that can handle complex queries and integrate with their existing data processing pipelines. Which Google Cloud product is most suitable for this use case?
- ACloud SQL
- BCloud Storage
- CElasticsearch on Google Cloud Marketplace
- DBigQuery
Show answer & explanationAnswer & explanation
Correct answer: C. Elasticsearch on Google Cloud Marketplace
For real-time product search with features like auto-completion and personalized results, a specialized search engine like Elasticsearch (available on Google Cloud Marketplace) is ideal. It provides the necessary indexing, querying capabilities, and scalability for such a demanding use case.
Why the other options are wrong
- A. Cloud SQL is a relational database not optimized for full-text search, auto-completion, or personalized search at scale.
- B. Cloud Storage is object storage, suitable for storing raw data but not for providing real-time, indexed search functionality.
- D. BigQuery is a data warehouse for analytics, not an operational search engine for real-time user-facing queries.
Elasticsearch
A distributed, open-source search and analytics engine known for its full-text search capabilities, scalability, and real-time data analysis.
- Provides full-text search, auto-completion, and faceted search
- Highly scalable and offers near real-time indexing
- Often used with Kibana for visualization and Logstash for data ingestion (ELK Stack)
Memory trick: Elastic search makes finding things flexible and fast.