PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

You need to provide a group of users from the IT and Manufacturing departments the minimum administrative righ

Topic 1, Fairstone Manufacturing Inc.
General Overview
You are the Senior Database Administrator (DBA) for a manufacturing company named Fairstone
Manufacturing.
Fairstone Manufacturing is based in the New York area. The company has two offices: a main
office in the city and a branch office just outside the city. The company has four factories where
their products are manufactured. Two factories are in the New York area and the other two
factories are in Washington.
Network Connectivity
The two offices are connected by a 10 Mbps dedicated WAN link.
SQL Server Environment
The main office has four SQL Server 2012 Standard Edition servers named MainDB1, MainDB2,
MainDB3 and MainDB4.
The branch office has two SQL Server 2012 Standard Edition servers named BranchDB1 and
BranchDB2.
The main office has a Development department. All databases used by the Development
department are hosted on MainDB3 and MainDB4.
MainDB1 and MainDB2 host the following databases:
Products
Manufacturing
Sales
HR
Customers
DailyReportsTemp
BranchDB1 and BranchDB2 host the same databases as MainDB1 and MainDB2.
The DailyReportsTemp database is a temporary database that is recreated every day and used for
reporting purposes.
One of the tables in the Customer database lists all the customers. Another table linked to the
customers table contains a list of classifications for the customers. The classifications are Hot,
Warm and Cold based on the number of orders placed by the customers in the last year. The
customers are classified according to the following criteria:
Hot – Over 100 orders placed in a year.
Warm – Between 50 and 100 orders placed in a year.
Cold – Under 50 orders placed in a year.
Stored Procedures
Three tables in the Manufacturing database are modified by a stored procedure named ManProc1.
A segment of code from ManProc1 is as follows:
CREATE PROCEDURE Manufacturing.ManProc1
AS
BEGIN TRANSACTION
UPDATE Manufacturing.Type …
UPDATE Manufacturing.Version …
UPDATE Manufacturing.Revision …
COMMIT TRANSACTION
GO
The same three tables are also modified by a stored procedure named ManProc2.
A segment of code from ManProc2 is as follows:
CREATE PROCEDURE Manufacturing.ManProc2
AS
BEGIN TRANSACTION
UPDATE Manufacturing.Revision …
UPDATE Manufacturing.Type …
UPDATE Manufacturing.Version …
COMMIT TRANSACTION
GO
A product list in the Products database is updated using information from tables in the
Manufacturing database by a stored procedure named ProductUpdateProc. Locks on tables in the
Manufacturing database often cause ProductUpdateProc to take a long time to complete.
A list of manufacturing processes required to create each product is stored in tables in the
Manufacturing database and updated by a stored procedure named ProcessUpdateProc. The
ProcessUpdateProc stored procedure contains several UPDATE statements. The UPDATE
statements are configured to be called in a specific order. The ProcessUpdateProc stored
procedure continues to run in the event of a failure of one of the UPDATE statements. This can
cause inaccurate results in the manufacturing process list.
Sales Director Statement:
The Sales Director has made the following observations about the current database design:
The current customer classification system needs to be changed. Currently the customers are
classified by the number of orders placed in the last year. This information is an unreliable guide
as it does not take in to account the size of the orders. I would suggest a trial run of a classification
system based on the revenue generated by the orders placed in the last year. We may add more
than the current three classification types in future. We should have a method of recording
changes to the classifications.
IT Manager Statement:
The IT Manager has listed the following requirements for the SQL Server and database
environment:
We need to provide a group of users from the IT and Manufacturing departments the minimum
administrative rights to view database information and server state for the Manufacturing database
on MainDB1.
The Sales database takes too long to back up due to the large amount of historical sales order
data in the database. We need to reduce the backup time for this database.
The DailyReportsTemp database takes four hours to back up. We need to be able to recover the
DailyReportsTemp database in less than one hour if the database storage hardware fails.
We need to be able to immediately return the Manufacturing database to its previous state if the
ProcessUpdateProc stored procedure fails to update the process information correctly.

