Free Microsoft DP-300 Exam Questions (page: 6)

You have an Azure subscription.

You need to deploy an Azure SQL database. The solution must meet the following requirements:

Dynamically scale CPU resources.

Ensure that the database can be paused to reduce costs.

What should you use?

  1. the Business Critical service tier
  2. the serverless compute tier
  3. an elastic pool
  4. the General Purpose service tier

Answer(s): B

Explanation:

Serverless is a compute tier for single databases in Azure SQL Database that automatically scales compute based on workload demand and bills for the amount of compute used per second. The serverless compute tier also automatically pauses databases during inactive periods when only storage is billed and automatically resumes databases when activity returns. The serverless compute tier is available in the General Purpose service tier and currently in preview in the Hyperscale service tier.


Reference:

https://learn.microsoft.com/en-us/azure/azure-sql/database/serverless-tier-overview



HOTSPOT (Drag and Drop is not supported)

You have an Azure subscription.

You need to deploy an Azure SQL managed instance that meets the following requirements:

Optimize latency.

Maximize the memory-to-vCore ratio.

Which service tier and hardware generation should you use? To answer, select the appropriate options in the answer area.

Note: Each correct selection is worth one point.

Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:





Box 1: Business Critical
Optimize latency.

Service tier characteristics
SQL Managed Instance has two service tiers: General Purpose and Business Critical.

Storage IO latency (approximate)
General Purpose: 5-10 ms
Business Critical: 1-2 ms

Incorrect:
* Hyperscale: The Hyperscale service tier is currently only available for Azure SQL Database, and not Azure SQL Managed Instance.

Box 2: Memory optimized premium-series
Maximize the memory-to-vCore ratio.

Hardware configurations have different characteristics, as described in the following table:


Reference:

https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/resource-limits https://learn.microsoft.com/en-us/azure/azure-sql/database/service-tier-hyperscale



You have a Microsoft SQL Server 2017 server.

You need to migrate the server to Azure. The solution must meet the following requirements:

Ensure that the latest version of SQL Server is used.

Support the SQL Server Agent service.

Minimize administrative effort.

What should you use?

  1. an Azure SQL Database elastic pool
  2. Azure SQL Database
  3. SQL Server on Azure Virtual Machines
  4. Azure SQL Managed Instance

Answer(s): D



HOTSPOT (Drag and Drop is not supported)

You have a Microsoft SQL Server 2017 server that hosts five databases.

You plan to migrate the databases to Azure.

You need to recommend a solution that meets the following requirements:

Automatically scales compute based on the workload demand

Provides per-second billing

What should you include in the recommendation? To answer, select the appropriate options in the answer area.

Note: Each correct selection is worth one point.

Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:





Box 1: A single Azure SQL database in the serverless computer tier Automatically scales compute based on the workload demand.
Provides per-second billing.

Serverless is a compute tier for single databases in Azure SQL Database that automatically scales compute based on workload demand and bills for the amount of compute used per second.

Box 2: General Purpose service
The serverless compute tier is available in the General Purpose service tier and currently in preview in the Hyperscale service tier.


Reference:

https://learn.microsoft.com/en-us/azure/azure-sql/database/serverless-tier-overview



You have an on-premises Microsoft SQL Server 2019 database named SQL1 that uses merge replication.

You need to migrate SQL1 to Azure.

Which service should you use?

  1. Azure SQL Edge
  2. Azure SQL Database
  3. SQL Server on Azure Virtual Machines
  4. Azure SQL Managed Instance

Answer(s): C

Explanation:

Merge Replication is only supported by SQL Server.
Incorrect:
Not A: Azure SQL Edge is an optimized relational database engine geared for IoT and IoT Edge deployments.
Not B: Azure SQL Database does not support merge replication.
Not D: Azure SQL Managed Instance does not support merge replication.


Reference:

https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/replication-transactional-overview https://learn.microsoft.com/en-us/sql/relational-databases/replication/merge/merge-replication



You have an on-premises datacenter that contains a 2-TB Microsoft SQL Server 2019 database named DB1.

