ExamGecko
Home Home / Microsoft / DP-300

Microsoft DP-300 Practice Test - Questions Answers

Question list
Search
Search

List of questions

Search

Related questions











DRAG DROP

You need to configure user authentication for the SERVER1 databases. The solution must meet the security and compliance requirements.

Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.


Question 1
Correct answer: Question 1

Explanation:

Scenario: Authenticate database users by using Active Directory credentials.

The configuration steps include the following procedures to configure and use Azure Active Directory authentication.

1. Create and populate Azure AD.

2. Optional: Associate or change the active directory that is currently associated with your Azure Subscription.

3. Create an Azure Active Directory administrator. (Step 1)

4. Connect to the databases using an Azure AD account (the Administrator account that was configured in the previous step). (Step 2)

5. Create contained database users in your database mapped to Azure AD identities. (Step 3)

Reference:

https://docs.microsoft.com/en-us/azure/azure-sql/database/authentication-aad-configure?tabs=azure-powershell

DRAG DROP

You create all of the tables and views for ResearchDB1.

You need to implement security for ResearchDB1. The solution must meet the security and compliance requirements.

Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.


Question 2
Correct answer: Question 2

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/azure-sql/database/always-encrypted-azure-key-vault-configure?tabs=azure-powershell

HOTSPOT

You need to implement the monitoring of SalesSQLDb1. The solution must meet the technical requirements.

How should you collect and stream metrics? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 3
Correct answer: Question 3

Explanation:

Box 1: The server, the elastic pool, and the database

Senario:

SalesSQLDb1 is in an elastic pool named SalesSQLDb1Pool.

Litware technical requirements include: all SQL Server and Azure SQL Database metrics related to CPU and storage usage and limits must be analyzed by using Azure built-in functionality. Box 2: Azure Event hubs

Scenario: Migrate ManufacturingSQLDb1 to the Azure virtual machine platform.

Event hubs are able to handle custom metrics.

Incorrect Answers:

Azure Log Analytics

Azure metric and log data are sent to Azure Monitor Logs, previously known as Azure Log Analytics, directly by Azure. Azure SQL Analytics is a cloud only monitoring solution supporting streaming of diagnostics telemetry for all of your Azure SQL databases.

However, because Azure SQL Analytics does not use agents to connect to Azure Monitor, it does not support monitoring of SQL Server hosted on-premises or in virtual machines.

You need to identify the cause of the performance issues on SalesSQLDb1.

Which two dynamic management views should you use? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

A.
sys.dm_pdw_nodes_tran_locks
A.
sys.dm_pdw_nodes_tran_locks
Answers
B.
sys.dm_exec_compute_node_errors
B.
sys.dm_exec_compute_node_errors
Answers
C.
sys.dm_exec_requests
C.
sys.dm_exec_requests
Answers
D.
sys.dm_cdc_errors
D.
sys.dm_cdc_errors
Answers
E.
sys.dm_pdw_nodes_os_wait_stats
E.
sys.dm_pdw_nodes_os_wait_stats
Answers
F.
sys.dm_tran_locks
F.
sys.dm_tran_locks
Answers
Suggested answer: A, E

Explanation:

SalesSQLDb1 experiences performance issues that are likely due to out-of-date statistics and frequent blocking queries.

A: Use sys.dm_pdw_nodes_tran_locks instead of sys.dm_tran_locks from Azure Synapse Analytics (SQL Data Warehouse) or Parallel Data Warehouse.

E: Example:

The following query will show blocking information.

SELECT

t1.resource_type,

t1.resource_database_id,

t1.resource_associated_entity_id,

t1.request_mode,

t1.request_session_id,

t2.blocking_session_id

FROM sys.dm_tran_locks as t1

INNER JOIN sys.dm_os_waiting_tasks as t2

ON t1.lock_owner_address = t2.resource_address;

Note: Depending on the system you’re working with you can access these wait statistics from one of three locations:

sys.dm_os_wait_stats: for SQL Server

sys.dm_db_wait_stats: for Azure SQL Database

sys.dm_pdw_nodes_os_wait_stats: for Azure SQL Data Warehouse

Incorrect Answers:

F: sys.dm_tran_locks returns information about currently active lock manager resources in SQL Server 2019 (15.x). Each row represents a currently active request to the lock manager for a lock that has been granted or is waiting to be granted.

Instead use sys.dm_pdw_nodes_tran_locks.

Reference:

https://docs.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-tran-locks-transact-sql

You need to implement authentication for ResearchDB1. The solution must meet the security and compliance requirements. What should you run as part of the implementation?

A.
CREATE LOGIN and the FROM WINDOWS clause
A.
CREATE LOGIN and the FROM WINDOWS clause
Answers
B.
CREATE USER and the FROM CERTIFICATE clause
B.
CREATE USER and the FROM CERTIFICATE clause
Answers
C.
CREATE USER and the FROM LOGIN clause
C.
CREATE USER and the FROM LOGIN clause
Answers
D.
CREATE USER and the ASYMMETRIC KEY clause
D.
CREATE USER and the ASYMMETRIC KEY clause
Answers
E.
CREATE USER and the FROM EXTERNAL PROVIDER clause
E.
CREATE USER and the FROM EXTERNAL PROVIDER clause
Answers
Suggested answer: E

