DP-300 Exam Question 71

You have 40 Azure SQL databases, each for a different customer. All the databases reside on the same Azure SQL Database server.
You need to ensure that each customer can only connect to and access their respective database.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
  • DP-300 Exam Question 72

    Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
    After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
    You have the on-premises networks shown in the following table.

    You have an Azure subscription that contains an Azure SQL Database server named SQL1.
    SQL1 contains two databases named DB1 and DB2.
    You need to configure access to DB1 and DB2. The solution must meet the following requirements:
    - Ensure that DB1 can be accessed only by users in Branch1.
    - Ensure that DB2 can be accessed only by users in Branch2.
    Solution: You connect to DB1 and run the following command.
    EXECUTE sp_set_firewall_rule 'Allow db1 users', '131.107.10.0',
    '131.107.10.255'
    You connect to DB2 and run the following command.
    EXECUTE sp_set_database_firewall_rule 'Allow db2 users',
    '131.107.11.0', '131.107.11.255'
    Does this meet the goal?
  • DP-300 Exam Question 73

    Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
    After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
    You have SQL Server 2019 on an Azure virtual machine.
    You are troubleshooting performance issues for a query in a SQL Server instance.
    To gather more information, you query sys.dm_exec_requests and discover that the wait type is PAGELATCH_UP and the wait_resource is 2:3:905856.
    You need to improve system performance.
    Solution: You shrink the transaction log file.
    Does this meet the goal?
  • DP-300 Exam Question 74

    Hotspot Question
    You have an Azure SQL database named db1 that contains an Azure Active Directory (Azure AD) user named user1.
    You need to test impersonation of user1 in db1 by running a SELECT statement and returning to the original execution context.
    How should you complete the Transact-SQL statement? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.

    DP-300 Exam Question 75

    Drag and Drop Question
    You have SQL Server on an Azure virtual machine.
    You need to use Policy-Based Management in Microsoft SQL Server to identify stored procedures that do not comply with your naming conventions.
    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.