시험덤프
매달, 우리는 1000명 이상의 사람들이 시험 준비를 잘하고 시험을 잘 통과할 수 있도록 도와줍니다.
  / 70-465 덤프  / 70-465 문제 연습

Microsoft 70-465 시험

Designing Database Solutions for Microsoft SQL Server 2012 온라인 연습

최종 업데이트 시간: 2024년04월25일,111문제.

당신은 온라인 연습 문제를 통해 Microsoft 70-465 시험지식에 대해 자신이 어떻게 알고 있는지 파악한 후 시험 참가 신청 여부를 결정할 수 있다.

시험을 100% 합격하고 시험 준비 시간을 35% 절약하기를 바라며 70-465 덤프 (최신 실제 시험 문제)를 사용 선택하여 현재 최신 111개의 시험 문제와 답을 포함하십시오.

 / 3

Question No : 1


You need to recommend a solution to meet the security requirements of the junior database administrators.
What should you include in the recommendation?

정답:
Explanation:
* Scenario: A group of junior database administrators must be able to view the server state of the SQL Server instance that hosts the Sales database. The junior database administrators will not have any other administrative rights.
* Credentials provide a way to allow SQL Server Authentication users to have an identity outside of SQL Server. Credentials can also be used when a SQL Server Authentication user needs access to a domain resource, such as a file location to store a backup.

Question No : 2


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

정답:
Explanation:
* Scenario:
/ You must be able to recover data from the Inventory database if a storage failure occurs. You have a Recovery Point Objective (RPO) of one hour.
/ A. Datum Corporation has offices in Miami and Montreal.
* SQL Server Log shipping allows you to automatically send transaction log backups from a primary database on a primary server instance to one or more secondary databases on separate secondary server instances. The transaction log backups are applied to each of the secondary databases individually.

Question No : 3


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

정답:
Explanation:
* Scenario: 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.
* The simple recovery model provides the simplest form of backup and restore. This recovery model supports both database backups and file backups, but does not support log backups. Transaction log data is backed up only with the associated user data. The absence of log backups simplifies managing backup and restore. . However, a database can be restored only to the end of the most recent backup.
Incorrect:
Not B: The bulk-logged recovery model is a special-purpose recovery model that should be used only intermittently to improve the performance of certain large-scale bulk operations, such as bulk imports of large amounts of data.

Question No : 4


You need to recommend a solution to minimize the amount of time it takes to execute USP_1.
With what should you recommend replacing Table1?

정답:
Explanation:
Scenario: 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 a table in the Products database and searches for information in Table1 based on input from the Products table. After the process is complete, Table1 is deleted.

Question No : 5


You need to recommend a solution for the error handling of USP_3. The solution must minimize the amount of custom code required.
What should you recommend?

정답:
Explanation:
* Must catch and handle the error.
* Scenario: 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 continues to execute.

Question No : 6


Topic 4, A. Datum

Overview
General Overview
A. Datum 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 a 5-ms latency.
A. Datum standardizes its database platform by using SQL Server 2014 Standard 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 used mainly for reports. The database is recreated every day. 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 a table in the Products database and searches for information in Table1 based on input from the Products table. After the process is complete, Table1 is deleted.
A stored procedure named USP_2 is used to generate a product list. USP_2 takes several minutes to run due to locks on the tables the procedure accesses.
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 continues to execute.
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.
A stored procedure named USP_5 changes data in multiple databases. Security checks are performed each time USP_5 accesses a database.
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 Point Objective (RPO) of one hour.
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 view the server state of the SQL Server instance that hosts 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 solution to minimize the amount of time it takes to execute USP_2.
What should you recommend?
A. A database snapshot
B. A table variable
C. A temporary table
D. Snapshot isolation

정답: C
Explanation:
Scenario: A stored procedure named USP_2 is used to generate a product list. USP_2 takes several minutes to run due to locks on the tables the procedure accesses.

Question No : 7


What should you create in Azure to support the creation of the backups for DB1?

정답:

Question No : 8


You need to recommend a solution to back up DB1.
What should you include in the recommendation?

정답:
Explanation:
For SQL Server the Azure Blob Storage service offers a better alternative to the often used tape option to archive backups. Tape storage might require physical transportation to an off-site facility and measures to protect the media. Storing your backups in Azure Blob Storage provides an instant, highly available, and a durable archiving option.
Reference: How to Use Azure Storage for SQL Server Backup and Restore
https://azure.microsoft.com/en-us/documentation/articles/storage-use-storage-sql-server-backup-restore/