I also want the ProcessUpdateProc stored procedure to stop running in the event of a failure of
one of the UPDATE statements.
IT Administrators need to be able to monitor the disk space used on the SQL Servers by running
real-time reports on the disk usage.
The Developers would like to install second instances of SQL Server on MainDB3 and MainDB4.
They would like to assign each instance to specific processors on the SQL Servers.
************************************************************

You need to provide a group of users from the IT and Manufacturing departments the
minimum administrative rights to view database information and server state for the
Manufacturing database on MainDB1.
What should you do?

What should you recommend?

Topic 1, Fairstone Manufacturing Inc.
General Overview
You are the Senior Database Administrator (DBA) for a manufacturing company named Fairstone
Manufacturing.
Fairstone Manufacturing is based in the New York area. The company has two offices: a main
office in the city and a branch office just outside the city. The company has four factories where
their products are manufactured. Two factories are in the New York area and the other two
factories are in Washington.
Network Connectivity
The two offices are connected by a 10 Mbps dedicated WAN link.
SQL Server Environment
The main office has four SQL Server 2012 Standard Edition servers named MainDB1, MainDB2,
MainDB3 and MainDB4.
The branch office has two SQL Server 2012 Standard Edition servers named BranchDB1 and
BranchDB2.
The main office has a Development department. All databases used by the Development
department are hosted on MainDB3 and MainDB4.
MainDB1 and MainDB2 host the following databases:
Products
Manufacturing
Sales
HR
Customers
DailyReportsTemp
BranchDB1 and BranchDB2 host the same databases as MainDB1 and MainDB2.
The DailyReportsTemp database is a temporary database that is recreated every day and used for
reporting purposes.
One of the tables in the Customer database lists all the customers. Another table linked to the
customers table contains a list of classifications for the customers. The classifications are Hot,
Warm and Cold based on the number of orders placed by the customers in the last year. The
customers are classified according to the following criteria:
Hot – Over 100 orders placed in a year.
Warm – Between 50 and 100 orders placed in a year.
Cold – Under 50 orders placed in a year.
Stored Procedures
Three tables in the Manufacturing database are modified by a stored procedure named ManProc1.
A segment of code from ManProc1 is as follows:
CREATE PROCEDURE Manufacturing.ManProc1
AS
BEGIN TRANSACTION
UPDATE Manufacturing.Type …
UPDATE Manufacturing.Version …
UPDATE Manufacturing.Revision …
COMMIT TRANSACTION
GO
The same three tables are also modified by a stored procedure named ManProc2.
A segment of code from ManProc2 is as follows:
CREATE PROCEDURE Manufacturing.ManProc2
AS
BEGIN TRANSACTION
UPDATE Manufacturing.Revision …
UPDATE Manufacturing.Type …
UPDATE Manufacturing.Version …
COMMIT TRANSACTION
GO
A product list in the Products database is updated using information from tables in the
Manufacturing database by a stored procedure named ProductUpdateProc. Locks on tables in the
Manufacturing database often cause ProductUpdateProc to take a long time to complete.
A list of manufacturing processes required to create each product is stored in tables in the
Manufacturing database and updated by a stored procedure named ProcessUpdateProc. The
ProcessUpdateProc stored procedure contains several UPDATE statements. The UPDATE
statements are configured to be called in a specific order. The ProcessUpdateProc stored
procedure continues to run in the event of a failure of one of the UPDATE statements. This can
cause inaccurate results in the manufacturing process list.
Sales Director Statement:
The Sales Director has made the following observations about the current database design:
The current customer classification system needs to be changed. Currently the customers are
classified by the number of orders placed in the last year. This information is an unreliable guide
as it does not take in to account the size of the orders. I would suggest a trial run of a classification
system based on the revenue generated by the orders placed in the last year. We may add more
than the current three classification types in future. We should have a method of recording
changes to the classifications.
IT Manager Statement:
The IT Manager has listed the following requirements for the SQL Server and database
environment:
We need to provide a group of users from the IT and Manufacturing departments the minimum
administrative rights to view database information and server state for the Manufacturing database
on MainDB1.
The Sales database takes too long to back up due to the large amount of historical sales order
data in the database. We need to reduce the backup time for this database.
The DailyReportsTemp database takes four hours to back up. We need to be able to recover the
DailyReportsTemp database in less than one hour if the database storage hardware fails.
We need to be able to immediately return the Manufacturing database to its previous state if the
ProcessUpdateProc stored procedure fails to update the process information correctly.

