![](https://stories.isu.pub/76028995/images/1_original_file_I0.jpg?width=720&quality=85%2C50)
11 minute read
EnsurePass 70-765 Exam Real Dumps Provisioning SQL Databases
The Latest 70-765 Exam ☆ Instant Download ☆ Free Update for 180 Days
![](https://stories.isu.pub/76028995/images/1_original_file_I0.jpg?width=720&quality=85%2C50)
Advertisement
Vendor: Microsoft
Exam Code: 70-765
Exam Name: Provisioning SQL Databases
Version: 13.03
Q & As: 184
Guaranteed Success with EnsurePass VCE Software & PDF File
![](https://stories.isu.pub/76028995/images/2_original_file_I0.jpg?width=720&quality=85%2C50)
Why do you choose EnsurePass.com for your exam Preparation:
1. Real Exam Questions and Answers with PDF and VCE Files. 2. Free VCE Software 3. We do provide Personal Consulting Services. 4. Money Back Guarantee.
How to buy:
70-765 Exam Questions & Answershttp://www.ensurepass.com/70-765.html
The Latest 70-765 Exam ☆ Instant Download ☆ Free Update for 180 Days
Topic 7, Mix Questions
QUESTION 1 You administer a Microsoft SQL Server 2014 database named ContosoDb. Tables are defined as shown in the exhibit. (Click the Exhibit button.)
You need to display rows from the Orders table for the Customers row having the CustomerId value set to 1 in the following XML format.
![](https://stories.isu.pub/76028995/images/3_original_file_I1.jpg?width=720&quality=85%2C50)
![](https://stories.isu.pub/76028995/images/3_original_file_I0.jpg?width=720&quality=85%2C50)
Guaranteed Success with EnsurePass VCE Software & PDF File
The Latest 70-765 Exam ☆ Instant Download ☆ Free Update for 180 Days
Which Transact-SQL query should you use?
A. SELECT OrderId, OrderDate, Amount, Name, CountryFROM OrdersINNER JOIN CustomersON Orders.CustomerId = Customers-CustomerIdWHERE Customers.CustomerId = 1FOR XML RAW
B. SELECT OrderId, OrderDate, Amount, Name, CountryFROM OrdersINNER JOIN CustomersON Orders.CustomerId = Customers.CustomerIdWHERE Customers.CustomerId = 1FOR XML RAW, ELEMENTS
C. SELECT OrderId, OrderDate, Amount, Name, CountryFROM OrdersINNER JOIN CustomersON Orders.CustomerId = Customers.CustomerIdWHERE Customers.CustomerId = 1FOR XML AUTO
D. SELECT OrderId, OrderDate, Amount, Name, CountryFROM OrdersINNER JOIN CustomersON Orders.CustomerId-Customers.CustomerIdWHERE Customers.CustomerId= 1FOR XML AUTO, ELEMENTS
E. SELECT Name, Country, Orderld, OrderDate, AmountFROM OrdersINNER JOIN CustomersON Orders.CustomerId= Customers.CustomerIdWHERE Customers.CustomerId= 1FOR XML AUTO, ELEMENTS
F. SELECT Name, Country, Crderld, OrderDate, AmountFROM OrdersINNER JOIN CustomersON Orders.CustomerId= Customers.CustomerIdWHERE Customers.CustomerId= FOR XML AUTO, ELEMENTS
G. SELECT Name AS `@Name', CountryAS `@Country', OrderId, OrderDate, AmountFROM OrdersINNER JOIN CustomersON Orders.CustomerId= Customers.CustomerIdWHERE Customers.CustomerId= 1FOR XML PATH (`Customers')
H. SELECT Name AS `Customers/Name', CountryAS `Customers/Country', OrderId, OrderDate, AmountFROM OrdersINNER JOIN CustomersON Orders.CustomerId= Customers.CustomerIdWHERE Customers.CustomerId= 1FOR XML PATH (`Customers'
Correct Answer: E
QUESTION 2 You administer a SQL Server 2014 server that contains a database named SalesDB. SalesDb contains a schema named Customers that has a table named Regions. A user named UserA is a member of a role named Sales.
UserA is granted the Select permission on the Regions table. The Sales role is granted the Select permission on the Customers schema.
You need to ensure that UserA is disallowed to select from any of the tables in the Customers schema.
Which Transact-SQL statement should you use?
A. REVOKE SELECT ON Schema::Customers FROM UserA B. DENY SELECT ON Object::Regions FROM UserA C. EXEC sp_addrolemember 'Sales', 'UserA' D. DENY SELECT ON Object::Regions FROM Sales E. REVOKE SELECT ON Object::Regions FROM UserA F. DENY SELECT ON Schema::Customers FROM Sales G. DENY SELECT ON Schema::Customers FROM UserA H. EXEC sp_droprolemember 'Sales', 'UserA' I. REVOKE SELECT ON Object::Regions FROM Sales J. REVOKE SELECT ON Schema::Customers FROM Sales
Guaranteed Success with EnsurePass VCE Software & PDF File
The Latest 70-765 Exam ☆ Instant Download ☆ Free Update for 180 Days
Correct Answer: G Explanation: Use SQL Data Warehouse or Parallel Data WarehouseGRANT and DENY statements to grant or deny a permission (such as UPDATE) on a securable (such as a database, table, view, etc.) to a security principal (a login, a database user, or a database role).
References: https://docs.microsoft.com/en-us/sql/t-sql/statements/permissions-grant-deny-revoke-azure-sqldata-warehouse-parallel-data-warehouse
QUESTION 3 You administer a Microsoft SQL Server 2014 server. The MSSQLSERVER service uses a domain account named CONTOSO\SQLService.
You plan to configure Instant File Initialization.You need to ensure that Data File Autogrow operations use Instant File Initialization.What should you do? Choose all that apply.
A. Restart the SQL Server Agent Service. B. Disable snapshot isolation. C. Restart the SQL Server Service. D. Add the CONTOSO\SQLService account to the Perform Volume Maintenance Tasks local security policy. E. Add the CONTOSO\SQLService account to the Server Operators fixed server role. F. Enable snapshot isolation.
Correct Answer: CD Explanation: How To Enable Instant File Initialization
References: http://msdn.microsoft.com/en-us/library/ms175935.aspx
QUESTION 4 You plan to install a Microsoft SQL Server 2014 instance.
The instance will support a database that has the following requirements:Store Excel workbooks on the file system.Access the workbooks through Transact-SQL.Include the workbooks in database backups.During installation, you need to ensure that the requirements will be met.Which feature should you use?
A. Excel Services B. FILESTREAM
Guaranteed Success with EnsurePass VCE Software & PDF File
The Latest 70-765 Exam ☆ Instant Download ☆ Free Update for 180 Days
C. SQL Server Integration Services (SSIS) D. OpenXML
Correct Answer: B Explanation: FILESTREAM enables SQL Server-based applications to store unstructured data, such as documents and images, on the file system. Applications can leverage the rich streaming APIs and performance of the file system and at the same time maintain transactional consistency between the unstructured data and corresponding structured data.
References: https://docs.microsoft.com/en-us/sql/relational-databases/blob/filestream-sql-server
QUESTION 5 You develop a Microsoft SQL Server 2014 database that contains a heap named OrdersHistorical.
You write the following Transact-SQL query:INSERT INTO OrdersHistoricalSELECT * FROM CompletedOrdersYou need to optimize transaction logging and locking for the statement.Which table hint should you use?
A. HOLDLOCK B. ROWLOCK C. XLOCK D. UPDLOCK E. TABLOCK
Correct Answer: E Explanation: When importing data into a heap by using the INSERT INTO SELECT <columns> FROM statement, you can enable optimized logging and locking for the statement by specifying the TABLOCK hint for the target table.
References: https://docs.microsoft.com/en-us/sql/t-sql/queries/hints-transact-sql-table
QUESTION 6 You plan to install Microsoft SQL Server 2014 for a web hosting company.
The company plans to host multiple web sites, each supported by a SQL Server database.
You need to select an edition of SQL Server that features backup compression of databases, basic data integration features, and low total cost of ownership.
Which edition should you choose?A. Express Edition with Tools
Guaranteed Success with EnsurePass VCE Software & PDF File
The Latest 70-765 Exam ☆ Instant Download ☆ Free Update for 180 Days
B. Standard Edition C. Web Edition D. Express Edition with Advanced Services
Correct Answer: B
QUESTION 7 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
Correct 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/
QUESTION 8 You administer a Microsoft SQL Server 2014 instance named SQL2012. You are in the process of migrating a database from a SQL Server 2008 instance named SQL2008 to the SQL2012 instance.
You have upgraded a database from the SQL2008 instance by using the side-by-side migration technique.
You need to migrate the SQL Server logins from the SQL2008 instance to the SQL2012 instance.What should you do?
A. Back up the master database on the SQL2008 instance. Restore the master database on the SQL2012 instance
B. Use the Transfer Logins task in a Microsoft SQL Server Integrated Services package C. Use sp_grantlogin D. Use xp_logininfo.
Correct Answer: C
Guaranteed Success with EnsurePass VCE Software & PDF File
The Latest 70-765 Exam ☆ Instant Download ☆ Free Update for 180 Days
Explanation: sp_grantlogin creates a SQL Server login.
QUESTION 9 You administer a SQL Server 2014 server that contains a database named SalesDB. SalesDb contains a schema named Customers that has a table named Regions. A user named UserA is a member of a role named Sales.
UserA is granted the Select permission on the Regions table. The Sales role is granted the Select permission on the Customers schema.
You need to ensure that the Sales role, including UserA, is disallowed to select from any of the tables in the Customers schema.
Which Transact-SQL statement should you use?
A. REVOKE SELECT ON Schema::Customers FROM UserA B. DENY SELECT ON Object::Regions FROM UserA C. EXEC sp_addrolemember 'Sales', 'UserA' D. DENY SELECT ON Object::Regions FROM Sales E. REVOKE SELECT ON Object::Regions FROM UserA F. DENY SELECT ON Schema::Customers FROM Sales G. DENY SELECT ON Schema::Customers FROM UserA H. EXEC sp_droprolemember 'Sales', 'UserA' I. REVOKE SELECT ON Object::Regions FROM Sales J. REVOKE SELECT ON Schema::Customers FROM Sales
Correct Answer: F Explanation: Use SQL Data Warehouse or Parallel Data WarehouseGRANT and DENY statements to grant or deny a permission (such as UPDATE) on a securable (such as a database, table, view, etc.) to a security principal (a login, a database user, or a database role).
References: https://docs.microsoft.com/en-us/sql/t-sql/statements/permissions-grant-deny-revoke-azure-sqldata-warehouse-parallel-data-warehouse
QUESTION 10 You administer a Microsoft SQL Server 2014 database. The database is currently configured to log ship to a secondary server.
You are preparing to cut over to the secondary server by stopping log-shipping and bringing the secondary database online. You want to perform a tail-log backup.
You need to leave the primary database in a restoring state.Which option of the BACKUP LOG command should you use?
A. NO_TRUNCATE B. NORECOVERY C. STANDBY D. FORMAT
Guaranteed Success with EnsurePass VCE Software & PDF File
The Latest 70-765 Exam ☆ Instant Download ☆ Free Update for 180 Days
Correct Answer: B Explanation: It is recommended that you take a tail-log backup in the following scenarios: If the database is online and you plan to perform a restore operation on the database, begin by backing up the tail of the log. To avoid an error for an online database, you must use the ... WITH NORECOVERY option of the BACKUP Transact-SQL statement.
Note: A tail-log backup captures any log records that have not yet been backed up (the tail of the log) to prevent work loss and to keep the log chain intact. Before you can recover a SQL Server database to its latest point in time, you must back up the tail of its transaction log. The tail-log backup will be the last backup of interest in the recovery plan for the database.
References: https://docs.microsoft.com/en-us/sql/relational-databases/backup-restore/tail-log-backups-sqlserver
QUESTION 11 You are a database administrator for a Microsoft SQL Server 2014 environment.
You want to deploy a new application that will scale out the workload to at least five different SQL Server instances.
You need to ensure that for each copy of the database, users are able to read and write data that will then be synchronized between all of the database instances.
Which feature should you use?
A. Database Mirroring B. Peer-to-Peer Replication C. Log Shipping D. Availability Groups
Correct Answer: B Explanation: Peer-to-peer replication provides a scale-out and high-availability solution by maintaining copies of data across multiple server instances, also referred to as nodes. Built on the foundation of transactional replication, peer-to-peer replication propagates transactionally consistent changes in near real-time. This enables applications that require scale-out of read operations to distribute the reads from clients across multiple nodes. Because data is maintained across the nodes in near real-time, peer-to-peer replication provides data redundancy, which increases the availability of data.
References: https://docs.microsoft.com/en-us/sql/relational-databases/replication/transactional/peer-to-peertransactional-replication
QUESTION 12 You use Microsoft SQL Server 2014 to develop a database application. You need to implement a computed column that references a lookup table by using an INNER JOIN against another table. What should you do?
A. Reference a user-defined function within the computed column.
Guaranteed Success with EnsurePass VCE Software & PDF File
The Latest 70-765 Exam ☆ Instant Download ☆ Free Update for 180 Days
B. Create a BEFORE trigger that maintains the state of the computed column. C. Add a default constraint to the computed column that implements hard-coded values. D. Add a default constraint to the computed column that implements hard-coded CASE statements.
Correct Answer: A Explanation: A common way to define a computed column is by using a user-defined function (UDF) to encapsulate the calculation logic.
References: https://blogs.msdn.microsoft.com/sqlcat/2011/11/28/a-computed-column-defined-with-a-userdefined-function-might-impact-query-performance/
QUESTION 13 You administer two instances of Microsoft SQL Server 2014. You deploy an application that uses a database on the named instance.
The application is unable to connect to the database on the named instance.You need to ensure that the application can connect to the named instance.What should you do?
A. Configure the application as data-tiered. B. Open port 1433 on the Windows firewall on the server. C. Configure the named SQL Server instance to use an account that is a member of the Domain
Admins group. D. Start the SQL Server Browser Service.
Correct Answer: D Explanation: The SQL Server Browser program runs as a Windows service. SQL Server Browser listens for incoming requests for Microsoft SQL Server resources and provides information about SQL Server instances installed on the computer.
References: https://technet.microsoft.com/en-us/library/ms181087(v=sql.105).aspx
QUESTION 14 You administer a Microsoft SQL Server 2014 database named Contoso on a server named Server01.
You need to track all SELECT statements issued in the Contoso database only by users in a role named Sales.
What should you create?
A. An Alert B. A Resource Pool C. An Extended Event session D. A Server Audit Specification E. A SQL Profiler Trace
Guaranteed Success with EnsurePass VCE Software & PDF File
The Latest 70-765 Exam ☆ Instant Download ☆ Free Update for 180 Days
F. A Database Audit Specification G. A Policy H. A Data Collector Set
Correct Answer: F Explanation: To audit users in a role use a Database Audit Specification.
References: https://docs.microsoft.com/en-us/sql/t-sql/statements/create-database-audit-specificationtransact-sql
QUESTION 15 You administer a Microsoft SQL Server 2014 Enterprise Edition server that uses 64 cores.
You discover performance issues when large amounts of data are written to tables under heavy system load.
You need to limit the number of cores that handle I/O.What should you configure?
A. Processor affinity B. Lightweight pooling C. Max worker threads D. I/O affinity
Correct Answer: D Explanation: The affinity Input-Output (I/O) mask Server Configuration Option. To carry out multitasking, Microsoft Windows 2000 and Windows Server 2003 sometimes move process threads among different processors. Although efficient from an operating system point of view, this activity can reduce Microsoft SQL Server performance under heavy system loads, as each processor cache is repeatedly reloaded with data. Assigning processors to specific threads can improve performance under these conditions by eliminating processor reloads; such an association between a thread and a processor is called processor affinity.
References: http://msdn.microsoft.com/en-us/library/ms189629.aspx
QUESTION 16 You administer a SQL Server 2014 database instance.
You need to configure the SQL Server Database Engine service on a failover cluster.Which user account should you use?
A. A domain user B. The BUILTIN\SYSTEM account C. A local user with Run as Service permissions D. The SQLBrowser account
Guaranteed Success with EnsurePass VCE Software & PDF File
The Latest 70-765 Exam ☆ Instant Download ☆ Free Update for 180 Days
Correct Answer: A Explanation: https://docs.microsoft.com/en-us/sql/sql-server/failover-clusters/install/create-a-new-sql-serverfailover-cluster-setup
QUESTION 17 You are a database developer of a Microsoft SQL Server 2014 database. You are designing a table that will store Customer data from different sources. The table will include a column that contains the CustomerID from the source system and a column that contains the SourceID. A sample of this data is as shown in the following table.
![](https://stories.isu.pub/76028995/images/12_original_file_I0.jpg?width=720&quality=85%2C50)
You need to ensure that the table has no duplicate CustomerID within a SourceID. You also need to ensure that the data in the table is in the order of SourceID and then CustomerID. Which Transact- SQL statement should you use?
A. CREATE TABLE Customer(SourceID int NOT NULL IDENTITY,CustomerID int NOT NULL IDENTITY,CustomerName varchar(255) NOT NULL);
B. CREATE TABLE Customer(SourceID int NOT NULL,CustomerID int NOT NULL PRIMARY KEY CLUSTERED,CustomerName varchar(255) NOT NULL);
C. CREATE TABLE Customer(SourceID int NOT NULL PRIMARY KEY CLUSTERED,CustomerID int NOT NULL UNIQUE,CustomerName varchar(255) NOT NULL);
D. CREATE TABLE Customer(SourceID int NOT NULL,CustomerID int NOT NULL,CustomerName varchar(255) NOT NULL,CONSTRAINT PK_Customer PRIMARY KEY CLUSTERED(SourceID, CustomerID));
Correct Answer: D
QUESTION 18 You administer a Microsoft SQL Server 2014 database named Contoso on a server named Server01.
You need to prevent users from disabling server audits in Server01.What should you create?
A. A Database Audit Specification B. A Policy C. An Alert D. A SQL Profiler Trace
Guaranteed Success with EnsurePass VCE Software & PDF File
EnsurePass.com Members Features:
1.
Verified Answers researched by industry experts.
2.
Q&As are downloadable in PDF and VCE format.
3.
98% success Guarantee and Money Back Guarantee.
4.
Free updates for 180 Days.
5.
Instant Access to download the Items
View list of All Exam provided: http://www.ensurepass.com/certfications?index=ATo purchase Lifetime Full Access Membership click here: http://www.ensurepass.com/user/register
Valid Discount Code 20% OFF for 2019: MMJ4-IGD8-X3QW
To purchase the HOT Exams:
Vendors
Hot Exams
Download
Cisco
100-105
http://www.ensurepass.com/100-105.html
Cisco
200-105
http://www.ensurepass.com/200-105.html
Cisco
200-125
http://www.ensurepass.com/200-125.html
Cisco
200-310
http://www.ensurepass.com/200-310.html
Cisco
200-355
http://www.ensurepass.com/200-355.html
Cisco
300-101
http://www.ensurepass.com/300-101.html
Cisco
300-115
http://www.ensurepass.com/300-115.html
Cisco
300-135
http://www.ensurepass.com/300-135.html
Cisco
300-320
http://www.ensurepass.com/300-320.html
Cisco
400-101
http://www.ensurepass.com/400-101.html
CompTIA
220-1001
http://www.ensurepass.com/220-1001.html
CompTIA
220-1002
http://www.ensurepass.com/220-1002.html
CompTIA
220-901
http://www.ensurepass.com/220-901.html
CompTIA
220-902
http://www.ensurepass.com/220-902.html
CompTIA
CAS-003
http://www.ensurepass.com/CAS-003.html
CompTIA
LX0-103
http://www.ensurepass.com/LX0-103.html
CompTIA
LX0-104
http://www.ensurepass.com/LX0-104.html
CompTIA
N10-007
http://www.ensurepass.com/N10-007.html
CompTIA
PK0-004
http://www.ensurepass.com/PK0-004.html
CompTIA
SK0-004
http://www.ensurepass.com/SK0-004.html
CompTIA
SY0-501
http://www.ensurepass.com/SY0-501.html
Microsoft
70-410
http://www.ensurepass.com/70-410.html
Microsoft
70-411
http://www.ensurepass.com/70-411.html
Microsoft
70-412
http://www.ensurepass.com/70-412.html
Microsoft
70-740
http://www.ensurepass.com/70-740.html
Microsoft
70-741
http://www.ensurepass.com/70-741.html
Microsoft
70-742
http://www.ensurepass.com/70-742.html
Microsoft
70-761
http://www.ensurepass.com/70-761.html
Microsoft
70-762
http://www.ensurepass.com/70-762.html
ISC
CISSP
http://www.ensurepass.com/CISSP.html