Question No : 9


You need to configure security on the Product table for customer support representatives.
Which two actions should you perform? Each correct answer presents part of the solution. Choose two.

정답:
Explanation:
Give access to CustomerSupport through a view. The view must include all these columns (refer to scenario).

Question No : 10


DRAG DROP
You need to create the CustomerAccess table to support the reporting and performance requirements.
Develop the solution by selecting and arranging the required code blocks in the correct order. You may not need all of the code blocks.



정답:


Explanation:
* Scenario: During your investigation, you discover that the sales force reports are causing significant contention.
* Step 1: add filegroup
* Step 2: add file
* Step 3: create table on filegroup
/ CREATE TABLE ON {<partition_scheme> | filegroup | "default" }
Specifies the partition scheme or filegroup on which the table is stored.

Question No : 11


DRAG DROP
You need to create a job to automate some database maintenance tasks.
Which code fragment should you use in each location in the command to complete one of the commands you will need to include in the job? To answer, drag the appropriate lines of code to the correct locations in the command. Each line of code may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.



정답:


Explanation:
UPDATE STATISTICS WITH FULLSCAN NORECOMPUTE
Update statistics by using FULLSCAN and NORECOMPUTE
The following example updates the Products statistics in the Product table, forces a full scan of all rows in the Product table, and turns off automatic statistics for the Products statistics.
USE AdventureWorks2012;
GO
UPDATE STATISTICS Production.Product (Products)
WITH FULLSCAN,
NORECOMPUTE;
GO

Question No : 12


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.

정답:
Explanation:
* Scenario: 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 memory-optimized table.

Question No : 13


DRAG DROP
The business requires a satellite office to have a local copy of the data to report against.
You want to implement a solution to support the requirements. You need to establish a new Availability Group between the two servers.
Develop the solution by selecting and arranging the required code blocks in the correct order. You may not need all of the code blocks.



정답:


Explanation:
* The following table lists the basic tasks involved in creating and configuring an availability group and indicates which Transact-SQL statements to use for these tasks. The AlwaysOn Availability Groups tasks must be performed in the sequence in which they are presented in the table.
(step 2) Create database mirroring endpoint (once per SQL Server instance)
CREATE ENDPOINT endpointName … FOR DATABASE_MIRRORING
(step 3) Create availability group
CREATE AVAILABILITY GROUP
(step 4) Join secondary replica to availability group
ALTER AVAILABILITY GROUP group_name JOIN
(step 5-6)
Prepare the secondary database
BACKUP and RESTORE.
Create backups on the server instance that hosts the primary replica.
Restore backups on each server instance that hosts a secondary replica, using RESTORE WITH NORECOVERY.
(step 7)
Start data synchronization by joining each secondary database to availability group
ALTER DATABASE database_name SET HADR AVAILABILITY GROUP = group_name
Reference: Create an Availability Group (Transact-SQL)

Question No : 14


You need to implement changes to the system to reduce contention and improve performance of the SalesOrderDetail table.
Which three actions should you perform? Each correct answer presents part of the solution. Choose three.

정답:
Explanation:
* Scenario:
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.
* 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.
* READ_COMMITTED_SNAPSHOT { ON | OFF }
ON
Enables Read-Committed Snapshot option at the database level. When it is enabled, DML statements start generating row versions even when no transaction uses Snapshot Isolation. Once this option is enabled, the transactions specifying the read committed isolation level use row versioning instead of locking. When a transaction runs at the read committed isolation level, all statements see a snapshot of data as it exists at the start of the statement.
OFF
Turns off Read-Committed Snapshot option at the database level. Transactions specifying the READ COMMITTED isolation level use locking.

Question No : 15


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.

정답:
Explanation:
* Scenario: 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.
* Need to store files in the cloud.
* Manage your backups to Windows Azure: Using the same methods used to backup to DISK and TAPE, you can now back up to Windows Azure storage by Specifying URL as the backup destination. You can use this feature to manually backup or configure your own backup strategy like you would for a local storage or other off-site options. This feature is also referred to as SQL Server Backup to URL.

 / 3