exam questions

Exam DP-300 All Questions

View all questions & answers for the DP-300 exam

Exam DP-300 topic 1 question 39 discussion

Actual exam question from Microsoft's DP-300
Question #: 39
Topic #: 1
[All DP-300 Questions]

You have an on-premises Microsoft SQL Server named SQL1 that hosts five databases.
You need to migrate the databases to an Azure SQL managed instance. The solution must minimize downtime and prevent data loss.
What should you use?

  • A. Always On availability groups
  • B. Backup and Restore
  • C. log shipping
  • D. Database Migration Assistant
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Fer079
Highly Voted 2 years, 5 months ago
Selected Answer: B
DMA does not support database migrations to Azure SQL Managed Instance. Recommendation is to use the Azure SQL migration extension for Azure Data Studio, which supports both online and offline database migrations to Azure SQL Managed Instance, but here we don´t have the option "Azure SQL migration extension for Azure Data Studio". https://learn.microsoft.com/en-us/sql/dma/dma-overview?view=sql-server-ver16#capabilities Regarding log shipping to Managed Instance is not possible; it only supports the restore of full backups. https://dba.stackexchange.com/questions/232332/is-it-possible-to-log-ship-from-on-premise-sql-server-to-azure-sql-managed-insta So the only option that we can use is Backup and Restore
upvoted 13 times
Natali
10 months, 3 weeks ago
this is not true anymore. Even within the link you provided: "Assess on-premises SQL Server instances migrating to Azure SQL Database or Azure SQL Managed Instance."
upvoted 2 times
...
...
iceonfire
Most Recent 6 months, 1 week ago
Selected Answer: B
as explained here https://learn.microsoft.com/en-us/data-migration/sql-server/managed-instance/guide
upvoted 1 times
...
voodoo_sh
6 months, 2 weeks ago
Selected Answer: B
My answer: B. Backup and Restore wrong answers: A. SQL MI can't be part of AG C. SQL MI doesn't support traditional Log Shipping D. DMA can help migrate your database schema and data to the target environment, but simple backup and restore will be faster option IMHO (less downtime)
upvoted 1 times
...
iceonfire
6 months, 3 weeks ago
Selected Answer: A
Note the use of the word minimum down time: Here is an excerpt from the Microsoft website: https://learn.microsoft.com/en-us/data-migration/sql-server/managed-instance/overview. Managed Instance link : This feature enables online migration to SQL Managed Instance by using Always On availability technology to replicate changes nearly real time. It's a migration option for customers who require the database on SQL Managed Instance to be accessible in R/O mode while the migration is in progress, who need to keep the migration running for prolonged periods of time (such as weeks or months at a time), who require true online replication to the Business Critical service tier, and for customers who require the most performant minimum downtime migration.
upvoted 1 times
...
hllwrld
8 months, 2 weeks ago
Must be A, according to the 'Hybrid data synchronization' paragraph and the 'Migration by platform' table: https://learn.microsoft.com/en-us/azure/azure-sql/database/sql-data-sync-retirement-migration?view=azuresql
upvoted 1 times
...
bingomutant
8 months, 4 weeks ago
A - B and D do not minimise downtime - only the always on Av Groups can meet the requirements
upvoted 1 times
...
Vitos25
9 months ago
I'm kind of agree that the correct answer is D. Here is my guess as to why. In the question it saying "You need to migrate the databases to an Azure SQL managed instance. The solution must minimize downtime and prevent data loss." I think who ever asking this, actually looking for more solution to minimize downtime and prevent data loss. By using DMA you have an option to evaluate if migration will be successful. modern data platform by detecting compatibility issues. I can't simply take DB and migrate it, Right? First evaluation then actual Migration. I'm personally choosing D.
upvoted 1 times
...
yousiftech
1 year, 1 month ago
Hi everyone, why can't use the Always on availability group?
upvoted 2 times
...
sca88
1 year, 2 months ago
Selected Answer: D
https://learn.microsoft.com/en-us/sql/dma/dma-overview?view=sql-server-ver16
upvoted 1 times
sca88
1 year, 2 months ago
Sorry, my bad, but the Microsoft documentation is misleading. It says: "The Data Migration Assistant (DMA) helps you upgrade to a modern data platform by detecting compatibility issues that can impact database functionality when you: upgrade to a new version of SQL Server migrate to Azure SQL Database migrate to Azure SQL Managed Instance" but below there is an alert "DMA does not support database migrations to Azure SQL Managed Instance. Use the Azure SQL migration extension for Azure Data Studio instead, which supports both online and offline database migrations to Azure SQL Managed Instance." So I suppose the only possible answer is B
upvoted 3 times
...
...
Ben999
1 year, 4 months ago
Changing my mind on this - Believe answer is B after reviewing. Migration Service is different from Migration Assistant. Migration Assistant only assesses databases for migration
upvoted 2 times
...
Ben999
1 year, 4 months ago
I believe answer is correct - D. Database Migration Service is used to restore backups for the migration. See Question 33 for details (2nd line in question)
upvoted 1 times
Vitos25
9 months ago
Database Migration Service In our case Database Migration Assistant
upvoted 1 times
...
...
yyc585
1 year, 5 months ago
Selected Answer: B
DMA does not support database migrations to Azure SQL Managed Instance. Use the Azure SQL migration extension for Azure Data Studio instead, which supports both online and offline database migrations to Azure SQL Managed Instance.
upvoted 1 times
...
lziolkow
1 year, 6 months ago
Answer A: Always On availability groups. Why? The clue is: "The solution must minimize downtime and prevent data loss." For reference see: https://learn.microsoft.com/en-us/azure/azure-sql/migration-guides/managed-instance/sql-server-to-managed-instance-overview?view=azuresql#compare-migration-options Migration option: Link feature for Azure SQL Managed Instance
upvoted 3 times
...
bsk1983
1 year, 9 months ago
Selected Answer: B
Answer is B (Backup and Restore) because that's the ONLY viable option in the provided multiple choices for DB migration from ONprem to Azure SQL MI Below shown is a statement from Microsoft URL (highlighted in purple in website): DMA (data migration assistant) does not support database migrations to Azure SQL Managed Instance. Use the Azure SQL migration extension for Azure Data Studio instead, which supports both online and offline database migrations to Azure SQL Managed Instance. https://learn.microsoft.com/en-us/sql/dma/dma-overview?view=sql-server-ver16
upvoted 1 times
eleeitor
1 year, 8 months ago
You can achieve minimal downtine with Log Replay Service..... wich uses log shipping technology. ( it uses full and differential backup first, and then apply logs that we send to blob storage). With only backup and restore you would have downtime.
upvoted 1 times
...
...
[Removed]
1 year, 9 months ago
Selected Answer: B
DMA does not support migration to MI
upvoted 2 times
...
Adamus2077
1 year, 10 months ago
Selected Answer: B
Backup and restore is for now only option from given.
upvoted 2 times
...
testdumps2017
1 year, 10 months ago
DMA DOES support migration to SQL MI (SMB share), so answer is correct.
upvoted 1 times
Adamus2077
1 year, 10 months ago
DMA DOES NOT support migration to SQL MI yet. it only support assesment to SQL MI: https://learn.microsoft.com/en-us/sql/dma/dma-overview?view=sql-server-ver16
upvoted 1 times
testdumps2017
1 year, 10 months ago
you are correct, my bad. the ONLY option is backup and restore.
upvoted 1 times
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...