70-764 Exam Details

  • Exam Code
    :70-764
  • Exam Name
    :Administering a SQL Database Infrastructure
  • Certification
    :Microsoft Certifications
  • Vendor
    :Microsoft
  • Total Questions
    :452 Q&As
  • Last Updated
    :Feb 07, 2022

Microsoft 70-764 Online Questions & Answers

  • Question 221:

    You install Microsoft SQL Server 2016 on a new server.

    After setup is complete, you attempt to start the SQL Server service.

    After being in a starting state for a few moments, the service goes back to a stopped state.

    You need to determine the cause of the failure. Which file should you use?

    A. %programfiles%\Microsoft SQL Server\MSSQL11.MSSQLSERVER|MSSQL\Log\Errorlog
    B. %programfiles%\Microsoft SQL Server\110\setup Bootstrap\Log\Summary.txt
    C. %programfiles%\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\mastlog.idf
    D. %programfiles%\Microsoft SQL Server\110\Shared\ErrorDmpr[XXXX] .mdmp

  • Question 222:

    DRAG DROP

    You have a database. The existing backups for the database and their corresponding files are listed in the following table.

    You purchase a new server. You must restore the database to the new server.

    You need to restore the data to the most recent time possible.

    Which three files should you restore in sequence? To answer, move the appropriate files from the list of files to the answer area and arrange them in the correct order.

    Select and Place:

  • Question 223:

    Background

    Corporate Information

    Fabrikam, Inc. is a retailer that sells electronics products on the Internet. The company has a headquarters site and one satellite sales office. You have been hired as the database administrator, and the company wants you to change the

    architecture of the Fabrikam ecommerce site to optimize performance and reduce downtime while keeping capital expenditures to a minimum. To help with the solution, Fabrikam has decided to use cloud resources as well as on-premise

    servers.

    Physical Locations

    All of the corporate executives, product managers, and support staff are stationed at the headquarters office. Half of the sales force works at this location. There is also a satellite sales office. The other half of the sales force works at the

    satellite office in order to have sales people closer to clients in that area. Only sales people work at the satellite location.

    Problem Statement

    To be successful, Fabrikam needs a website that is fast and has a high degree of system uptime. The current system operates on a single server and the company is not happy with the single point of failure this presents. The current nightly

    backups have been failing due to insufficient space on the available drives and manual drive cleanup often needing to happen to get past the errors. Additional space will not be made available for backups on the HQ or satellite servers.

    During your investigation, you discover that the sales force reports are causing significant contention.

    Configuration

    Windows Logins

    The network administrators have set up Windows groups to make it easier to manage security. Users may belong to more than one group depending on their role. The groups have been set up as shown in the following table:

    Server Configuration The IT department has configured two physical servers with Microsoft Windows Server 2012 R2 and SQL Server 2014 Enterprise Edition and one Windows Azure Server. There are two tiers of storage available for use by database files only a fast tier and a slower tier. Currently the data and log files are stored on the fast tier of storage only. If a possible use case exists, management would like to utilize the slower tier storage for data files. The servers are configured as shown in the following table:

    Database

    Currently all information is stored in a single database called ProdDB, created with the following script:

    The Product table is in the Production schema owned by the ProductionStaff Windows group. It is the main table in the system so access to information in the Product table should be as fast as possible. The columns in the Product table are defined as shown in the following table:

    The SalesOrderDetail table holds the details about each sale. It is in the Sales schema owned by the SalesStaff Windows group. This table is constantly being updated, inserted into, and read. The columns in the SalesOrderDetail table are defined as shown in the following table:

    Database Issues

    The current database does not perform well. Additionally, a recent disk problem caused the system to go down, resulting in lost sales revenue. In reviewing the current system, you found that there are no automated maintenance procedures.

    The database is severely fragmented, and everyone has read and write access.

    Requirements

    Database

    The database should be configured to maximize uptime and to ensure that very little data is lost in the event of a server failure. To help with performance, the database needs to be modified so that it can support in-memory data, specifically

    for the Product table, which the CIO has indicated should be a memoryoptimized table. The auto-update statistics option is set off on this database. Only product managers are allowed to add products or to make changes to the name,

    description, price, cost, and supplier. The changes are made in an internal database and pushed to the Product table in ProdDB during system maintenance time. Product managers and others working at the headquarters location also should

    be able to generate reports that include supplier and cost information.

    Customer data access

    Customers access the company's website to order products, so they must be able to read product information such asname, description, and price from the Product table. When customers place orders, stored procedures calledby the website

    update product quantityon-hand values. This means the product table is constantly updated at randomtimes.

    Customer support data access

    Customer support representatives need to be able to view and not update or change product information. Management does not want the customer support representatives to be able to see the product cost or any supplier information.

    Sales force data access

    Sales people at both the headquarters office and the satellite office must generate reports that read from the Product and SalesOrderDetail tables. No updates or inserts are ever made by sales people. These reports are run at random times

    and there can be no reporting downtime to refresh the data set except during the monthly maintenance window. The reports that run from the satellite office are process intensive queries with large data sets. Regardless of which office runs a

    sales force report, the SalesOrderDetail table should only return valid, committed order data; any orders not yet committed should be ignored.

    Historical Data

    The system should keep historical information about customers who access the site so that sales people can see how frequently customers log in and how long they stay on the site.

    The information should be stored in a table called Customer Access. Supporting this requirement should have minimal impact on production website performance.

    Backups

    The recovery strategy for Fabrikam needs to include the ability to do point in time restores and minimize the risk of data loss by performing transaction log backups every 15 minutes.

    Database Maintenance

    The company has defined a maintenance window every month when the server can be unavailable. Any maintenance functions that require exclusive access should be accomplished during that window.

    Project milestones completed

    Revoked all existing read and write access to the database, leaving the schema ownership in place.

    Configured an Azure storage container secured with the storage account name MyStorageAccount with the primary access key StorageAccountKey on the cloud file server.

    SQL Server 2014 has been configured on the satellite server and is ready for use.

    On each database server, the fast storage has been assigned to drive letter F:, and the slow storage has been assigned to drive letter D:.

    You are designing your maintenance plan.

    Which command should you use only during the monthly maintenance window?

    A. DBCC INDEXDEFRAG (ProdDB, SalesOrderDetail, SODIndex)
    B. ALTER INDEX SODIndex ON SalesOrderDetail REORGANIZE
    C. ALTER INDEX SODIndex ON SalesOrderDetail REBUILD
    D. ALTER INDEX SODIndex ON SalesOrderDetail REBUILD WITH (ONLINE * ON)

  • Question 224:

    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 administer a SQL Server Instance at Contoso Ltd.

    A new employee named Kim Ralls must be able to read data only from the dbo.Order table in the SalesDB database.

    You create a SQL login named KimRalls. You then create a SQL user account named KimRalls in SalesDB. The user account is associated with the SQL login.

    You need to grant KimRalls the necessary permission or permissions. Your solution must follow the principle of least privilege.

    Solution: You perform the following actions:

    1.

    Create a custom database role named OrderReader in SalesDB.

    2.

    Grant the Select permission on dbo.Order to the OrderReader role.

    3.

    Add KimRalls to the OrderReader role. Does the solution meet the goal?

    A. Yes
    B. No

  • Question 225:

    You use SQL Server 2014 to maintain the data used by applications at your company.

    You want to execute two statements.

    You need to guarantee that either both statements succeed, or both statements fail together as a batch.

    Which code should you use?

    A. Option A
    B. Option B
    C. Option C
    D. Option D
    E. Option E

  • Question 226:

    Background

    Corporate Information

    Fabrikam, Inc. is a retailer that sells electronics products on the Internet. The company has a headquarters site and one satellite sales office. You have been hired as the database administrator, and the company wants you to change the

    architecture of the Fabrikam ecommerce site to optimize performance and reduce downtime while keeping capital expenditures to a minimum. To help with the solution, Fabrikam has decided to use cloud resources as well as on-premise

    servers.

    Physical Locations

    All of the corporate executives, product managers, and support staff are stationed at the headquarters office. Half of the sales force works at this location. There is also a satellite sales office. The other half of the sales force works at the

    satellite office in order to have sales people closer to clients in that area. Only sales people work at the satellite location.

    Problem Statement

    To be successful, Fabrikam needs a website that is fast and has a high degree of system uptime. The current system operates on a single server and the company is not happy with the single point of failure this presents. The current nightly

    backups have been failing due to insufficient space on the available drives and manual drive cleanup often needing to happen to get past the errors. Additional space will not be made available for backups on the HQ or satellite servers.

    During your investigation, you discover that the sales force reports are causing significant contention.

    Configuration

    Windows Logins

    The network administrators have set up Windows groups to make it easier to manage security. Users may belong to more than one group depending on their role. The groups have been set up as shown in the following table:

    Server Configuration The IT department has configured two physical servers with Microsoft Windows Server 2012 R2 and SQL Server 2014 Enterprise Edition and one Windows Azure Server. There are two tiers of storage available for use by database files only a fast tier and a slower tier. Currently the data and log files are stored on the fast tier of storage only. If a possible use case exists, management would like to utilize the slower tier storage for data files. The servers are configured as shown in the following table:

    Database

    Currently all information is stored in a single database called ProdDB, created with the following script:

    The Product table is in the Production schema owned by the ProductionStaff Windows group. It is the main table in the system so access to information in the Product table should be as fast as possible. The columns in the Product table are defined as shown in the following table:

    The SalesOrderDetail table holds the details about each sale. It is in the Sales schema owned by the SalesStaff Windows group. This table is constantly being updated, inserted into, and read. The columns in the SalesOrderDetail table are defined as shown in the following table:

    Database Issues

    The current database does not perform well. Additionally, a recent disk problem caused the system to go down, resulting in lost sales revenue. In reviewing the current system, you found that there are no automated maintenance procedures.

    The database is severely fragmented, and everyone has read and write access.

    Requirements

    Database

    The database should be configured to maximize uptime and to ensure that very little data is lost in the event of a server failure. To help with performance, the database needs to be modified so that it can support in-memory data, specifically

    for the Product table, which the CIO has indicated should be a memoryoptimized table. The auto-update statistics option is set off on this database. Only product managers are allowed to add products or to make changes to the name,

    description, price, cost, and supplier. The changes are made in an internal database and pushed to the Product table in ProdDB during system maintenance time. Product managers and others working at the headquarters location also should

    be able to generate reports that include supplier and cost information.

    Customer data access

    Customers access the company's website to order products, so they must be able to read product information such asname, description, and price from the Product table. When customers place orders, stored procedures calledby the website

    update product quantityon-hand values. This means the product table is constantly updated at randomtimes.

    Customer support data access

    Customer support representatives need to be able to view and not update or change product information. Management does not want the customer support representatives to be able to see the product cost or any supplier information.

    Sales force data access

    Sales people at both the headquarters office and the satellite office must generate reports that read from the Product and SalesOrderDetail tables. No updates or inserts are ever made by sales people. These reports are run at random times

    and there can be no reporting downtime to refresh the data set except during the monthly maintenance window. The reports that run from the satellite office are process intensive queries with large data sets. Regardless of which office runs a

    sales force report, the SalesOrderDetail table should only return valid, committed order data; any orders not yet committed should be ignored.

    Historical Data

    The system should keep historical information about customers who access the site so that sales people can see how frequently customers log in and how long they stay on the site.

    The information should be stored in a table called Customer Access. Supporting this requirement should have minimal impact on production website performance.

    Backups

    The recovery strategy for Fabrikam needs to include the ability to do point in time restores and minimize the risk of data loss by performing transaction log backups every 15 minutes.

    Database Maintenance

    The company has defined a maintenance window every month when the server can be unavailable. Any maintenance functions that require exclusive access should be accomplished during that window.

    Project milestones completed

    Revoked all existing read and write access to the database, leaving the schema ownership in place.

    Configured an Azure storage container secured with the storage account name MyStorageAccount with the primary access key StorageAccountKey on the cloud file server.

    SQL Server 2014 has been configured on the satellite server and is ready for use.

    On each database server, the fast storage has been assigned to drive letter F:, and the slow storage has been assigned to drive letter D:.

    You need to change the ProdDB database.

    Which two database options should you change to meet the requirements? Each correct answer presents part of the solution. (Choose two.)

    A. CONTAINS FILESTREAM
    B. Change recovery model to FULL
    C. CONTAINMENT = PARTIAL
    D. Change recovery model to BULK_LOGGED
    E. COLLATE IN.MEMORY
    F. CONTAINS MEMORY OPTIMIZED DATA

  • Question 227:

    You work as a Database Administrator (DBA) for a company named ABC.com.

    The company uses a Microsoft SQL Server 2012 infrastructure.

    You have a database named CorpDB.

    A full backup of CorpDB is taken every week.

    A differential backup of CorpDB is taken every night at midnight.

    A transaction log backup of CorpDB is taken at 8am, 12pm, 4pm and 8pm.

    You plan to deploy some changes to CorpDB at after the 4pm log backup completes.

    You need to ensure that you can undo the changes quickly if the deployment fails.

    During the deployment of the changes, no other changes must be made by users to the database. You need a backup and recovery strategy for deploying the changes.

    Which two of the following actions would meet the backup and recovery requirements whilst ensuring the regular backup schedule is not disrupted? (Choose two.)

    A. Take a full backup of the database before deploying the changes.
    B. Take a copy-only backup of the database before deploying the changes.
    C. Take a snapshot of the database before deploying the changes.
    D. Restore the database from the backup.
    E. Restore the snapshot to another server and recover the required objects from the snapshot.
    F. Revert the database to the snapshot.

  • Question 228:

    HOTSPOT

    A company has the following Microsoft SQL Server instances Instance1 and Instance2.

    You plan to enable Always Encrypted for both instances.

    You need to configure the instances to meet the following requirements:

    Instance1 must use an initialization vector that is different each time the instance is initiated.

    Instance2 must use an initialization vector that is derived from an algorithm.

    In the table below, identify the encryption type that must be used for each instance.

    NOTE: Make only one selection in each column. Each correct selection is worth one point.

    Hot Area:

  • Question 229:

    HOTSPOT

    You have a Microsoft SQL Server instance that hosts a database named DB1 that contains 800 gigabyte (GB) of data. The database is used 24 hours each day. You implement indexes and set the value of the Auto Update Statistics option set to True.

    Users report that queries take a long time to complete.

    You need to identify statistics that have not been updated for a week for tables where more than 1,000 rows changed.

    How should you complete the Transact-SQL statement? To answer, configure the appropriate Transact-SQL segments in the answer area.

    Hot Area:

  • Question 230:

    You have a query that is used by a reporting dashboard. Users report that the query sometimes takes a long time to run. You need to recommend a solution to identify what is causing the issue. What should you recommend? More than one answer choice may achieve the goal. Select the BEST answer.

    A. Set the blocked process threshold, and then run SQL Server Profiler.
    B. Set the blocked process threshold, and then create an alert.
    C. Enable trace flag 1204, and then create an alert.
    D. Create a job that queries the sys.dm_os_waiting_tasks dynamic management view.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 70-764 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.