Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

DP-300 practice questions: a secure environment

“Implement a secure environment” is about 23% of the DP-300 exam. Try a question below.

Ten free questions a day, no card. Full access to every exam is one pass: $29.99 a year.

The topics in this domain

Configure database authentication and authorizationConfigure Microsoft Entra ID authentication for Azure SQL Database, Azure SQL Managed Instance, and SQL ServerConfigure authentication for SQL on Azure VMs and Azure SQL Managed InstanceConfigure security principalsCreate users from Microsoft Entra identitiesConfigure database and object-level permissions using graphical toolsApply the principle of least privilege for all securablesTroubleshoot authentication and authorization issuesManage authentication and authorization by using T-SQLImplement security for data at rest and data in transitImplement transparent data encryption (TDE)Implement object-level encryptionConfigure server- and database-level firewall rulesImplement Always EncryptedImplement Always Encrypted with secure enclavesConfigure private links and service endpointsImplement compliance controls for sensitive dataApply a data classification strategyConfigure server and database auditsImplement change data trackingImplement dynamic data maskingImplement ledger in Azure SQLImplement row-level security

You can practise any single topic in the app.

Try one

You have two Azure virtual machines named SQL1 and SQL2 that run SQL Server 2022. A database named Sales belongs to an Always On availability group. SQL1 hosts the primary replica and SQL2 hosts a secondary replica.

The master database on each server has a database master key. On SQL1, the master database contains a certificate named TDECert that is protected by the database master key. TDE is not enabled on any database.

Requirements:

  • Encrypt the Sales database at rest by using TDE protected by TDECert.
  • SQL2 must continue to host a copy of Sales after encryption.
  • The encryption scan must not run during business hours.

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

Choose 3 answers.

  1. In the Sales database on SQL1, create a database encryption key encrypted by server certificate TDECert, and then set encryption on for Sales.
  2. Back up TDECert with its private key on SQL1, and create the certificate from that backup in the master database on SQL2.
  3. Run ALTER DATABASE Sales SET ENCRYPTION OFF when business hours start, and SET ENCRYPTION ON when they end.
  4. Run ALTER DATABASE Sales SET ENCRYPTION SUSPEND when business hours start, and SET ENCRYPTION RESUME when they end.
  5. In the master database on SQL1, create a database encryption key encrypted by server certificate TDECert.
  6. In the master database on SQL2, create a new certificate named TDECert that uses the same subject as the certificate on SQL1.
See answers explained in the sample test, no account

Ten questions a day gets you there.

Start free