MongoDB MongoDB Atlas and Cloud Deployment 2 — Questions and Answers
Question 1: What is Atlas Search in MongoDB Atlas?
- A full-text search engine built on Apache Lucene, integrated directly into Atlas clusters (Correct answer)
- A tool for searching Atlas documentation
- A keyword-based search across all Atlas organizations and projects
- A Semrush-style SEO keyword search tool
Correct answer: A full-text search engine built on Apache Lucene, integrated directly into Atlas clusters
Atlas Search is a fully managed full-text search solution built on Apache Lucene and integrated directly into Atlas clusters. It supports fuzzy matching, autocomplete, facets, custom analyzers, and relevance scoring — all using the MongoDB aggregation pipeline with the $search stage.
Question 2: What is Atlas Data Federation?
- Federating identity providers for Atlas authentication
- Querying and combining data from Atlas clusters, S3 buckets, and Atlas Data Lake using MQL or SQL (Correct answer)
- Syncing data between Atlas clusters across different cloud providers
- Federating multiple Atlas organizations under one billing account
Correct answer: Querying and combining data from Atlas clusters, S3 buckets, and Atlas Data Lake using MQL or SQL
Atlas Data Federation enables querying data across multiple sources — Atlas clusters, AWS S3, Azure Blob Storage, HTTP endpoints, and Atlas Online Archive — using MongoDB Query Language or SQL. Results from disparate sources are unified without ETL pipelines.
Question 3: What does Atlas Online Archive do?
- Permanently deletes data older than a specified date
- Automatically moves infrequently accessed data from Atlas clusters to cost-effective cloud object storage (Correct answer)
- Archives Atlas configuration and schema history
- Copies Atlas cluster snapshots to long-term cold storage
Correct answer: Automatically moves infrequently accessed data from Atlas clusters to cost-effective cloud object storage
Atlas Online Archive automatically tiers cold data from your Atlas cluster to MongoDB-managed cloud object storage based on date or custom criteria. Archived data remains queryable via Atlas Data Federation, reducing cluster storage costs while maintaining accessibility.
Question 4: What is VPC Peering in Atlas and why is it used?
- Connecting two Atlas clusters for replication
- Establishing a private network connection between your cloud provider VPC and the Atlas VPC to avoid public internet traffic (Correct answer)
- Peering Atlas clusters across different MongoDB versions
- Connecting Atlas to on-premises servers via VPN
Correct answer: Establishing a private network connection between your cloud provider VPC and the Atlas VPC to avoid public internet traffic
VPC Peering creates a private network connection between your AWS VPC (or Azure VNet / GCP VPC) and the Atlas cluster's VPC. Traffic between your application and Atlas traverses the cloud provider's private network rather than the public internet, improving security and reducing latency.
Question 5: What is Atlas Triggers in MongoDB Atlas?
- Automated database index rebuild triggers
- Server-side functions that execute automatically in response to database events, scheduled times, or authentication events (Correct answer)
- Alerts that trigger when cluster CPU exceeds a threshold
- Webhooks that trigger Atlas backup jobs
Correct answer: Server-side functions that execute automatically in response to database events, scheduled times, or authentication events
Atlas Triggers are server-side JavaScript functions that run automatically in response to: database events (insert, update, delete via change streams), scheduled intervals (cron-like), or authentication events (user login/creation). They are commonly used for data synchronization, notifications, and event-driven workflows.
Question 6: What backup capability does Atlas provide with Continuous Cloud Backup?
- Hourly snapshots only, retained for 7 days
- Point-in-time recovery using continuous oplog backup, allowing restoration to any point within the retention window (Correct answer)
- Full cluster backup every 24 hours with no point-in-time option
- Backups that must be manually triggered by the database administrator
Correct answer: Point-in-time recovery using continuous oplog backup, allowing restoration to any point within the retention window
Atlas Continuous Cloud Backup captures continuous oplog data in addition to periodic snapshots. This enables point-in-time restore (PITR) to any second within the configured retention window (up to 35 days). It provides recovery options for accidental writes, deletions, or application bugs.
What is Atlas Search in MongoDB Atlas?