I also want the ProcessUpdateProc stored procedure to stop running in the event of a failure of
one of the UPDATE statements.
IT Administrators need to be able to monitor the disk space used on the SQL Servers by running
real-time reports on the disk usage.
The Developers would like to install second instances of SQL Server on MainDB3 and MainDB4.
They would like to assign each instance to specific processors on the SQL Servers.
************************************************************

You need to address the Sales Director’s requirements regarding the customer
classifications.
You need to recommend a solution for changing the classifications.
What should you recommend?

You need to address the requirements for disk usage monitoring for the SQL Servers

Topic 1, Fairstone Manufacturing Inc.
General Overview
You are the Senior Database Administrator (DBA) for a manufacturing company named Fairstone
Manufacturing.
Fairstone Manufacturing is based in the New York area. The company has two offices: a main
office in the city and a branch office just outside the city. The company has four factories where
their products are manufactured. Two factories are in the New York area and the other two
factories are in Washington.
Network Connectivity
The two offices are connected by a 10 Mbps dedicated WAN link.
SQL Server Environment
The main office has four SQL Server 2012 Standard Edition servers named MainDB1, MainDB2,
MainDB3 and MainDB4.
The branch office has two SQL Server 2012 Standard Edition servers named BranchDB1 and
BranchDB2.
The main office has a Development department. All databases used by the Development
department are hosted on MainDB3 and MainDB4.
MainDB1 and MainDB2 host the following databases:
Products
Manufacturing
Sales
HR
Customers
DailyReportsTemp
BranchDB1 and BranchDB2 host the same databases as MainDB1 and MainDB2.
The DailyReportsTemp database is a temporary database that is recreated every day and used for
reporting purposes.
One of the tables in the Customer database lists all the customers. Another table linked to the
customers table contains a list of classifications for the customers. The classifications are Hot,
Warm and Cold based on the number of orders placed by the customers in the last year. The
customers are classified according to the following criteria:
Hot – Over 100 orders placed in a year.
Warm – Between 50 and 100 orders placed in a year.
Cold – Under 50 orders placed in a year.
Stored Procedures
Three tables in the Manufacturing database are modified by a stored procedure named ManProc1.
A segment of code from ManProc1 is as follows:
CREATE PROCEDURE Manufacturing.ManProc1
AS
BEGIN TRANSACTION
UPDATE Manufacturing.Type …
UPDATE Manufacturing.Version …
UPDATE Manufacturing.Revision …
COMMIT TRANSACTION
GO
The same three tables are also modified by a stored procedure named ManProc2.
A segment of code from ManProc2 is as follows:
CREATE PROCEDURE Manufacturing.ManProc2
AS
BEGIN TRANSACTION
UPDATE Manufacturing.Revision …
UPDATE Manufacturing.Type …
UPDATE Manufacturing.Version …
COMMIT TRANSACTION
GO
A product list in the Products database is updated using information from tables in the
Manufacturing database by a stored procedure named ProductUpdateProc. Locks on tables in the
Manufacturing database often cause ProductUpdateProc to take a long time to complete.
A list of manufacturing processes required to create each product is stored in tables in the
Manufacturing database and updated by a stored procedure named ProcessUpdateProc. The
ProcessUpdateProc stored procedure contains several UPDATE statements. The UPDATE
statements are configured to be called in a specific order. The ProcessUpdateProc stored
procedure continues to run in the event of a failure of one of the UPDATE statements. This can
cause inaccurate results in the manufacturing process list.
Sales Director Statement:
The Sales Director has made the following observations about the current database design:
The current customer classification system needs to be changed. Currently the customers are
classified by the number of orders placed in the last year. This information is an unreliable guide
as it does not take in to account the size of the orders. I would suggest a trial run of a classification
system based on the revenue generated by the orders placed in the last year. We may add more
than the current three classification types in future. We should have a method of recording
changes to the classifications.
IT Manager Statement:
The IT Manager has listed the following requirements for the SQL Server and database
environment:
We need to provide a group of users from the IT and Manufacturing departments the minimum
administrative rights to view database information and server state for the Manufacturing database
on MainDB1.
The Sales database takes too long to back up due to the large amount of historical sales order
data in the database. We need to reduce the backup time for this database.
The DailyReportsTemp database takes four hours to back up. We need to be able to recover the
DailyReportsTemp database in less than one hour if the database storage hardware fails.
We need to be able to immediately return the Manufacturing database to its previous state if the
ProcessUpdateProc stored procedure fails to update the process information correctly.

