You need to recommend a disaster recovery solution for an on-premises Microsoft SQL Server database. The solution must meet the following requirements:
1.
Support real-time data replication to a different geographic region.
2.
Use Azure as a disaster recovery target.
3.
Minimize costs and administrative effort. What should you include in the recommendation?
A. database mirroring on an instance of SQL Server on Azure Virtual Machines
B. availability groups for SQL Server on Azure Virtual Machines
C. an Azure SQL Managed Instance link
D. transactional replication to an Azure SQL Managed Instance
Correct Answer: D
Transactional replication is a feature of Azure SQL Managed Instance and SQL Server that enables you to replicate data from a table in Azure SQL Managed Instance or a SQL Server instance to tables placed on remote databases. This feature allows you to synchronize multiple tables in different databases.D
You can use transactional replication to push changes made in an Azure SQL Managed Instance to:
1.
A SQL Server database - on-premises or on Azure VM
2.
A database in Azure SQL Database
3.
An instance database in Azure SQL Managed Instance
Incorrect:
Not A: Operates within the same location.
Database mirroring is a solution for increasing the availability of a SQL Server database.
Database mirroring maintains two copies of a single database that must reside on different server instances of SQL Server Database Engine. Typically, these server instances reside on computers in different locations.
Not B: Always On availability group on SQL Server on Azure VMs - only within a single region
Always On availability groups on Azure Virtual Machines are similar to Always On availability groups on-premises, and rely on the underlying Windows Server Failover Cluster.
VM redundancy
To increase redundancy and high availability, SQL Server VMs should either be in the same availability set, or different availability zones.
Placing a set of VMs in the same availability set protects from outages within a data center caused by equipment failure (VMs within an Availability Set do not share resources) or from updates (VMs within an availability set are not updated at
the same time).
Availability Zones protect against the failure of an entire data center, with each Zone representing a set of data centers within a region.
You have a single availability set that contains two SQL Server on Azure Virtual Machines instances.
The instances were deployed by using an Azure Marketplace SQL Server 2019 Enterprise image that has the latest cumulative updates applied. The instances are configured as the nodes of a failover cluster instance (FCI) named FCI1.
You need to ensure that client applications can connect to FCI1. The solution must meet the following requirements:
1.
Provide an availability SLA
2.
Minimize costs. What should you create?
A. an Azure Standard Load Balancer
B. a virtual network name (VNN) resource
C. a Basic Azure Load Balancer
D. a distributed network name (DNN) resource
Correct Answer: D
Deploying your VMs to a single subnet requires an additional dependency on an Azure Load Balancer or distributed network name (DNN) to route traffic to your FCI.
With a DNN, the cluster name object (CNO) is automatically registered with the IP addresses for all the nodes of the cluster, eliminating the need for a dedicated windows cluster IP address.
By using DNN, you don't need an Azure Load Balancer, and can simply use the same method you’ve been using on-premises for automated failover.
You have an on-premises Microsoft SQL Server 2019 instance named SQL1 that hosts a database named db1. You have an Azure subscription that contains an Azure SQL managed instance named MI1 and an Azure Storage account named storage1.
You plan to migrate db1 to MI1 by using the backup and restore process.
You need to ensure that you can back up db1 to storage1. The solution must meet the following requirements:
1.
Use block blob storage.
2.
Maximize security.
What should you do on storage1?
A. Generate a shared access signature (SAS)
B. Enable infrastructure encryption.
C. Create an access policy.
D. Rotate the storage keys
Correct Answer: A
Question 57:
You manage 100 Azure SQL managed instances located across 10 Azure regions.
You need to receive voice message notifications when a maintenance event affects any of the 10 regions.
The solution must minimize administrative effort.
What should you do?
A. From the Azure portal, create a service health alert.
B. From the Azure portal, create an Azure Advisor operational excellence alert.
C. From Microsoft SQL Server Management Studio (SSMS), configure a SQL Server agent job.
D. From the Azure portal, configure an activity log alert.
Correct Answer: C
Question 58:
You have an Azure SQL database named DBI that contains a nonclustered index named index1.
End users report slow queries when they use index1.
You need to identify the operations that are being performed on the index.
Which dynamic management view should you use?
A. Sys.dm_exec_query_plan_stats
B. Sys.dm_db_index_physical_stats
C. Sys.dm_db_index_operational_stats
D. Sys.dm_db_index_useage_stats
Correct Answer: D
Sys.dm_db_index_useage_stats
Returns counts of different types of index operations and the time each type of operation was last performed.
Every individual seek, scan, lookup, or update on the specified index by one query execution is counted as a use of that index and increments the corresponding counter in this view. Information is reported both for operations caused by user-
submitted queries, and for operations caused by internally generated queries, such as scans for gathering statistics.
Incorrect:
* Sys.dm_db_index_operational_stats
Returns current lower-level I/O, locking, latching, and access method activity for each partition of a table or index in the database.
You need to configure the SQL Server Agent service to email job notifications.
Which statement should you execute?
A. EXECUTE msdb.dbo.sysmail_add_profile_sp @profile_name = ‘sysadmin_dbmail_profile’;
B. EXECUTE msdb.dbo.sysmail_add_profile_sp @profile_name = ‘application_dbmail_profile’;
C. EXECUTE msdb.dbo.sysmail_add_profile_sp @profile_name = ‘AzureManagedInstance_dbmail_profile’;
D. EXECUTE msdb.dbo.sysmail_add_profile_sp @profile_name = ‘sys_dbmail_profile’;
Correct Answer: C
-- Create a Database Mail profile
EXECUTE msdb.dbo.sysmail_add_profile_sp @profile_name = 'AzureManagedInstance_dbmail_profile', @description = 'E-mail profile used for messages sent by Managed Instance SQL Agent.';
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your DP-300 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.