You need to recommend a solution to migrate DB1 to an Azure SQL managed instance. The solution must minimize downtime and administrative effort.

What should you include in the recommendation?

  1. Log Replay Service (LRS)
  2. log shipping
  3. transactional replication
  4. SQL Data Sync

Answer(s): A

Explanation:

Migration overview: SQL Server to Azure SQL Managed Instance We recommend the following migration tools:

* Log Replay Service
This cloud service is enabled for SQL Managed Instance based on SQL Server log-shipping technology. It's a migration option for customers who can provide full, differential, and log database backups to Azure Storage.
Log Replay Service is used to restore backup files from Azure Blob Storage to SQL Managed Instance.
* Etc.
The following table lists alternative migration tools:
* Transactional replication
Replicate data from source SQL Server database tables to SQL Managed Instance by providing a publisher- subscriber type migration option while maintaining transactional consistency.
* Etc.
Compare migration options
Compare migration options to choose the path that's appropriate to your business needs.
The following table compares the recommended migration options:
* Log Replay Service
- Migrate individual line-of-business application databases.
- More control is needed for database migrations.
Considerations:
- The migration entails making full database backups on SQL Server and copying backup files to Azure Blob Storage. Log Replay Service is used to restore backup files from Azure Blob Storage to SQL Managed Instance.
- Databases being restored during the migration process will be in a restoring mode and can't be used for read or write workloads until the process is complete.
* Etc.
The following table compares the alternative migration options:
* Transactional replication
- Migrate by continuously publishing changes from source database tables to target SQL Managed Instance database tables.
- Do full or partial database migrations of selected tables (subset of a database).
Considerations:
- Setup is relatively complex compared to other migration options.
- Provides a continuous replication option to migrate data (without taking the databases offline).
* Etc.


Reference:

https://learn.microsoft.com/en-us/azure/azure-sql/migration-guides/managed-instance/sql-server-to-managed- instance-overview



You have an Azure subscription.

You plan to deploy an instance of SQL Server on Azure Virtual Machines that supports Write Accelerator.

Which virtual machine series should you use?

  1. E-series
  2. G-series
  3. H-series
  4. M-series

Answer(s): D

Explanation:

Enabling Write Accelerator on a specific disk
The next few sections will describe how Write Accelerator can be enabled on Azure Premium Storage VHDs.
Prerequisites
The following prerequisites apply to the usage of Write Accelerator at this point in time:
The disks you want to apply Azure Write Accelerator against need to be Azure managed disks on Premium Storage.
You must be using an M-series VM


Reference:

https://learn.microsoft.com/en-us/azure/virtual-machines/how-to-enable-write-accelerator¨



You have an on-premises Microsoft SQL Server 2019 instance that hosts a database named DB1.

You have an Azure subscription that contains an Azure SQL database named SQLDB1.

You need to replicate DB1 to SQLDB1.

Which type of replication should you use?

  1. transactional
  2. peer-to-peer
  3. snapshot
  4. merge

Answer(s): A

Explanation:

Types of replication
There are different types of replication:



Scenarios

Typical Replication Scenario
Create a transactional replication publication on a SQL Server database.
1. On SQL Server use the New Subscription Wizard or Transact-SQL statements to create a push to subscription to Azure SQL Database.
2. With single and pooled databases in Azure SQL Database, the initial data set is a snapshot that is created by the Snapshot Agent and distributed and applied by the Distribution Agent. With a SQL Managed Instance publisher, you can also use a database backup to seed the Azure SQL Database subscriber.
Data migration scenario
1. Use transactional replication to replicate data from a SQL Server database to Azure SQL Database.
2. Redirect the client or middle-tier applications to update the database copy.
3. Stop updating the SQL Server version of the table and remove the publication.


Reference:

https://learn.microsoft.com/en-us/azure/azure-sql/database/replication-to-sql-database



Viewing page 6 of 54



Post your Comments and Discuss Microsoft DP-300 exam prep with other Community members:

DP-300 Exam Discussions & Posts