Question: You need to create a simple database backup in the server's `Z:\Backups` directory. Which query should you use?
- `BACKUP MyDatabase TO LOCATION = 'Z:\Backups\MyDatabase.bak';`
- `CREATE BACKUP (DATABASE = 'MyDatabase' TO DISK = 'Z:\Backups\MyDatabase. bak');`
- `BACKUP DATABASE MyDatabase ON 'Z:\Backups\MyDatabase.bak';`
- `BACKUP DATABASE MyDatabase TO DISK = 'z:\Backups\MyDatabase.bak';`
Answer: The correct answer of the above question is Option D:`BACKUP DATABASE MyDatabase TO DISK = 'z:\Backups\MyDatabase.bak';`