Drag steps to the numbered slots on the right, or tap a step then tap a slot.
CV0-004 Practice Question: Order the steps to migrate an on-premises…
Order the steps to migrate an on-premises database to a cloud-managed database service (e.g., RDS, Cloud SQL).
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Create cloud database instance, Export on-premises database, Upload exported data to cloud storage, Import data into cloud database, Update application connection strings
The correct sequence for migrating an on-premises database to a cloud-managed database service begins with creating the cloud database instance to serve as the target. Next, export the on-premises data (e.g., using mysqldump or pg_dump). The exported data is then uploaded to cloud storage (e.g., S3 or Cloud Storage) for accessibility. After upload, import the data into the cloud database. Finally, update application connection strings to point to the new cloud database, completing the migration. This order minimizes downtime and ensures data integrity.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Create cloud database instance, Export on-premises database, Upload exported data to cloud storage, Import data into cloud database, Update application connection strings
Why this is correct
This order is correct because you first need a target database in the cloud, then export the on-premises data, upload it to cloud storage, import it into the cloud database, and finally update application connections to use the new database.
- ✗
Export on-premises database, Create cloud database instance, Upload exported data to cloud storage, Import data into cloud database, Update application connection strings
Why it's wrong here
This is incorrect because creating the cloud database instance before exporting is generally recommended to ensure compatibility and have the target ready. Exporting first may lead to rework if the schema needs adjustments.
- ✗
Create cloud database instance, Export on-premises database, Import data into cloud database, Upload exported data to cloud storage, Update application connection strings
Why it's wrong here
This is incorrect because you cannot import data directly into the cloud database without first uploading the exported data to cloud storage or making it accessible. The upload step must precede the import step.
- ✗
Update application connection strings, Create cloud database instance, Export on-premises database, Upload exported data to cloud storage, Import data into cloud database
Why it's wrong here
This is incorrect because updating connection strings before the data is migrated will cause application errors or downtime. Connection updates should be the final step after data is fully imported.
Quick reference
AWS S3 Storage Class Comparison
| Storage Class | Min Duration | Retrieval | Use Case |
|---|---|---|---|
| S3 Standard | None | Immediate | Frequently accessed data |
| S3 Standard-IA | 30 days | Immediate | Infrequent access, rapid retrieval |
| S3 One Zone-IA | 30 days | Immediate | Non-critical infrequent data |
| S3 Intelligent-Tiering | None | Immediate–hours | Unknown or changing access patterns |
| S3 Glacier Instant | 90 days | Milliseconds | Archive with instant retrieval |
| S3 Glacier Flexible | 90 days | Minutes–hours | Archive, flexible retrieval |
| S3 Glacier Deep Archive | 180 days | Hours | Long-term compliance archive |
Go deeper
Related to this question
About these practice questions
This CV0-004 question is part of Courseiva's 977-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This CV0-004 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CV0-004 exam.