I also want the ProcessUpdateProc stored procedure to stop running in the event of a failure of
one of the UPDATE statements.
IT Administrators need to be able to monitor the disk space used on the SQL Servers by running
real-time reports on the disk usage.
The Developers would like to install second instances of SQL Server on MainDB3 and MainDB4.
They would like to assign each instance to specific processors on the SQL Servers.
************************************************************

You need to address the requirements for disk usage monitoring for the SQL Servers.
What should you do?

What should you configure?

Topic 1, Fairstone Manufacturing Inc.
General Overview
You are the Senior Database Administrator (DBA) for a manufacturing company named Fairstone
Manufacturing.
Fairstone Manufacturing is based in the New York area. The company has two offices: a main
office in the city and a branch office just outside the city. The company has four factories where
their products are manufactured. Two factories are in the New York area and the other two
factories are in Washington.
Network Connectivity
The two offices are connected by a 10 Mbps dedicated WAN link.
SQL Server Environment
The main office has four SQL Server 2012 Standard Edition servers named MainDB1, MainDB2,
MainDB3 and MainDB4.
The branch office has two SQL Server 2012 Standard Edition servers named BranchDB1 and
BranchDB2.
The main office has a Development department. All databases used by the Development
department are hosted on MainDB3 and MainDB4.
MainDB1 and MainDB2 host the following databases:
Products
Manufacturing
Sales
HR
Customers
DailyReportsTemp
BranchDB1 and BranchDB2 host the same databases as MainDB1 and MainDB2.
The DailyReportsTemp database is a temporary database that is recreated every day and used for
reporting purposes.
One of the tables in the Customer database lists all the customers. Another table linked to the
customers table contains a list of classifications for the customers. The classifications are Hot,
Warm and Cold based on the number of orders placed by the customers in the last year. The
customers are classified according to the following criteria:
Hot – Over 100 orders placed in a year.
Warm – Between 50 and 100 orders placed in a year.
Cold – Under 50 orders placed in a year.
Stored Procedures
Three tables in the Manufacturing database are modified by a stored procedure named ManProc1.
A segment of code from ManProc1 is as follows:
CREATE PROCEDURE Manufacturing.ManProc1
AS
BEGIN TRANSACTION
UPDATE Manufacturing.Type …
UPDATE Manufacturing.Version …
UPDATE Manufacturing.Revision …
COMMIT TRANSACTION
GO
The same three tables are also modified by a stored procedure named ManProc2.
A segment of code from ManProc2 is as follows:
CREATE PROCEDURE Manufacturing.ManProc2
AS
BEGIN TRANSACTION
UPDATE Manufacturing.Revision …
UPDATE Manufacturing.Type …
UPDATE Manufacturing.Version …
COMMIT TRANSACTION
GO
A product list in the Products database is updated using information from tables in the
Manufacturing database by a stored procedure named ProductUpdateProc. Locks on tables in the
Manufacturing database often cause ProductUpdateProc to take a long time to complete.
A list of manufacturing processes required to create each product is stored in tables in the
Manufacturing database and updated by a stored procedure named ProcessUpdateProc. The
ProcessUpdateProc stored procedure contains several UPDATE statements. The UPDATE
statements are configured to be called in a specific order. The ProcessUpdateProc stored
procedure continues to run in the event of a failure of one of the UPDATE statements. This can
cause inaccurate results in the manufacturing process list.
Sales Director Statement:
The Sales Director has made the following observations about the current database design:
The current customer classification system needs to be changed. Currently the customers are
classified by the number of orders placed in the last year. This information is an unreliable guide
as it does not take in to account the size of the orders. I would suggest a trial run of a classification
system based on the revenue generated by the orders placed in the last year. We may add more
than the current three classification types in future. We should have a method of recording
changes to the classifications.
IT Manager Statement:
The IT Manager has listed the following requirements for the SQL Server and database
environment:
We need to provide a group of users from the IT and Manufacturing departments the minimum
administrative rights to view database information and server state for the Manufacturing database
on MainDB1.
The Sales database takes too long to back up due to the large amount of historical sales order
data in the database. We need to reduce the backup time for this database.
The DailyReportsTemp database takes four hours to back up. We need to be able to recover the
DailyReportsTemp database in less than one hour if the database storage hardware fails.
We need to be able to immediately return the Manufacturing database to its previous state if the
ProcessUpdateProc stored procedure fails to update the process information correctly.

