wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

DP-300 Full MCQ Set

Total questions: 31

Worksheet time: 16mins

Name
Class
Date
1.

You have 20 Azure SQL databases provisioned by using the vCore purchasing model. You plan to create an Azure SQL Database elastic pool and add the 20 databases. Which three metrics should you use to size the elastic pool to meet the demands of your workload?

a)

Total size of all the databases

b)

Geo-replication support

c)

Number of concurrently peaking databases * peak CPU utilization per database

d)

Maximum number of concurrent sessions for all the databases

e)

Total number of databases * average CPU utilization per database

2.

Which type of compression provides the greatest space reduction for a fact table with billions of rows in Azure SQL Database?

a)

Page compression

b)

Row compression

c)

Columnstore compression

d)

Columnstore archival compression

3.

You plan to migrate DB1 from SQL Server 2019 to an Azure SQL database. What feature should be removed or replaced before migration?

a)

Clustered columnstore indexes

b)

PolyBase

c)

Change tracking

d)

Automatic tuning

4.

You have a 4-TB database named DB1 in an on-premises SQL Server 2019 instance. You plan to migrate DB1 to an Azure SQL Database managed instance. What should you use to minimize downtime and data loss during the migration?

a)

Distributed availability groups

b)

Database mirroring

c)

Always On Availability Group

d)

Azure Database Migration Service

5.

You have an on-premises SQL Server 2016 database named DB1. You need to perform an online migration of DB1 to an Azure SQL Database managed instance using Azure Database Migration Service. How should you configure the backup of DB1?

a)

Use full database backup

b)

Use differential backup only

c)

Use log backup only

d)

Use transaction log backup with no recovery

6.

Which type of compression provides the greatest space reduction for a large, batch-loaded table in Azure SQL Database?

a)

Page compression

b)

Row compression

c)

Columnstore compression

d)

Columnstore archival compression

7.

Which distribution type should you use for a date dimension table in Azure Synapse Analytics dedicated SQL pool to minimize data movement?

a)

HASH

b)

REPLICATE

c)

ROUND_ROBIN

8.

In Azure Synapse Analytics, which file format should you use for tables in a Spark pool so they are automatically available as external tables to the built-in serverless SQL pool?

a)

JSON

b)

CSV

c)

Parquet

d)

ORC

9.

You are designing a streaming data solution in Azure. Which service allows you to change the partition count after creation?

a)

Azure Event Hubs Standard

b)

Azure Stream Analytics

c)

Azure Data Factory

d)

Azure Event Hubs Dedicated

10.

What is the best solution for anomaly detection on streaming data from an Azure IoT hub that must send results to Azure Synapse and minimize development effort?

a)

Azure SQL Database

b)

Azure Databricks

c)

Azure Stream Analytics

11.

Which output mode should you use in Azure Databricks Structured Streaming to report only new events that arrive during each interval?

a)

Complete

b)

Append

c)

Update

12.

Which disk type should be used for SQL Server transaction logs on Azure Virtual Machines to minimize latency?

a)

Standard HDD

b)

Standard SSD

c)

Premium SSD

d)

Ultra SSD

13.

To ensure only masked values are visible in an Azure Synapse Analytics dedicated SQL pool column, what feature should you use?

a)

Column-level encryption

b)

Dynamic Data Masking

c)

Always Encrypted

d)

Row-level security

14.

What is the first step to reduce the time it takes for an Azure Databricks cluster to start and scale up?

a)

Upgrade workspace to Premium

b)

Configure a global init script

c)

Create a pool

d)

Create a cluster policy

15.

Which two objects should you create to ensure users from each company see only their company’s data in Azure Synapse Analytics dedicated SQL pool?

a)

Column encryption key

b)

Asymmetric keys

c)

A function

d)

Custom RBAC role

e)

A security policy

16.

Which Azure SQL deployment option supports SQL Server Agent and the use of master/target (MSX/TSX) jobs?

a)

Azure SQL Managed Instance

b)

Azure SQL Database

c)

