Do not worry about that if you are stuck in the MCSM 070-465 exam difficulties, CertBus will assist you all your way through the MCSM 070-465 Designing Database Solutions for Microsoft SQL Server 2012 exam with the most update MCSM 070-465 PDF and VCE dumps. CertBus exam 070-465 preparation materials are the most comprehensive material, covering every key knowledge of 070-465 Designing Database Solutions for Microsoft SQL Server 2012 exam.
We CertBus has our own expert team. They selected and published the latest 070-465 preparation materials from Microsoft Official Exam-Center: http://www.certgod.com/070-465.html
QUESTION NO:18
You need to recommend a solution to minimize the amount of time it takes to execute sp1. With what
should you recommend replacing Table1?
Case Study:
A. Datum Case B
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 2012 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 sp1 generates millions of rows of data for multiple reports. Sp1 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 sp2 is used to generate a product list. The product list contains the names of
products grouped by category. Sp2 takes several minutes to run due to locks on the tables the procedure
accesses. The locks are caused by sp1 and sp3.
A stored procedure named sp3 is used to update prices. Sp3 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 sp4 calls stored procedures in the Sales, Customers, and Inventory databases.
The nested stored procedures read tables from the Sales, Customers, and Inventory databases. Sp4 uses
an EXECUTE AS clause. All nested stored procedures handle errors by using structured exception
handling.
A stored procedure named sp5 calls several stored procedures in the same database. Security checks are
performed each time sp5 calls a stored procedure.
You suspect that the security checks are slowing down the performance of sp5.
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.
A. a table variable
B. a function
C. a view
D. a temporary table
Correct Answer: C
Explanation
Explanation/Reference:
QUESTION NO:9
You need to recommend a solution to minimize the amount of time it takes to execute sp5. What should
you include in the recommendation?
Case Study:
A. Datum Case A
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 2012 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 sp1 generates millions of rows of data for multiple reports. Sp1 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 sp2 is used to generate a product list. Sp2 takes several minutes to run due to
locks on the tables the procedure accesses. A stored procedure named sp3 is used to update prices. Sp3
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
sp4 calls stored procedures in the Sales, Customers, and Inventory databases. The nested stored
procedures read tables from the Sales, Customers, and Inventory databases. Sp4 uses an EXECUTE AS
clause.
A stored procedure named sp5 changes data in multiple databases. Security checks are performed each
time sp5 accesses a database.
You suspect that the security checks are slowing down the performance of sp5.
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. Use the EXECUTE AS clause in sp5.
B. Enable cross-database chaining.
C. Use a server role to group all logins.
D. Copy sp5 to each database.
Correct Answer: B
Explanation
Explanation/Reference:
http://msdn.microsoft.com/en-us/library/bb669059(v=vs.110).aspx
QUESTION NO:3
You need to recommend a disaster recovery strategy for the Inventory database. What should you include
in the recommendation?
Case Study:
A. Datum Case A
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 2012 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 sp1 generates millions of rows of data for multiple reports. Sp1 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 sp2 is used to generate a product list. Sp2 takes several minutes to run due to
locks on the tables the procedure accesses. A stored procedure named sp3 is used to update prices. Sp3
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
sp4 calls stored procedures in the Sales, Customers, and Inventory databases. The nested stored
procedures read tables from the Sales, Customers, and Inventory databases. Sp4 uses an EXECUTE AS
clause.
A stored procedure named sp5 changes data in multiple databases. Security checks are performed each
time sp5 accesses a database.
You suspect that the security checks are slowing down the performance of sp5.
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. SQL Server Failover Clustering
B. AlwaysOn Availability Groups
C. Peer-to-peer replication
D. Log shipping
Correct Answer: D
Explanation
Explanation/Reference:
QUESTION NO:7
You need to recommend a solution to meet the security requirements of the junior database
administrators. What should you include in the recommendation?
Case Study:
A. Datum Case A
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 2012 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 sp1 generates millions of rows of data for multiple reports. Sp1 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 sp2 is used to generate a product list. Sp2 takes several minutes to run due to
locks on the tables the procedure accesses. A stored procedure named sp3 is used to update prices. Sp3
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
sp4 calls stored procedures in the Sales, Customers, and Inventory databases. The nested stored
procedures read tables from the Sales, Customers, and Inventory databases. Sp4 uses an EXECUTE AS
clause.
A stored procedure named sp5 changes data in multiple databases. Security checks are performed each
time sp5 accesses a database.
You suspect that the security checks are slowing down the performance of sp5.
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. a database role
B. a server role
C. a shared login
D. a credential
Correct Answer: B
Explanation
Explanation/Reference:
or a database role
QUESTION NO:13
You need to recommend a solution for the error handling of sp3. The solution must minimize the amount of
custom code required. What should you recommend?
Case Study:
A. Datum Case B
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 2012 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 sp1 generates millions of rows of data for multiple reports. Sp1 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 sp2 is used to generate a product list. The product list contains the names of
products grouped by category. Sp2 takes several minutes to run due to locks on the tables the procedure
accesses. The locks are caused by sp1 and sp3.
A stored procedure named sp3 is used to update prices. Sp3 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 sp4 calls stored procedures in the Sales, Customers, and Inventory databases.
The nested stored procedures read tables from the Sales, Customers, and Inventory databases. Sp4 uses
an EXECUTE AS clause. All nested stored procedures handle errors by using structured exception
handling.
A stored procedure named sp5 calls several stored procedures in the same database. Security checks are
performed each time sp5 calls a stored procedure.
You suspect that the security checks are slowing down the performance of sp5.
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.
A. Use the @@ERROR variable in the nested stored procedures.
B. Use a TRY CATCH block in the called stored procedures.
C. Use the @@ERROR variable in the called stored procedures.
D. Use the RAISERROR command in the nested stored procedures.
Correct Answer: B
Explanation
Explanation/Reference:
A. Datum Case A
QUESTION NO:17
You need to recommend a solution to meet the security requirements of the junior database
administrators. What should you include in the recommendation?
Case Study:
A. Datum Case B
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 2012 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 sp1 generates millions of rows of data for multiple reports. Sp1 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 sp2 is used to generate a product list. The product list contains the names of
products grouped by category. Sp2 takes several minutes to run due to locks on the tables the procedure
accesses. The locks are caused by sp1 and sp3.
A stored procedure named sp3 is used to update prices. Sp3 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 sp4 calls stored procedures in the Sales, Customers, and Inventory databases.
The nested stored procedures read tables from the Sales, Customers, and Inventory databases. Sp4 uses
an EXECUTE AS clause. All nested stored procedures handle errors by using structured exception
handling.
A stored procedure named sp5 calls several stored procedures in the same database. Security checks are
performed each time sp5 calls a stored procedure.
You suspect that the security checks are slowing down the performance of sp5.
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.
A. a database role
B. a credential
C. a shared login
D. a server role
Correct Answer: A
Explanation
Explanation/Reference:
QUESTION NO:15
You need to recommend a solution to allow application users to perform UPDATE operations on the
database tables. The solution must meet the business requirements. What should you recommend?
Case Study:
A. Datum Case B
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 2012 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 sp1 generates millions of rows of data for multiple reports. Sp1 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 sp2 is used to generate a product list. The product list contains the names of
products grouped by category. Sp2 takes several minutes to run due to locks on the tables the procedure
accesses. The locks are caused by sp1 and sp3.
A stored procedure named sp3 is used to update prices. Sp3 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 sp4 calls stored procedures in the Sales, Customers, and Inventory databases.
The nested stored procedures read tables from the Sales, Customers, and Inventory databases. Sp4 uses
an EXECUTE AS clause. All nested stored procedures handle errors by using structured exception
handling.
A stored procedure named sp5 calls several stored procedures in the same database. Security checks are
performed each time sp5 calls a stored procedure.
You suspect that the security checks are slowing down the performance of sp5.
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.
A. Create stored procedures that use EXECUTE AS clauses.
B. Create a Policy-Based Management Policy.
C. Create functions that use EXECUTE AS clauses.
D. Create a user-defined database role and add users to the role.
Correct Answer: A
Explanation
Explanation/Reference:
QUESTION NO:11
You need to recommend a disaster recovery strategy for the Dev database. What should you include in the
recommendation?
Case Study:
A. Datum Case B
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 2012 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 sp1 generates millions of rows of data for multiple reports. Sp1 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 sp2 is used to generate a product list. The product list contains the names of
products grouped by category. Sp2 takes several minutes to run due to locks on the tables the procedure
accesses. The locks are caused by sp1 and sp3.
A stored procedure named sp3 is used to update prices. Sp3 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 sp4 calls stored procedures in the Sales, Customers, and Inventory databases.
The nested stored procedures read tables from the Sales, Customers, and Inventory databases. Sp4 uses
an EXECUTE AS clause. All nested stored procedures handle errors by using structured exception
handling.
A stored procedure named sp5 calls several stored procedures in the same database. Security checks are
performed each time sp5 calls a stored procedure.
You suspect that the security checks are slowing down the performance of sp5.
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.
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 backup, and differential backups.
D. The bulk-logged recovery model and full backups.
Correct Answer: A
Explanation
Explanation/Reference:
QUESTION NO:16
You need to recommend a solution to ensure that sp4 adheres to the security requirements. What should
you include in the recommendation?
Case Study:
A. Datum Case B
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 2012 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 sp1 generates millions of rows of data for multiple reports. Sp1 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 sp2 is used to generate a product list. The product list contains the names of
products grouped by category. Sp2 takes several minutes to run due to locks on the tables the procedure
accesses. The locks are caused by sp1 and sp3.
A stored procedure named sp3 is used to update prices. Sp3 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 sp4 calls stored procedures in the Sales, Customers, and Inventory databases.
The nested stored procedures read tables from the Sales, Customers, and Inventory databases. Sp4 uses
an EXECUTE AS clause. All nested stored procedures handle errors by using structured exception
handling.
A stored procedure named sp5 calls several stored procedures in the same database. Security checks are
performed each time sp5 calls a stored procedure.
You suspect that the security checks are slowing down the performance of sp5.
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.
A. Configure data manipulation language (DML) triggers.
B. Enable SQL Server Audit.
C. Enable C2 audit tracing.
D. Enable trace flags.
Correct Answer: B
Explanation
Explanation/Reference:
QUESTION NO:8
You need to recommend a solution to minimize the amount of time it takes to execute sp1. With what
should you recommend replacing Table1?
Case Study:
A. Datum Case A
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 2012 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 sp1 generates millions of rows of data for multiple reports. Sp1 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 sp2 is used to generate a product list. Sp2 takes several minutes to run due to
locks on the tables the procedure accesses. A stored procedure named sp3 is used to update prices. Sp3
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
sp4 calls stored procedures in the Sales, Customers, and Inventory databases. The nested stored
procedures read tables from the Sales, Customers, and Inventory databases. Sp4 uses an EXECUTE AS
clause.
A stored procedure named sp5 changes data in multiple databases. Security checks are performed each
time sp5 accesses a database.
You suspect that the security checks are slowing down the performance of sp5.
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. a temporary table
B. a function
C. a view
D. a table variable
Correct Answer: C
Explanation
Explanation/Reference:
CertBus exam braindumps are pass guaranteed. We guarantee your pass for the 070-465 exam successfully with our Microsoft materials. CertBus Designing Database Solutions for Microsoft SQL Server 2012 exam PDF and VCE are the latest and most accurate. We have the best Microsoft in our team to make sure CertBus Designing Database Solutions for Microsoft SQL Server 2012 exam questions and answers are the most valid. CertBus exam Designing Database Solutions for Microsoft SQL Server 2012 exam dumps will help you to be the Microsoft specialist, clear your 070-465 exam and get the final success.
070-465 Latest questions and answers on Google Drive(100% Free Download): https://drive.google.com/file/d/0B_3QX8HGRR1mTDF5d29SdGs1NUk/view?usp=sharing
070-465 Microsoft exam dumps (100% Pass Guaranteed) from CertBus: http://www.certgod.com/070-465.html [100% Exam Pass Guaranteed]
Why select/choose CertBus?
Millions of interested professionals can touch the destination of success in exams by certgod.com. products which would be available, affordable, updated and of really best quality to overcome the difficulties of any course outlines. Questions and Answers material is updated in highly outclass manner on regular basis and material is released periodically and is available in testing centers with whom we are maintaining our relationship to get latest material.