I also want the ProcessUpdateProc stored procedure to stop running in the event of a failure of
one of the UPDATE statements.
IT Administrators need to be able to monitor the disk space used on the SQL Servers by running
real-time reports on the disk usage.
The Developers would like to install second instances of SQL Server on MainDB3 and MainDB4.
They would like to assign each instance to specific processors on the SQL Servers.
************************************************************

You need to enable the Developers to assign SQL Server instances on MainDB3 and
MainDB4 to specific processors on the servers.
What should you configure?

Which of the following actions should you take?

Topic 1, Scenario 1
Application Data
You are employed as a developer at ABC.com. The ABC.com network consists of a single domain
named ABC.com.
ABC.com has two servers, named ABC-SR13 and ABC-SR14, which are running SQL Server
2012. ABC.com wants to makes use of a recently developed application to plan and run music
concerts. However, users inform you that errors exist, and that the application reacts sluggishly.
You have been tasked with making sure that the related problems are sorted out. You intend to
develop a database to reinforce the application. This database will be hosted on ABC-SR13.
You have instructed a junior database developer to generate a script for creating tables, a script
for creating stored procedures, and a script for creating indexes.
ABC-SR14 hosts a database, named Concerts. The Concerts database includes a table, named
ArtistReview, which will review modifications to a table named Artists.
An existing stored procedure, named usp_UpdateArtistsName, will be only implemented by other
stored procedures that continuously deal with transactions. The names of Artists will be retrieved
via another existing stored procedure, named usp_SelectArtistsByName, which is also configured
to read uncommitted data. sessions taking place at some point will be retrieved via stored
procedure, named usp_GetFutureSessions.
********************************************************

You have been instructed to make sure that the auditing requirements of usp_UpdateArtistName
are supported by ABC-SR13.
Which of the following actions should you take?

You need to modify the Manufacturing.ManProc1 and Manufacturing.ManProc2 stored procedures to minimize the ris

