Real 70-765 Exam Questions and Answers 2019

Cause all that matters here is passing exam with . Cause all that you need is a high score of . The only one thing you need to do is downloading free now. We will not let you down with our money-back guarantee.

Check 70-765 free dumps before getting the full version:

NEW QUESTION 1
You administer a Microsoft SQL Server 2014 database named Orders. Orders contains a table named OrderShip that is defined as follows:
70-765 dumps exhibit
A NULL value represents a domestic order. Ninety percent of the values in CountryCode are NULL. Customers require a procedure that will return orders for all customers from a specified country. You create a new procedure:
70-765 dumps exhibit
Performance on this procedure is slow.
You need to alter the schema to optimize this query. Objects created must use a minimum amount of resources.
Which Transact-SQL statement should you use?

  • A. CREATE NONCLUSTERED INDEX IX_CountryCode ON Ordership (CountryCode) WHERE CountryCode IS NOT NULL
  • B. CREATE STATISTICS ST_CountryCode ON OrderShip (CountryCode) WHERE CountryCodeIS NOT NULL
  • C. CREATE CLUSTERED INDEX IX_CountryCode ON OrderShip (CountryCode)
  • D. CREATE INDEX IX_CountryCode ON OrderShip (CustomerID) WHERE CountryCode IS NOT NULL

Answer: B

Explanation: Here creating statistics is relevant. The CREATE STATISTICS command creates query optimization statistics on one or more columns of a table, an indexed view, or an external table. For most queries, the query optimizer already generates the necessary statistics for a high-quality query plan; in a few cases, you need to create additional statistics with CREATE STATISTICS or modify the query design to improve query performance.
References: https://docs.microsoft.com/en-us/sql/t-sql/statements/create-statistics-transact-sql

NEW QUESTION 2
You administer a Microsoft SQL Server 2014 database named Contoso on a server named Server01.
You need to diagnose deadlocks that happen when executing a specific set of stored procedures by recording events and playing them back on a different test server.
What should you create?

  • A. A Database Audit Specification
  • B. A Policy
  • C. An Alert
  • D. A SQL Profiler Trace
  • E. A Resource Pool
  • F. An Extended Event session
  • G. A Server Audit Specification

Answer: D

Explanation: Use SQL Server Profiler to identify the cause of a deadlock. A deadlock occurs when there is a cyclic dependency between two or more threads, or processes, for some set of resources within SQL Server. Using SQL Server Profiler, you can create a trace that records, replays, and displays deadlock events for analysis.
References:
http://msdn.microsoft.com/en-us/library/ms188246.aspx

NEW QUESTION 3
You administer a Microsoft SQL Server 2014 environment. One of the SQL Server 2014 instances contains a database named Sales.
You plan to migrate Sales to Windows Azure SQL Database. To do so, you need to implement a contained database.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

  • A. Set database containment to AZURE.
  • B. Enable server property contained database authentication.
  • C. Disable server property cross db ownership chaining.
  • D. Set database containment to PARTIAL.
  • E. Disable server property contained database authentication.
  • F. database containment to FULL.

Answer: BD

Explanation: A contained database is a database that is isolated from other databases and from the instance of SQL Server that hosts the database.
B: In the contained database user model, the login in the master database is not present. Instead, the authentication process occurs at the user database, and the database user in the user database does not have an associated login in the master database.
SQL Database and SQL Data Warehouse support Azure Active Directory identities as contained database users.
D: The contained database feature is currently available only in a partially contained state. A partially contained database is a contained database that allows the use of uncontained features.
References: https://docs.microsoft.com/en-us/sql/relational-databases/databases/contained-databases

