Recall & Review
beginner
What is a snapshot in Elasticsearch?
A snapshot is a backup of your Elasticsearch cluster data and metadata, stored in a repository. It helps you save the current state to restore later if needed.
Click to reveal answer
beginner
How do you create a snapshot repository in Elasticsearch?
You create a snapshot repository by sending a PUT request to Elasticsearch with repository settings, like type (e.g., 'fs' for file system) and location path.
Click to reveal answer
beginner
What is the purpose of restoring a snapshot?
Restoring a snapshot recovers your cluster data and settings from a saved backup, useful after data loss or to move data between clusters.
Click to reveal answer
intermediate
Can you take snapshots while Elasticsearch is running and serving requests?
Yes, snapshots are taken without stopping the cluster. Elasticsearch uses a consistent view of data, so backups do not interrupt normal operations.
Click to reveal answer
intermediate
What types of repositories can be used for snapshots in Elasticsearch?
Common repository types include 'fs' (file system), 's3' (Amazon S3), 'gcs' (Google Cloud Storage), and 'azure' (Microsoft Azure Blob Storage).
Click to reveal answer
What command creates a snapshot repository in Elasticsearch?
✗ Incorrect
PUT is used to create or update a snapshot repository.
Which repository type is used for storing snapshots on local disk?
✗ Incorrect
'fs' stands for file system, used for local disk storage.
Can you restore a snapshot to a running Elasticsearch cluster?
✗ Incorrect
Snapshots can be restored while the cluster is running.
What does a snapshot include?
✗ Incorrect
Snapshots include both index data and cluster metadata.
Which API call starts a snapshot creation?
✗ Incorrect
PUT is used to create a snapshot with a given name.
Explain the process of creating and restoring a snapshot in Elasticsearch.
Think about backup and recovery steps.
You got /4 concepts.
Why is snapshot and restore important for Elasticsearch clusters?
Consider real-life data safety and availability.
You got /4 concepts.