SQL Server on Azure Virtual Machines

d)

Azure Database for MySQL

17.

What is required to enable managed identities to access an Azure SQL database?

a)

Assign a login at server level

b)

Assign a contained database user with External provider

c)

Assign db_owner role

d)

Assign dbmanager role

18.

Which Azure SQL Database compute tier allows dynamic scaling and pausing for cost savings?

a)

Business Critical

b)

Serverless compute tier

c)

Elastic pool

d)

General Purpose

19.

You want to maximize memory-to-vCore ratio and optimize latency on an Azure SQL Managed Instance. Which service tier and hardware generation should you choose?

a)

General Purpose on standard-series

b)

Business Critical on premium-series

c)

General Purpose on memory-optimized-series

d)

Business Critical on memory-optimized-series

20.

Which solution provides randomized encryption, supports comparison operators, and encrypts data in motion for Azure SQL Database?

a)

Always Encrypted with secure enclaves

b)

Always Encrypted

c)

Column-level encryption

d)

Transparent Data Encryption (TDE)

21.

You need to provide a user with the ability to add and remove columns from tables in an Azure SQL database using least privilege. Which two actions should you perform?

a)

Assign the database user the db_owner role.

b)

Create a contained database user.

c)

Create a login and associated database user.

d)

Assign the database user the db_ddladmin role.

22.

You plan to migrate an on-premises SQL Server database to Azure SQL Database. The solution must minimize downtime. What should you do?

a)

Configure Transaction Log Shipping.

b)

Implement Always On availability groups.

c)

Configure transactional replication.

d)

Import a BACPAC.

23.

You need to ensure that when a user connects to an Azure SQL logical server using Azure Data Studio, they can see all the databases. What should you do?

a)

Create the user in the master database.

b)

Assign the db_datareader role for the master database.

c)

Assign the db_datareader role for the databases the user creates.

d)

Grant SELECT on sys.databases to public in the master database.

24.

You want to encrypt a salary column in Azure SQL Database so that even DBAs can’t read the data. Which solution provides the most secure encryption?

a)

Transparent Data Encryption (TDE)

b)

Always Encrypted

c)

Dynamic data masking

d)

Row-level security

25.

You need to ensure that salespeople can view only their respective sales orders in Azure SQL Database. What should you implement?

a)

Row-level security

b)

Column-level encryption

c)

Always Encrypted

d)

Dynamic data masking

26.

You want to allow an application temporary access to Azure Data Lake Storage Gen2. Which solution should you use?

a)

Role assignments

b)

Account keys

c)

Shared access signatures (SAS)

d)

Azure Active Directory (Azure AD) identities

27.

You want to minimize disk latency for an Azure SQL managed instance. Which service tier should you use?

a)

Business Critical

b)

Hyperscale

c)

General Purpose

d)

Premium

28.

Which two objects should be used to ensure users from each company can view only their company’s data in Azure Synapse Analytics?

a)

Column encryption key

b)

Asymmetric keys

c)

Function

d)

Custom RBAC role

e)

Security policy

29.

You have a logical SQL server with two databases, db1 and db2, and an Azure AD service principal named app1. You need to ensure that app1 can access db1 with the least privilege. Which action should you take?

a)

Create a contained database user for app1 on db1

b)

Assign the db_owner role to app1 on db1

c)

Create a login for app1 on the logical server

d)

Assign the dbmanager role to app1

30.

You need to grant a SQL Server Agent job account the minimum necessary OS user right. Which should you assign?

a)

Increase scheduling priority

b)

Log on as a service

c)

Profile system performance

d)

Log on as a batch job

31.

You have an Azure SQL database and need to track every time values from a confidential column are returned in a query for 365 days. What should you do? (Choose 3.)

a)

Turn on auditing and write audit logs to an Azure Storage account

b)

Add extended properties to the column

c)

Turn on auditing and write audit logs to an Event Hub

d)

Apply sensitivity labels named Highly Confidential to the column

e)

Turn on Azure Defender for SQL