NEW QUESTION 4
You plan to deploy two new Microsoft Azure SQL Database instances. Once instance will support a data entry application. The other instance will support the company’s business intelligence efforts. The databases will be accessed by mobile applications from public IP addresses.
You need to ensure that the database instances meet the following requirements:
The database administration team must receive alerts for any suspicious activity in the data entry database, including potential SQL injection attacks.
Executives around the world must have access to the business intelligence application.
Sensitive data must never be transmitted. Sensitive data must not be stored in plain text in the database. In the table below, identify the feature that you must implement for each database.
NOTE: Make only one selection in each column. Each correct selection is work one point.
70-765 dumps exhibit

    Answer:

    Explanation: Data entry: Threat Detection
    SQL Threat Detection provides a new layer of security, which enables customers to detect and respond to potential threats as they occur by providing security alerts on anomalous activities. Users receive an alert upon suspicious database activities, potential vulnerabilities, and SQL injection attacks, as well as anomalous database access patterns.
    Business intelligence: Dynamic Data Masking
    Dynamic data masking limits (DDM) sensitive data exposure by masking it to non-privileged users. It can be used to greatly simplify the design and coding of security in your application.
    References:
    https://docs.microsoft.com/en-us/azure/sql-database/sql-database-threat-detection https://docs.microsoft.com/en-us/sql/relational-databases/security/dynamic-data-masking

    NEW QUESTION 5
    You administer a Windows 2008 server hosting an instance of Microsoft SQL Server 2014 Standard Edition. The server hosts a database named Orders.
    Users report that a query that filters on OrderDate is taking an exceptionally long time. You discover that an index named IX_OrderDate on the CustomerOrder table is heavily fragmenteD.
    You need to improve the performance of the IX_OrderDate index. The index should remain online during the operation.
    Which Transact-SQL command should you use?

    • A. ALTER INDEX IX_OrderDateON CustomerOrder DISABLE
    • B. ALTER INDEX IX_OrderDateON CustomerOrder ENABLE
    • C. ALTER INDEX IX_OrderDateON CustomerOrder REORGANIZE
    • D. ALTER INDEX IX OrderDateON CustomerOrder REBUILD

    Answer: C

    Explanation: Reorganize: This option is more lightweight compared to rebuild. It runs through the leaf level of the index, and as it goes it fixes physical ordering of pages and also compacts pages to apply any previously set fillfactor settings. This operation is always online, and if you cancel it then it’s able to just stop where it is (it doesn’t have a giant operation to rollback).
    References:https://www.brentozar.com/archive/2013/09/index-maintenance-sql-server-rebuild-reorganize/

    NEW QUESTION 6
    Settings Value VM size D3
    Storage Location Drive E Storage type Standard Tempdb location Drive C
    The workload on this instance has of the tembdb load.
    You need to maximize the performance of the tempdb database.
    Solution: You use a D- Series VM and store the tempdb database on drive D. Does this meet the goal?

    • A. Yes
    • B. No

    Answer: A

    Explanation: For D-series, Dv2-series, and G-series VMs, the temporary drive on these VMs is SSD-based. If your workload makes heavy use of TempDB (such as temporary objects or complex joins), storing TempDB on the D drive could result in higher TempDB throughput and lower TempDB latency.
    References:
    https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sql/virtual-machines-windows-sql-performan

    NEW QUESTION 7
    You administer a Microsoft SQL Server 2014 instance. After a routine shutdown, the drive that contains tempdb fails.
    You need to be able to start the SQL Server. What should you do?

    • A. Modify tempdb location in startup parameters.
    • B. Start SQL Server in minimal configuration mode.
    • C. Start SQL Server in single-user mode.
    • D. Configure SQL Server to bypass Windows application logging.

    Answer: B

    Explanation: If you have configuration problems that prevent the server from starting, you can start an instance of Microsoft SQL Server by using the minimal configuration startup option.
    When you start an instance of SQL Server in minimal configuration mode, note the following: Only a single user can connect, and the CHECKPOINT process is not executed.
    Remote access and read-ahead are disabled. Startup stored procedures do not run.
    tempdb is configured at the smallest possible size.
    References:
    https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/start-sql-server-with-minimal-configur

    NEW QUESTION 8
    You administer a Microsoft SQL Server 2014 database instance.
    You plan to migrate the database to Windows Azure SQL Database. You verify that all objects contained in the database are compatible with Windows Azure SQL Database.
    You need to ensure that database users and required server logins are migrated to Windows Azure SQL Database.
    What should you do?

    • A. Use the copy database wizard
    • B. Use the Database Transfer wizard
    • C. Use SQL Server Management Studio to deploy the database to Windows Azure SQL Database
    • D. Backup the database from the local server and restore it to Windows Azure SQL Database

    Answer: C

    Explanation: You would need to use either the SQL Server Management Studio or Transact-SQL.
    References: https://docs.microsoft.com/en-us/azure/sql-database/sql-database-cloud-migrate

    NEW QUESTION 9
    You deploy a new Microsoft Azure SQL database instance to support a variety of mobile application and public websites. You configure geo-replication with regions in Brazil and Japan.
    You need to implement real-time encryption of the database and all backups.
    Solution: You use the always Encrypted wizard to encrypt all possible for the tables in the primary instance. Does the solution meet the goal?

    • A. Yes
    • B. No

    Answer: B

    Explanation: Always Encrypted does not support geo replication. Transparent Data Encryption (TDE) would provide a solution.
    Note: Use the Always Encrypted Wizard to help protect sensitive data stored in a SQL Server database. Always Encrypted allows clients to encrypt sensitive data inside client applications and never reveal the encryption keys to SQL Server.
    References:
    https://azure.microsoft.com/en-us/blog/how-to-configure-azure-sql-database-geo-dr-with-azure-key-vault/
    http://blog.pragmaticworks.com/sql-server-2016-data-masking-and-always-encrypted

    NEW QUESTION 10
    You administer a Microsoft SQL Server 2014 instance that contains a financial database hosted on a storage area network (SAN).
    The financial database has the following characteristics:
    The database is continually modified by users during business hours from Monday through Friday between 09:00 hours and 17:00 hours. Five percent of the existing data is modified each day.
    The Finance department loads large CSV files into a number of tables each business day at 11:15 hours and 15:15 hours by using the BCP or BULK INSERT commands. Each data load adds 3 GB of data to the database.
    These data load operations must occur in the minimum amount of time.
    A full database backup is performed every Sunday at 10:00 hours. Backup operations will be performed every two hours (11:00, 13:00, 15:00, and 17:00) during business hours.
    You need to ensure that the minimum amount of data is lost. Which recovery model should the database use?

    • A. NORECOVERY
    • B. FULL
    • C. NO_CHECKSUM
    • D. CHECKSUM
    • E. Differential
    • F. BULK_LOGGED
    • G. STANDBY
    • H. RESTART
    • I. SKIP
    • J. Transaction log
    • K. DBO ONLY
    • L. COPY_ONLY
    • M. SIMPLE
    • N. CONTINUE AFTER ERROR

    Answer: B

    Explanation: The full recovery model requires log backups. No work is lost due to a lost or damaged data file. Can recover to a specific point in time, assuming that your backups are complete up to that point in time.

    NEW QUESTION 11
    A company uses several Microsoft Azure elastic pools with Azure SQL Database instances.
    You have two pools named Pool1 and Pool2. Pool2 is near maximum capacity and cannot accommodate the database move.
    You need to move the database from Pool1 to Pool2.
    Which PowerShell cmdlets should you run? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
    70-765 dumps exhibit

      Answer:

      Explanation: References:
      https://docs.microsoft.com/en-us/powershell/module/azurerm.sql/set-azurermsqlelasticpool?view=azurermps-6.1 https://docs.microsoft.com/en-us/powershell/module/azurerm.sql/set-azurermsqldatabase?view=azurermps-6.12.

      NEW QUESTION 12
      HOTSPOT
      You need to resolve the identified issues.
      Use the drop-down menus to select the answer choice that answers each question based on the information presented in the graphic.
      70-765 dumps exhibit

        Answer:

        Explanation: From exhibit we see:
        Cost Threshold of Parallelism: 5 Optimize for Ad Hoc Workloads: false
        Max Degree of Parallelism: 0 (This is the default setting, which enables the server to determine the maximum degree of parallelism. It is fine.)
        Locks: 0
        Query Wait: -1
        Box 1: Optimize for Ad Hoc Workload
        Change the Optimize for Ad Hoc Workload setting from false to 1/True.
        The optimize for ad hoc workloads option is used to improve the efficiency of the plan cache for workloads that contain many single use ad hoc batches. When this option is set to 1, the Database Engine stores a small compiled plan stub in the plan cache when a batch is compiled for the first time, instead of the full compiled plan. This helps to relieve memory pressure by not allowing the plan cache to become filled with compiled plans that are not reused.

        NEW QUESTION 13
        You use Microsoft SQL Server 2014 to develop a database application. You need to create an object that meets the following requirements:
        Which object should you use?

        • A. Scalar-valued function
        • B. Inline function
        • C. User-defined data type
        • D. Stored procedure

        Answer: D

        Explanation: Stored procedures accept input parameters and return multiple values in the form of output parameters to the calling program. They cannot be used in views.
        References:https://docs.microsoft.com/en-us/sql/relational-databases/stored-procedures/stored-procedures-datab

        NEW QUESTION 14
        Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution. Determine whether the solution meets stated goals.
        You have a mission-critical application that stores data in a Microsoft SQL Server instance. The application runs several financial reports. The reports use a SQL Server-authenticated login named Reporting_User. All queries that write data to the database use Windows authentication.
        Users report that the queries used to provide data for the financial reports take a long time to complete. The queries consume the majority of CPU and memory resources on the database server. As a result, read-write queries for the application also take a long time to complete.
        You need to improve performance of the application while still allowing the report queries to finish.
        Solution: You create a snapshot of the database. You configure all report queries to use the database snapshot.
        Does the solution meet the goal?

        • A. Yes
        • B. No

        Answer: B

        Explanation: Use a Resource Governor instead.
        References:https://msdn.microsoft.com/en-us/library/bb933866.aspx

        Topic 4, automobile parts Case Study 1Background
        You manage the Microsoft SQL Server environment for a company that manufactures and sells automobile parts.
        The environment includes the following servers: SRV1 and SRV2. SRV1 has 16 logical cores and hosts a SQL Server instance that supports a mission-critical application. The application has approximately 30,000 concurrent users and relies heavily on the use of temporary tables.
        The environment also includes the following databases: DB1, DB2, and Reporting. The Reporting database is protected with Transparent Data Encryption (TDE). You plan to migrate this database to a new server. You detach the database and copy it to the new server.
        You are performing tuning on a SQL Server database instance. The application which uses the database was written using an object relationship mapping (ORM) tool which maps tables as objects within the application code. There are 30 stored procedures that are regularly used by the application.
        Exhibit
        70-765 dumps exhibit

        NEW QUESTION 15
        You plan to migrate a database To Microsoft Azure SQL Database. The database requires 500 gigabytes (GB) of storage.
        The database must support 50 concurrent logins. You must minimize the cost associated with hosting the database.
        You need to create the database. Which pricing tier should you use?

        • A. Standard S3 pricing tier
        • B. Premium P2tier
        • C. Standard S2 pricing tier
        • D. Premium P1 tier

        Answer: D

        Explanation: For a database size of 500 GB the Premium tier is required. Both P1 and P2 are adequate. P1 is preferred as it is cheaper.
        Note:
        70-765 dumps exhibit

        NEW QUESTION 16
        You have Microsoft SQL Server on a Microsoft Azure virtual machine.
        You have two Windows accounts named serviceAccount1 and ServiceAccount2. The SQL Server Agent runs as ServiceAccount1.
        You need to run SQL Server Agent job steps by using ServiceAccount2. Which cmdlet should you run first?

        • A. Set-ADServiceAccount
        • B. Set-SqlCredential
        • C. New-ADServiceAccount
        • D. New-SqlCredential

        Answer: C

        Explanation: The New-ADServiceAccount command creates a new Active Directory managed service account or group managed service account object.

        Thanks for reading the newest 70-765 exam dumps! We recommend you to try the PREMIUM Surepassexam 70-765 dumps in VCE and PDF here: https://www.surepassexam.com/70-765-exam-dumps.html (209 Q&As Dumps)