ExamGecko
Home / Microsoft / DP-300 / List of questions
Ask Question

Microsoft DP-300 Practice Test - Questions Answers, Page 13

List of questions

Question 121

Report
Export
Collapse

HOTSPOT

You plan to migrate on-premises Microsoft SQL Server databases to Azure.

You need to identify which deployment and resiliency options meet the following requirements:

Support user-initiated backups.

Support multiple automatically replicated instances across Azure regions.

Minimize administrative effort to implement and maintain business continuity.

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

NOTE: Each correct selection is worth one point.


Microsoft DP-300 image Question 121 89965 10022024015907000
Correct answer: Microsoft DP-300 image answer Question 121 89965 10022024015907000

Explanation:

Box 1: SQL Server on Azure VMs

SQL Server on Azure Virtual Machines can take advantage of Automated Backup, which regularly creates backups of your database to blob storage. You can also manually use this technique.

Box 2: Active geo-replication

Geo-replication for services such as Azure SQL Database and Cosmos DB will create secondary replicas of your data across multiple regions. While both services will automatically replicate data within the same region, geo-replication protects you against a regional outage by enabling you to fail over to a secondary region.

Reference:

https://docs.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/sql-server-on-azure-vm-iaas-what-is-overview

https://docs.microsoft.com/en-us/dotnet/architecture/cloud-native/infrastructure-resiliency-azure

asked 02/10/2024
Alfred Macaraeg
44 questions

Question 122

Report
Export
Collapse

You need to design a data retention solution for the Twitter feed data records. The solution must meet the customer sentiment analytics requirements.

Which Azure Storage functionality should you include in the solution?

time-based retention
time-based retention
change feed
change feed
lifecycle management
lifecycle management
soft delete
soft delete
Suggested answer: C

Explanation:

The lifecycle management policy lets you:

Delete blobs, blob versions, and blob snapshots at the end of their lifecycles

Scenario:

Purge Twitter feed data records that are older than two years.

Store Twitter feeds in Azure Storage by using Event Hubs Capture. The feeds will be converted into Parquet files. Minimize administrative effort to maintain the Twitter feed data records.

Incorrect Answers:

A: Time-based retention policy support: Users can set policies to store data for a specified interval. When a time-based retention policy is set, blobs can be created and read, but not modified or deleted. After the retention period has expired, blobs can be deleted but not overwritten.

Reference:

https://docs.microsoft.com/en-us/azure/storage/blobs/storage-lifecycle-management-concepts

asked 02/10/2024
Melissa Petrini
29 questions

Question 123

Report
Export
Collapse

You need to implement the surrogate key for the retail store table. The solution must meet the sales transaction dataset requirements.

What should you create?

a table that has a FOREIGN KEY constraint
a table that has a FOREIGN KEY constraint
a table the has an IDENTITY property
a table the has an IDENTITY property
a user-defined SEQUENCE object
a user-defined SEQUENCE object
a system-versioned temporal table
a system-versioned temporal table
Suggested answer: B

Explanation:

Scenario: Contoso requirements for the sales transaction dataset include:

Implement a surrogate key to account for changes to the retail store addresses.

A surrogate key on a table is a column with a unique identifier for each row. The key is not generated from the table data. Data modelers like to create surrogate keys on their tables when they design data warehouse models. You can use the IDENTITY property to achieve this goal simply and effectively without affecting load performance.

Reference:

https://docs.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/sql-data-warehouse-tables-identity

asked 02/10/2024
Penny Chang
47 questions

Question 124

Report
Export
Collapse

HOTSPOT

You need to design an analytical storage solution for the transactional data. The solution must meet the sales transaction dataset requirements.

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

NOTE: Each correct selection is worth one point.


Microsoft DP-300 image Question 124 89792 10022024015907000
Correct answer: Microsoft DP-300 image answer Question 124 89792 10022024015907000

Explanation:

Box 1: Hash

Scenario:

Ensure that queries joining and filtering sales transaction records based on product ID complete as quickly as possible.

A hash distributed table can deliver the highest query performance for joins and aggregations on large tables.

Box 2: Round-robin

Scenario:

You plan to create a promotional table that will contain a promotion ID. The promotion ID will be associated to a specific product. The product will be identified by a product ID. The table will be approximately 5 GB.

A round-robin table is the most straightforward table to create and delivers fast performance when used as a staging table for loads. These are some scenarios where you should choose Round robin distribution:

When you cannot identify a single key to distribute your data.

If your data doesn’t frequently join with data from other tables.

When there are no obvious keys to join.

Incorrect Answers:

Replicated: Replicated tables eliminate the need to transfer data across compute nodes by replicating a full copy of the data of the specified table to each compute node. The best candidates for replicated tables are tables with sizes less than 2 GB compressed and small dimension tables.

Reference:

https://rajanieshkaushikk.com/2020/09/09/how-to-choose-right-data-distribution-strategy-for-azure-synapse/

asked 02/10/2024
Aubrey Oliver Jr
36 questions

Question 125

Report
Export
Collapse

You have SQL Server on an Azure virtual machine that contains a database named DB1. DB1 contains a table named CustomerPII. You need to record whenever users query the CustomerPII table.

Which two options should you enable? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

server audit specification
server audit specification
SQL Server audit
SQL Server audit
database audit specification
database audit specification
a server principal
a server principal
Suggested answer: A, C

Explanation:

An auditing policy can be defined for a specific database or as a default server policy in Azure (which hosts SQL Database or Azure Synapse):

A server policy applies to all existing and newly created databases on the server.

If server auditing is enabled, it always applies to the database. The database will be audited, regardless of the database auditing settings. Enabling auditing on the database, in addition to enabling it on the server, does not override or change any of the settings of the server auditing. Both audits will exist side by side.

Note:

The Server Audit Specification object belongs to an audit.

A Database Audit Specification defines which Audit Action Groups will be audited for the specific database in which the specification is created.

Reference:

https://docs.microsoft.com/en-us/azure/azure-sql/database/auditing-overview

asked 02/10/2024
Corey Workman
35 questions

Question 126

Report
Export
Collapse

You have an Azure virtual machine based on a custom image named VM1.

VM1 hosts an instance of Microsoft SQL Server 2019 Standard.

You need to automate the maintenance of VM1 to meet the following requirements:

Automate the patching of SQL Server and Windows Server.

Automate full database backups and transaction log backups of the databases on VM1.

Minimize administrative effort.

What should you do first?

Enable a system-assigned managed identity for VM1
Enable a system-assigned managed identity for VM1
Register VM1 to the Microsoft.Sql resource provider
Register VM1 to the Microsoft.Sql resource provider
Install an Azure virtual machine Desired State Configuration (DSC) extension on VM1
Install an Azure virtual machine Desired State Configuration (DSC) extension on VM1
Register VM1 to the Microsoft.SqlVirtualMachine resource provider
Register VM1 to the Microsoft.SqlVirtualMachine resource provider
Suggested answer: D

Explanation:


Reference: https://docs.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/sql-server-iaas-agent-extension-automate-management

asked 02/10/2024
Alper Atar
43 questions

Question 127

Report
Export
Collapse

You receive numerous alerts from Azure Monitor for an Azure SQL database.

You need to reduce the number of alerts. You must only receive alerts if there is a significant change in usage patterns for an extended period. Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Set Threshold Sensitivity to High
Set Threshold Sensitivity to High
Set the Alert logic threshold to Dynamic
Set the Alert logic threshold to Dynamic
Set the Alert logic threshold to Static
Set the Alert logic threshold to Static
Set Threshold Sensitivity to Low
Set Threshold Sensitivity to Low
Set Force Plan to On
Set Force Plan to On
Suggested answer: B, D

Explanation:

B: Dynamic Thresholds continuously learns the data of the metric series and tries to model it using a set of algorithms and methods. It detects patterns in the data such as seasonality (Hourly / Daily / Weekly), and is able to handle noisy metrics (such as machine CPU or memory) as well as metrics with low dispersion (such as availability and error rate). D: Alert threshold sensitivity is a high-level concept that controls the amount of deviation from metric behavior required to trigger an alert. Low - The thresholds will be loose with more distance from metric series pattern. An alert rule will only trigger on large deviations, resulting in fewer alerts. Incorrect Answers:

A: High - The thresholds will be tight and close to the metric series pattern. An alert rule will be triggered on the smallest deviation, resulting in more alerts.

Reference: https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-dynamic-thresholds

asked 02/10/2024
Ricardo de Sá Carvalho
38 questions

Question 128

Report
Export
Collapse

You have an Azure SQL database named sqldb1.

You need to minimize the amount of space by the data and log files of sqldb1.

What should you run?

DBCC SHRINKDATABASE
DBCC SHRINKDATABASE
sp_clean_db_free_space
sp_clean_db_free_space
sp_clean_db_file_free_space
sp_clean_db_file_free_space
DBCC SHRINKFILE
DBCC SHRINKFILE
Suggested answer: D

Explanation:

DBCC SHRINKDATABASE shrinks the size of the data and log files in the specified database.

Incorrect Answers:

D: To shrink one data or log file at a time for a specific database, execute the DBCC SHRINKFILE command.

Reference: https://docs.microsoft.com/en-us/sql/t-sql/database-console-commands/dbcc-shrinkdatabase-transact-sql

asked 02/10/2024
Evelina Turco
34 questions

Question 129

Report
Export
Collapse

You have an Azure SQL Database server named sqlsrv1 that hosts 10 Azure SQL databases.

The databases perform slower than expected.

You need to identify whether the performance issue relates to the use of tempdb by Azure SQL databases on sqlsrv1. What should you do?

Run Query Store-based queries
Run Query Store-based queries
Review information provided by SQL Server Profiler-based traces
Review information provided by SQL Server Profiler-based traces
Review information provided by Query Performance Insight
Review information provided by Query Performance Insight
Run dynamic management view-based queries
Run dynamic management view-based queries
Suggested answer: C
asked 02/10/2024
Valerio Pietrantoni
44 questions

Question 130

Report
Export
Collapse

You have an Azure SQL database named sqldb1.

You need to minimize the possibility of Query Store transitioning to a read-only state.

What should you do?

Halve the value of Data Flush Interval.
Halve the value of Data Flush Interval.
Double the value of Statistics Collection Interval.
Double the value of Statistics Collection Interval.
Halve the value of Statistics Collection Interval
Halve the value of Statistics Collection Interval
Double the value of Data Flush Interval.
Double the value of Data Flush Interval.
Suggested answer: B

Explanation:


asked 02/10/2024
David Brun
36 questions
Total 342 questions
Go to page: of 35
Search

Related questions