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 181:

    Overview

    General Overview

    ADatum Corporation has offices in Miami and Montreal.

    The network contains a single Active Directory forest named adatum.com. The offices connect to each other by using a WAN link that has 5-ms latency. A. Datum standardizes its database platform by using SQL Server 2014 Enterprise

    edition.

    Databases

    Each office contains databases named Sales, Inventory, Customers, Products, Personnel, and Dev.

    Servers and databases are managed by a team of database administrators. Currently, all of the database administrators have the same level of permissions on all of the servers and all of the databases.

    The Customers database contains two tables named Customers and Classifications.

    The following graphic shows the relevant portions of the tables:

    Classifications (Customers)

    The following table shows the current data in the Classifications table:

    The Inventory database is updated frequently.

    The database is often used for reporting.

    A full backup of the database currently takes three hours to complete.

    Stored Procedures

    A stored procedure named USP_1 generates millions of rows of data for multiple reports. USP_1 combines data from five different tables from the Sales and Customers databases in a table named Table1. After Table1 is created, the

    reporting process reads data from Table1 sequentially several times. After the process is complete, Table1 is deleted. A stored procedure named USP_2 is used to generate a product list. The product list contains the names of products

    grouped by category.

    USP_2 takes several minutes to run due to locks on the tables the procedure accesses. The locks are caused by USP_1 and USP_3.

    A stored procedure named USP_3 is used to update prices. USP_3 is composed of several UPDATE statements called in sequence from within a transaction. Currently, if one of the UPDATE statements fails, the stored procedure fails. A

    stored procedure named USP_4 calls stored procedures in the Sales, Customers, and Inventory databases.

    The nested stored procedures read tables from the Sales, Customers, and Inventory databases. USP_4 uses an EXECUTE AS clause.

    All nested stored procedures handle errors by using structured exception handling. A stored procedure named USP_5 calls several stored procedures in the same database. Security checks are performed each time USP_5 calls a stored

    procedure.

    You suspect that the security checks are slowing down the performance of USP_5. All stored procedures accessed by user applications call nested stored procedures.

    The nested stored procedures are never called directly.

    Design Requirements

    Data Recovery

    You must be able to recover data from the Inventory database if a storage failure occurs. You have a Recovery Time Objective (RTO) of 5 minutes.

    You must be able to recover data from the Dev database if data is lost accidentally. You have a Recovery Point Objective (RPO) of one day.

    Classification Changes

    You plan to change the way customers are classified. The new classifications will have four levels based on the number of orders. Classifications may be removed or added in the future. Management requests that historical data be

    maintained for the previous classifications. Security A group of junior database administrators must be able to manage security for the Sales database. The junior database administrators will not have any other administrative rights. A. Datum

    wants to track which users run each stored procedure.

    Storage

    A- Datum has limited storage. Whenever possible, all storage space should be minimized for all databases and all backups.

    Error Handling

    There is currently no error handling code in any stored procedure.

    You plan to log errors in called stored procedures and nested stored procedures. Nested stored procedures are never called directly.

    You need to recommend a disaster recovery strategy for the Inventory database. What should you include in the recommendation?

    A. Log shipping
    B. SQL Server Failover Clustering
    C. AlwaysOn availability groups
    D. Peer-to-peer replication

  • Question 182:

    Which task should you perform before you can create a utility control point by using the service account option?

    A. Disable the Microsoft SQL Server browser service
    B. Start all Data Collector Sets (DCSs) in a Microsoft SQL Server instance
    C. Enable named pipes on a Microsoft SQL Server instance
    D. Configure the Microsoft SQL Server Agent service account to use an Active Directory Domain Services (AD DS) user account

  • Question 183:

    HOTSPOT

    You are planning the deployment of two new Always On Failover Cluster Instances (FCIs) of Microsoft SQL Server to a single Windows Server Cluster with three nodes. The planned configuration for the cluster is shown in the Server Layout exhibit. (Click the Exhibit button.)

    The SAN team has configured storage for the cluster and sent the configuration to you in the email shown in the SAN Team Email exhibit. (Click the Exhibit button.)

    Each node of the cluster has identical local storage available as shown in the Local Storage exhibit. (Click the Exhibit button.)

    All local storage is on SSD.

    You need to plan specific configurations for the new cluster.

    For each of the following statement, select Yes if the statement is true. Otherwise, select No.

    Hot Area:

  • Question 184:

    DRAG DROP

    You need to recommend a backup process for an Online Transaction Processing (OLTP) database. The process must meet the following requirements:

    Ensure that if a hardware failure occurs, you can bring the database online with a minimum amount of data loss.

    Minimize the amount of administrative effort required to restore any lost data.

    What should you include in the recommendation? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

    Select and Place:

  • Question 185:

    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 implement a backup strategy to support the requirements.

    Which two actions should you perform? Each correct answer presents part of the solution. (Choose two.)

    A. Create a credential called MyCredential on SQL Server by using a Windows domain account and password.
    B. Schedule a full backup by using the command BACKUP DATABASE ProdDB TO DISK...
    C. Create a share on your Windows Azure site by using your Windows Azure storage account information, and grant permission to the SQL Server service login.
    D. Schedule a full backup by using the command BACKUP DATABASE ProdDB TO URL ... WTTH CREDENTIAL=N'MyCredential'
    E. Create a share on the hot standby site and grant permission to the SQL Server service login.
    F. Create a credential called MyCredential on SQL Server, using MyStorageAccount for the storage account name and StorageAccountKey for the access key.
    G. Schedule a full backup by using the command BACKUP DATABASE ProdDB TO SHARE ... WITH CREDENTIAL=N' MyCredential'

  • Question 186:

    Overview

    General Overview

    ADatum Corporation has offices in Miami and Montreal.

    The network contains a single Active Directory forest named adatum.com. The offices connect to each other by using a WAN link that has 5-ms latency. A. Datum standardizes its database platform by using SQL Server 2014 Enterprise

    edition.

    Databases

    Each office contains databases named Sales, Inventory, Customers, Products, Personnel, and Dev.

    Servers and databases are managed by a team of database administrators. Currently, all of the database administrators have the same level of permissions on all of the servers and all of the databases.

    The Customers database contains two tables named Customers and Classifications.

    The following graphic shows the relevant portions of the tables:

    The following table shows the current data in the Classifications table:

    The Inventory database is updated frequently.

    The database is often used for reporting.

    A full backup of the database currently takes three hours to complete.

    Stored Procedures

    A stored procedure named USP_1 generates millions of rows of data for multiple reports. USP_1 combines data from five different tables from the Sales and Customers databases in a table named Table1. After Table1 is created, the

    reporting process reads data from Table1 sequentially several times. After the process is complete, Table1 is deleted. A stored procedure named USP_2 is used to generate a product list. The product list contains the names of products

    grouped by category.

    USP_2 takes several minutes to run due to locks on the tables the procedure accesses. The locks are caused by USP_1 and USP_3.

    A stored procedure named USP_3 is used to update prices. USP_3 is composed of several UPDATE statements called in sequence from within a transaction. Currently, if one of the UPDATE statements fails, the stored procedure fails. A

    stored procedure named USP_4 calls stored procedures in the Sales, Customers, and Inventory databases.

    The nested stored procedures read tables from the Sales, Customers, and Inventory databases. USP_4 uses an EXECUTE AS clause.

    All nested stored procedures handle errors by using structured exception handling. A stored procedure named USP_5 calls several stored procedures in the same database. Security checks are performed each time USP_5 calls a stored

    procedure.

    You suspect that the security checks are slowing down the performance of USP_5. All stored procedures accessed by user applications call nested stored procedures.

    The nested stored procedures are never called directly.

    Design Requirements

    Data Recovery

    You must be able to recover data from the Inventory database if a storage failure occurs. You have a Recovery Time Objective (RTO) of 5 minutes.

    You must be able to recover data from the Dev database if data is lost accidentally. You have a Recovery Point Objective (RPO) of one day.

    Classification Changes

    You plan to change the way customers are classified. The new classifications will have four levels based on the number of orders. Classifications may be removed or added in the future. Management requests that historical data be

    maintained for the previous classifications. Security A group of junior database administrators must be able to manage security for the Sales database. The junior database administrators will not have any other administrative rights. A. Datum

    wants to track which users run each stored procedure.

    Storage

    ADatum has limited storage. Whenever possible, all storage space should be minimized for all databases and all backups.

    Error Handling

    There is currently no error handling code in any stored procedure.

    You plan to log errors in called stored procedures and nested stored procedures. Nested stored procedures are never called directly.

    You need to recommend a disaster recovery solution for the Dev database. What should you include in the recommendation?

    A. The simple recovery model and full backups
    B. The full recovery model, full backups, and transaction log backups
    C. The full recovery model, full backups, and differential backups
    D. The bulk-logged recovery model and full backups

  • Question 187:

    HOTSPOT

    Note: This question is part of a series of questions that use the same scenario. For your convenience, the scenario is repeated in each question. Each question presents a different goal and answer choices, but the next of thescenario is exactly the same in each question in this series.Start of repeated scenario Contoso, Ltd. has Microsoft SQL Server databases that support a custom application. The current SQL Server environment consists of two servers: ContosoSQL1 and ContosoSQL2. These two servers participate in an Always On Availability Group named ContosoAG1 that is configured to use synchronous-commit with automatic failover. The secondary replica is not configured for read-only access.

    The application performs both transactional processing and historical data retrieval in a database named ContosoDB. The application includes an inventory management module. The inventory management module and database have experienced performance issues.

    Users report that a query named InventoryQuery1 takes a long time to complete. The query is shown as follows:

    SELECT ProductNumber, Name, ProductLine

    FROM Production.Product

    WHERE ProductNumber = N''

    The query plan used by SQL Server for this query is shown in the exhibit. (Click the Exhibit tab.) Various performance issues, including frequent long-term blocking episodes, prevent business users from completing their daily tasks. You suspect the tempdb database resources could be responsible. You must create Blocking reports for the ContosoDB database to identify issues.

    Exhibit.

    Hot Area:

  • Question 188:

    You administer a Microsoft SQL Server 2016 database named Orders.

    Users report that during peak usage periods, certain operations are taking more time than expected. Your initial analysis suggests that blocking is the cause.

    You need to gather more data to be able to determine which processes are being blocked and to identify the root cause.

    What should you do?

    A. Start a trace using SQL Server Profiler to catch the Lock: Deadlock event.
    B. Use sp_configure to set the blocked process threshold. Start a trace using SQL Server Profiler to catch the Blocked Process Report event.
    C. Schedule a SQL Agent job to run every 60 seconds and insert the results of executing the sys.dm_os_wait_stats DMV into a table.
    D. Use System Monitor to catch the Lock Waits/sec event.

  • Question 189:

    Note: This question is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this series.

    Information and details provided in a question apply only to that question.

    You are migrating a set of databases from an existing Microsoft SQL Server instance to a new instance.

    You need to complete the migration while minimizing administrative effort and downtime.

    Which should you implement?

    A. log shipping
    B. an Always On Availability Group with all replicas in synchronous-commit mode
    C. a file share witness
    D. a SQL Server failover cluster instance (FCI)
    E. a Windows Cluster with a shared-nothing architecture
    F. an Always On Availability Group with secondary replicas in asynchronous-commit mode
    G. A Microsoft Azure Stretch Database

  • Question 190:

    Overview

    General Overview

    ADatum Corporation has offices in Miami and Montreal.

    The network contains a single Active Directory forest named adatum.com. The offices connect to each other by using a WAN link that has 5-ms latency. A. Datum standardizes its database platform by using SQL Server 2014 Enterprise

    edition.

    Databases

    Each office contains databases named Sales, Inventory, Customers, Products, Personnel, and Dev.

    Servers and databases are managed by a team of database administrators. Currently, all of the database administrators have the same level of permissions on all of the servers and all of the databases.

    The Customers database contains two tables named Customers and Classifications.

    The following graphic shows the relevant portions of the tables:

    The following table shows the current data in the Classifications table:

    The Inventory database is updated frequently.

    The database is often used for reporting.

    A full backup of the database currently takes three hours to complete.

    Stored Procedures

    A stored procedure named USP_1 generates millions of rows of data for multiple reports. USP_1 combines data from five different tables from the Sales and Customers databases in a table named Table1. After Table1 is created, the

    reporting process reads data from Table1 sequentially several times. After the process is complete, Table1 is deleted. A stored procedure named USP_2 is used to generate a product list. The product list contains the names of products

    grouped by category.

    USP_2 takes several minutes to run due to locks on the tables the procedure accesses. The locks are caused by USP_1 and USP_3.

    A stored procedure named USP_3 is used to update prices. USP_3 is composed of several UPDATE statements called in sequence from within a transaction. Currently, if one of the UPDATE statements fails, the stored procedure fails. A

    stored procedure named USP_4 calls stored procedures in the Sales, Customers, and Inventory databases.

    The nested stored procedures read tables from the Sales, Customers, and Inventory databases. USP_4 uses an EXECUTE AS clause.

    All nested stored procedures handle errors by using structured exception handling. A stored procedure named USP_5 calls several stored procedures in the same database. Security checks are performed each time USP_5 calls a stored

    procedure.

    You suspect that the security checks are slowing down the performance of USP_5. All stored procedures accessed by user applications call nested stored procedures.

    The nested stored procedures are never called directly.

    Design Requirements

    Data Recovery

    You must be able to recover data from the Inventory database if a storage failure occurs. You have a Recovery Time Objective (RTO) of 5 minutes.

    You must be able to recover data from the Dev database if data is lost accidentally. You have a Recovery Point Objective (RPO) of one day.

    Classification Changes

    You plan to change the way customers are classified. The new classifications will have four levels based on the number of orders. Classifications may be removed or added in the future. Management requests that historical data be

    maintained for the previous classifications. Security A group of junior database administrators must be able to manage security for the Sales database. The junior database administrators will not have any other administrative rights. A. Datum

    wants to track which users run each stored procedure.

    Storage

    ADatum has limited storage. Whenever possible, all storage space should be minimized for all databases and all backups.

    Error Handling

    There is currently no error handling code in any stored procedure.

    You plan to log errors in called stored procedures and nested stored procedures. Nested stored procedures are never called directly.

    You need to recommend a solution to minimize the amount of time it takes to execute USP_5. What should you include in the recommendation?

    A. Enable cross-database chaining.
    B. Use a server role to group all logins.
    C. Use the EXECUTE AS clause in USP_5.
    D. Copy USP.5 to each database.

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.