Topic 1, Fairstone Manufacturing Inc.
General Overview
You are the Senior Database Administrator (DBA) for a manufacturing company named Fairstone
Manufacturing.
Fairstone Manufacturing is based in the New York area. The company has two offices: a main
office in the city and a branch office just outside the city. The company has four factories where
their products are manufactured. Two factories are in the New York area and the other two
factories are in Washington.
Network Connectivity
The two offices are connected by a 10 Mbps dedicated WAN link.
SQL Server Environment
The main office has four SQL Server 2012 Standard Edition servers named MainDB1, MainDB2,
MainDB3 and MainDB4.
The branch office has two SQL Server 2012 Standard Edition servers named BranchDB1 and
BranchDB2.
The main office has a Development department. All databases used by the Development
department are hosted on MainDB3 and MainDB4.
MainDB1 and MainDB2 host the following databases:
Products
Manufacturing
Sales
HR
Customers
DailyReportsTemp
BranchDB1 and BranchDB2 host the same databases as MainDB1 and MainDB2.
The DailyReportsTemp database is a temporary database that is recreated every day and used for
reporting purposes.
One of the tables in the Customer database lists all the customers. Another table linked to the
customers table contains a list of classifications for the customers. The classifications are Hot,
Warm and Cold based on the number of orders placed by the customers in the last year. The
customers are classified according to the following criteria:
Hot – Over 100 orders placed in a year.
Warm – Between 50 and 100 orders placed in a year.
Cold – Under 50 orders placed in a year.
Stored Procedures
Three tables in the Manufacturing database are modified by a stored procedure named ManProc1.
A segment of code from ManProc1 is as follows:
CREATE PROCEDURE Manufacturing.ManProc1
AS
BEGIN TRANSACTION
UPDATE Manufacturing.Type …
UPDATE Manufacturing.Version …
UPDATE Manufacturing.Revision …
COMMIT TRANSACTION
GO
The same three tables are also modified by a stored procedure named ManProc2.
A segment of code from ManProc2 is as follows:
CREATE PROCEDURE Manufacturing.ManProc2
AS
BEGIN TRANSACTION
UPDATE Manufacturing.Revision …
UPDATE Manufacturing.Type …
UPDATE Manufacturing.Version …
COMMIT TRANSACTION
GO
A product list in the Products database is updated using information from tables in the
Manufacturing database by a stored procedure named ProductUpdateProc. Locks on tables in the
Manufacturing database often cause ProductUpdateProc to take a long time to complete.
A list of manufacturing processes required to create each product is stored in tables in the
Manufacturing database and updated by a stored procedure named ProcessUpdateProc. The
ProcessUpdateProc stored procedure contains several UPDATE statements. The UPDATE
statements are configured to be called in a specific order. The ProcessUpdateProc stored
procedure continues to run in the event of a failure of one of the UPDATE statements. This can
cause inaccurate results in the manufacturing process list.
Sales Director Statement:
The Sales Director has made the following observations about the current database design:
The current customer classification system needs to be changed. Currently the customers are
classified by the number of orders placed in the last year. This information is an unreliable guide
as it does not take in to account the size of the orders. I would suggest a trial run of a classification
system based on the revenue generated by the orders placed in the last year. We may add more
than the current three classification types in future. We should have a method of recording
changes to the classifications.
IT Manager Statement:
The IT Manager has listed the following requirements for the SQL Server and database
environment:
We need to provide a group of users from the IT and Manufacturing departments the minimum
administrative rights to view database information and server state for the Manufacturing database
on MainDB1.
The Sales database takes too long to back up due to the large amount of historical sales order
data in the database. We need to reduce the backup time for this database.
The DailyReportsTemp database takes four hours to back up. We need to be able to recover the
DailyReportsTemp database in less than one hour if the database storage hardware fails.
We need to be able to immediately return the Manufacturing database to its previous state if the
ProcessUpdateProc stored procedure fails to update the process information correctly.

I also want the ProcessUpdateProc stored procedure to stop running in the event of a failure of
one of the UPDATE statements.
IT Administrators need to be able to monitor the disk space used on the SQL Servers by running
real-time reports on the disk usage.
The Developers would like to install second instances of SQL Server on MainDB3 and MainDB4.
They would like to assign each instance to specific processors on the SQL Servers.
************************************************************

You need to modify the Manufacturing.ManProc1 and Manufacturing.ManProc2 stored
procedures to minimize the risk of deadlocks when the stored procedures execute.
What should you do?

Which of the following actions should you take?

Topic 1, Scenario 1
Application Data
You are employed as a developer at ABC.com. The ABC.com network consists of a single domain
named ABC.com.
ABC.com has two servers, named ABC-SR13 and ABC-SR14, which are running SQL Server
2012. ABC.com wants to makes use of a recently developed application to plan and run music
concerts. However, users inform you that errors exist, and that the application reacts sluggishly.
You have been tasked with making sure that the related problems are sorted out. You intend to
develop a database to reinforce the application. This database will be hosted on ABC-SR13.
You have instructed a junior database developer to generate a script for creating tables, a script
for creating stored procedures, and a script for creating indexes.
ABC-SR14 hosts a database, named Concerts. The Concerts database includes a table, named
ArtistReview, which will review modifications to a table named Artists.
An existing stored procedure, named usp_UpdateArtistsName, will be only implemented by other
stored procedures that continuously deal with transactions. The names of Artists will be retrieved
via another existing stored procedure, named usp_SelectArtistsByName, which is also configured
to read uncommitted data. sessions taking place at some point will be retrieved via stored
procedure, named usp_GetFutureSessions.
********************************************************

