ExamGecko
Home Home / Microsoft / DP-300

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

Question list
Search
Search

List of questions

Search

Related questions











HOTSPOT

You have an Azure subscription that contains a group named Group1 and an Azure SQL managed instance that hosts a database named 081. You need to ensure that Group 1 has read access to new tables created m 06I The solution must use the principle of least privilege How should you complete the Transact-SQL statement' To answer, select the appropriate options in the answer are a. NOTE: Each correct selection is worth one point.


Question 251
Correct answer: Question 251

You have an Azure SQL database named DB1.

A user named User 1 has an Azure AD account.

You need to provide User1 with the ability to add and remove columns from the tables m DBV The solution must use the principle of least privilege.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point

A.
Assign the database user the db.ddladmm role.
A.
Assign the database user the db.ddladmm role.
Answers
B.
Assign the database user the db.owner role.
B.
Assign the database user the db.owner role.
Answers
C.
Create a contained database user.
C.
Create a contained database user.
Answers
D.
Create a login and an associated database user.
D.
Create a login and an associated database user.
Answers
Suggested answer: A, D

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 need to ensure that you can back up db1 to storage1. The solution must meet the following requirements:

* Use block blob storage.

* Maximize security.

A.
Generate a shared access signature (SAS)
A.
Generate a shared access signature (SAS)
Answers
B.
Enable infrastructure encryption.
B.
Enable infrastructure encryption.
Answers
C.
Create an access policy.
C.
Create an access policy.
Answers
D.
Rotate the storage keys
D.
Rotate the storage keys
Answers
Suggested answer: B

You have an Azure AD tenant and a logical Microsoft SQL server named SQL1 that hosts several Azure SQL databases. You plan to assign Azure AD users permissions to the databases automatically by using Azure Automation. You need to create the required Automation accounts.

Which two accounts should you create? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A.
From the Azure Active Directory admin center, create a service principal.
A.
From the Azure Active Directory admin center, create a service principal.
Answers
B.
From the Azure Active Directory admin center, create a user-assigned managed identity for SQL1.
B.
From the Azure Active Directory admin center, create a user-assigned managed identity for SQL1.
Answers
C.
On SQL1. create a SQL user in the databases.
C.
On SQL1. create a SQL user in the databases.
Answers
D.
On SQL1, create a SQL login.
D.
On SQL1, create a SQL login.
Answers
E.
From the Azure Active Directory admin center, create an external identity.
E.
From the Azure Active Directory admin center, create an external identity.
Answers
Suggested answer: A, C

You have an Azure SQL database named DB1.

You need to encrypt DB1. The solution must meet the following requirements;

- Encrypt data in motion.

- Support comparison operators.

- Provide randomized encryption.

What should you include in the solution?

A.
Always Encrypted
A.
Always Encrypted
Answers
B.
column-level encryption
B.
column-level encryption
Answers
C.
Transparent Data Encryption (TDE)
C.
Transparent Data Encryption (TDE)
Answers
D.
Always Encrypted with secure enclaves
D.
Always Encrypted with secure enclaves
Answers
Suggested answer: A

You have a SQL Server on Azure Virtual Machines instance named SQLVM1 that was deployed by using an Azure Marketplace SQL Server 2019 Enterprise image. You need to change the Microsoft SQL Server instance on SQLVM1 to the Standard edition. The solution must ensure licensing compliance. What should you do first?

A.
From the SQL Server Installation Center on SQLVM1. run the Edition Upgrade wizard.
A.
From the SQL Server Installation Center on SQLVM1. run the Edition Upgrade wizard.
Answers
B.
From SQLVM1, uninstall the SQL Server instance.
B.
From SQLVM1, uninstall the SQL Server instance.
Answers
C.
From the SQL Server Installation Center on SQLVM1. run the Repair wizard.
C.
From the SQL Server Installation Center on SQLVM1. run the Repair wizard.
Answers
D.
From the Azure portal, reconfigure SQLVM1.
D.
From the Azure portal, reconfigure SQLVM1.
Answers
Suggested answer: B

You have a Microsoft SQL Server 2019 instance in an on-premises datacenter. The instance contains a 4-TB database named DB1. 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.
database mirroring
A.
database mirroring
Answers
B.
distributed availability groups
B.
distributed availability groups
Answers
C.
Always On Availability Group
C.
Always On Availability Group
Answers
D.
Azure Database Migration Service
D.
Azure Database Migration Service
Answers
Suggested answer: D

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?

A.
the Business Critical service tier
A.
the Business Critical service tier
Answers
B.
the serverless compute tier
B.
the serverless compute tier
Answers
C.
an elastic pool
C.
an elastic pool
Answers
D.
the General Purpose service tier
D.
the General Purpose service tier
Answers
Suggested answer: B

You need to recommend a disaster recovery solution for an on-premises Microsoft SQL Server database. The solution must meet the following requirements:

- Support real-time data replication to a different geographic region.

- Use Azure as a disaster recovery target.

- 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
A.
database mirroring on an instance of SQL Server on Azure Virtual Machines
Answers
B.
availability groups for SQL Server on Azure Virtual Machines
B.
availability groups for SQL Server on Azure Virtual Machines
Answers
C.
an Azure SQL Managed Instance link
C.
an Azure SQL Managed Instance link
Answers
D.
transactional replication to an Azure SQL Managed Instance
D.
transactional replication to an Azure SQL Managed Instance
Answers
Suggested answer: D

You have a Microsoft SQL Server 2019 database named DB1 and an Azure SQL managed instance named SQLMI1. You need to move a SQL Server Agent job from DB1 to SQLMI1. Which job attribute is unsupported in SQLMI1?

A.
log to table
A.
log to table
Answers
B.
email notifications
B.
email notifications
Answers
C.
schedules
C.
schedules
Answers
D.
output files
D.
output files
Answers
Suggested answer: D
Total 338 questions
Go to page: of 34