Explanation:

Scenario: Authenticate database users by using Active Directory credentials.

(Create a new Azure SQL database named ResearchDB1 on a logical server named ResearchSrv01.)

Authenticate the user in SQL Database or SQL Data Warehouse based on an Azure Active Directory user:

CREATE USER [[email protected]] FROM EXTERNAL PROVIDER;

Reference:

https://docs.microsoft.com/en-us/sql/t-sql/statements/create-user-transact-sql

You need to implement a solution to notify the administrators. The solution must meet the monitoring requirements.

What should you do?

A.
Create an Azure Monitor alert rule that has a static threshold and assign the alert rule to an action group.
A.
Create an Azure Monitor alert rule that has a static threshold and assign the alert rule to an action group.
Answers
B.
Add a diagnostic setting that logs QueryStoreRuntimeStatistics and streams to an Azure event hub.
B.
Add a diagnostic setting that logs QueryStoreRuntimeStatistics and streams to an Azure event hub.
Answers
C.
Add a diagnostic setting that logs Timeouts and streams to an Azure event hub.
C.
Add a diagnostic setting that logs Timeouts and streams to an Azure event hub.
Answers
D.
Create an Azure Monitor alert rule that has a dynamic threshold and assign the alert rule to an action group.
D.
Create an Azure Monitor alert rule that has a dynamic threshold and assign the alert rule to an action group.
Answers
Suggested answer: D

Explanation:

Reference:

https://azure.microsoft.com/en-gb/blog/announcing-azure-monitor-aiops-alerts-with-dynamic-thresholds/

What should you do after a failover of SalesSQLDb1 to ensure that the database remains accessible to SalesSQLDb1App1?

A.
Configure SalesSQLDb1 as writable.
A.
Configure SalesSQLDb1 as writable.
Answers
B.
Update the connection strings of SalesSQLDb1App1.
B.
Update the connection strings of SalesSQLDb1App1.
Answers
C.
Update the firewall rules of SalesSQLDb1.
C.
Update the firewall rules of SalesSQLDb1.
Answers
D.
Update the users in SalesSQLDb1.
D.
Update the users in SalesSQLDb1.
Answers
Suggested answer: B

Explanation:


HOTSPOT

You need to recommend a configuration for ManufacturingSQLDb1 after the migration to Azure. The solution must meet the business requirements.

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.


Question 8
Correct answer: Question 8

Explanation:

Box 1: Node majority with witness

As a general rule when you configure a quorum, the voting elements in the cluster should be an odd number. Therefore, if the cluster contains an even number of voting nodes, you should configure a disk witness or a file share witness.

Note: Mode: Node majority with witness (disk or file share)

Nodes have votes. In addition, a quorum witness has a vote. The cluster quorum is the majority of voting nodes in the active cluster membership plus a witness vote. A quorum witness can be a designated disk witness or a designated file share witness.

Box 2: Azure Standard Load Balancer

Microsoft guarantees that a Load Balanced Endpoint using Azure Standard Load Balancer, serving two or more Healthy Virtual Machine Instances, will be available 99.99% of the time.

Scenario: Business Requirements

Litware identifies business requirements include: meet an SLA of 99.99% availability for all Azure deployments.

Incorrect Aswers:

Basic Balancer: No SLA is provided for Basic Load Balancer.

Note: There are two main options for setting up your listener: external (public) or internal. The external (public) listener uses an internet facing load balancer and is associated with a public Virtual IP (VIP) that is accessible over the internet. An internal listener uses an internal load balancer and only supports clients within the same Virtual Network.

Reference:

https://technet.microsoft.com/windows-server-docs/failover-clustering/deploy-cloud-witness

https://azure.microsoft.com/en-us/support/legal/sla/load-balancer/v1_0/

You need to provide an implementation plan to configure data retention for ResearchDB1. The solution must meet the security and compliance requirements.

What should you include in the plan?

A.
Configure the Deleted databases settings for ResearchSrv01.
A.
Configure the Deleted databases settings for ResearchSrv01.
Answers
B.
Deploy and configure an Azure Backup server.
B.
Deploy and configure an Azure Backup server.
Answers
C.
Configure the Advanced Data Security settings for ResearchDB1.
C.
Configure the Advanced Data Security settings for ResearchDB1.
Answers
D.
Configure the Manage Backups settings for ResearchSrv01.
D.
Configure the Manage Backups settings for ResearchSrv01.
Answers
Suggested answer: D

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/azure-sql/database/long-term-backup-retention-configure

What should you use to migrate the PostgreSQL database?

A.
Azure Data Box
A.
Azure Data Box
Answers
B.
AzCopy
B.
AzCopy
Answers
C.
Azure Database Migration Service
C.
Azure Database Migration Service
Answers
D.
Azure Site Recovery
D.
Azure Site Recovery
Answers
Suggested answer: C

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/dms/dms-overview

Total 338 questions
Go to page: of 34