You have received instructions to make sure that server-side paging is supported by the
usp_SelectArtistsByName stored procedure. You want to make sure that actual development is
reduced as much as possible.
Which of the following actions should you take?

Which of the following would be the best solution?

Topic 2, Leafield Solutions
General Overview
You are the Senior Database Administrator (DBA) for a software development company named
Leafield Solutions.
The company develops software applications custom designed to meet customer requirements.
Requirements
Leafield Solutions has been asked by a customer to develop a web-based Enterprise Resource
Planning and Management application. The new application will eventually replace a desktop
application that the customer is currently using. The current application will remain in use while the
users are trained to use the new web-based application.
You need to design the SQL Server and database infrastructure for the web-based application.
Databases
You plan to implement databases named Customers, Sales, Products, Current_Inventory, and
TempReporting.
The Sales database contains a table named OrderTotals and a table named SalesInfo. A stored
procedure named SPUpdateSalesInfo reads data in the OrderTotals table and modifies data in the
SalesInfo table. The stored procedure then reads data in the OrderTotals table a second time and
makes further changes to the information in the SalesInfo table.
The Current_Inventory database contains a large table named Inv_Current. The Inv_Current table
has a clustered index for the primary key and a nonclustered index. The primary key column uses
the identity property. The data in the Inv_Current table is over 120GB in size. The tables in the
Current_Inventory database are accessed by multiple queries in the Sales database. Another
table in the Current_Inventory database contains a self-join with an unlimited number of
hierarchies. This table is modified by a stored procedure named SPUpdate2. An external
application named ExternalApp1 will periodically query the Current_Inventory database to
generate statistical information.
The TempReporting database contains a single table named GenInfo. A stored procedure named
SPUPdateGenInfo combines data from multiple databases and generates millions of rows of data
in the GenInfo table. The GenInfo table is used for reports. When the information in GenInfo is
generated, a reporting process reads data from the Inv_Current table and queries information in
the GenInfo table based on that data. The GenInfo table is deleted after the reporting process
completes.
The Products database contains tables named ProductNames and ProductTypes.

Current System
The current desktop application uses data stored in a SQL Server 2005 database named
DesABCopAppDB. This database will remain online and data from the Current_Inventory
database will be copied to it as soon as data is changed in the Current_Inventory database.
SQL Servers
A new SQL Server 2012 instance will be deployed to host the databases for the new system. The
databases will be hosted on a Storage Area Network (SAN) that provides highly available storage.
Design Requirements
Your SQL Server infrastructure and database design must meet the following requirements:
Confidential information in the Current_ Inventory database that is accessed by ExternalApp1
must be securely stored.
Direct access to database tables by developers or applications must be denied.
The account used to generate reports must have restrictions on the hours when it is allowed to
make a connection.
Deadlocks must be analyzed with the use of Deadlock Graphs.
In the event of a SQL Server failure, the databases must remain available.
Software licensing and database storage costs must be minimized.
Development effort must be minimized.
The Tempdb databases must be monitored for insufficient free space.
Failed authentication requests must be logged.
Every time a new row is added to the ProductTypes table in the Products database, a userdefined function that validates the row must be called before the row is added to the table.
When SPUpdateSalesInfo queries data in the OrderTotals table the first time, the same rows
must be returned along with any newly added rows when SPUpdateSalesInfo queries data in the
OrderTotals table the second time.
*****************************************************************

You need to meet the design requirement for the ProductTypes table in the Products
database.
Which of the following would be the best solution?

Which of the following should be included in the code?

Topic 1, Scenario 1
Application Data
You are employed as a developer at ABC.com. The ABC.com network consists of a single domain
named ABC.com.
ABC.com has two servers, named ABC-SR13 and ABC-SR14, which are running SQL Server
2012. ABC.com wants to makes use of a recently developed application to plan and run music
concerts. However, users inform you that errors exist, and that the application reacts sluggishly.
You have been tasked with making sure that the related problems are sorted out. You intend to
develop a database to reinforce the application. This database will be hosted on ABC-SR13.
You have instructed a junior database developer to generate a script for creating tables, a script
for creating stored procedures, and a script for creating indexes.
ABC-SR14 hosts a database, named Concerts. The Concerts database includes a table, named
ArtistReview, which will review modifications to a table named Artists.
An existing stored procedure, named usp_UpdateArtistsName, will be only implemented by other
stored procedures that continuously deal with transactions. The names of Artists will be retrieved
via another existing stored procedure, named usp_SelectArtistsByName, which is also configured
to read uncommitted data. sessions taking place at some point will be retrieved via stored
procedure, named usp_GetFutureSessions.
********************************************************

You are in the process of writing code to create a table, named Performers. The table will include
a stored procedure, named usp_ PerformersReport.
You have to make sure that the code allows for a reduction in the length of time required for usp_
PerformersReport to complete.
Which of the following should be included in the code?

What should you configure?

Topic 2, Leafield Solutions
General Overview
You are the Senior Database Administrator (DBA) for a software development company named
Leafield Solutions.
The company develops software applications custom designed to meet customer requirements.
Requirements
Leafield Solutions has been asked by a customer to develop a web-based Enterprise Resource
Planning and Management application. The new application will eventually replace a desktop
application that the customer is currently using. The current application will remain in use while the
users are trained to use the new web-based application.
You need to design the SQL Server and database infrastructure for the web-based application.
Databases
You plan to implement databases named Customers, Sales, Products, Current_Inventory, and
TempReporting.
The Sales database contains a table named OrderTotals and a table named SalesInfo. A stored
procedure named SPUpdateSalesInfo reads data in the OrderTotals table and modifies data in the
SalesInfo table. The stored procedure then reads data in the OrderTotals table a second time and
makes further changes to the information in the SalesInfo table.
The Current_Inventory database contains a large table named Inv_Current. The Inv_Current table
has a clustered index for the primary key and a nonclustered index. The primary key column uses
the identity property. The data in the Inv_Current table is over 120GB in size. The tables in the
Current_Inventory database are accessed by multiple queries in the Sales database. Another
table in the Current_Inventory database contains a self-join with an unlimited number of
hierarchies. This table is modified by a stored procedure named SPUpdate2. An external
application named ExternalApp1 will periodically query the Current_Inventory database to
generate statistical information.
The TempReporting database contains a single table named GenInfo. A stored procedure named
SPUPdateGenInfo combines data from multiple databases and generates millions of rows of data
in the GenInfo table. The GenInfo table is used for reports. When the information in GenInfo is
generated, a reporting process reads data from the Inv_Current table and queries information in
the GenInfo table based on that data. The GenInfo table is deleted after the reporting process
completes.
The Products database contains tables named ProductNames and ProductTypes.

Current System
The current desktop application uses data stored in a SQL Server 2005 database named
DesABCopAppDB. This database will remain online and data from the Current_Inventory
database will be copied to it as soon as data is changed in the Current_Inventory database.
SQL Servers
A new SQL Server 2012 instance will be deployed to host the databases for the new system. The
databases will be hosted on a Storage Area Network (SAN) that provides highly available storage.
Design Requirements
Your SQL Server infrastructure and database design must meet the following requirements:
Confidential information in the Current_ Inventory database that is accessed by ExternalApp1
must be securely stored.
Direct access to database tables by developers or applications must be denied.
The account used to generate reports must have restrictions on the hours when it is allowed to
make a connection.
Deadlocks must be analyzed with the use of Deadlock Graphs.
In the event of a SQL Server failure, the databases must remain available.
Software licensing and database storage costs must be minimized.
Development effort must be minimized.
The Tempdb databases must be monitored for insufficient free space.
Failed authentication requests must be logged.
Every time a new row is added to the ProductTypes table in the Products database, a userdefined function that validates the row must be called before the row is added to the table.
When SPUpdateSalesInfo queries data in the OrderTotals table the first time, the same rows
must be returned along with any newly added rows when SPUpdateSalesInfo queries data in the
OrderTotals table the second time.
*****************************************************************

You need to configure a synchronization solution to copy data from the Current_Inventory
database the DesABCopAppDB database.
What should you configure?