Which of the following actions should you take?
Topic 2, Scenario 2
Application Data
You are employed as a database administrator at ABC.com. The ABC.com network consists of a
single domain named ABC.com.
A current ABC.com application is configured to host item information, which is saved in XML
format, will be transformed into mechanical drawings for engineering purposes. This process will
be facilitated by making use of a newly developed Microsoft .NET Framework assembly, named
ProcessItems.dll, which was generated via the use of the ProcessItem.es source code file.
ProcessItems.dll includes a single class, named ProcessItem, and a method, named Transform().
Furthermore, the drawings are to be stored as illustrations.
You are informed that every XML should include a single item with a root element, named Item.
You have generated a schema for the items xml, named Production.ItemSchema. The items xml is
configured to have a product type of eleven characters.
•The first five characters reference the category of the product.
•The last six characters refer to the subcategory of the item.
You are planning to create a new database on a server running SQL Server 2012 to support the
application. You have, however, detected that the application includes a number of performance
and security concerns. You are planning to create two tables, named Items and
ManufacturingStages. The Items table will include the following columns:
•ItemID, which is configured as the primary key.
•ItemType
•ItemName
•CreationDate
•ItemSpecifics
The ManufacturingStages table will include the following columns:
•ManufacturingStagesID
•ItemID
•Manufacturing Code
A sequence, named Production.ItemID_Seq, will also be added. You are also planning to generate
a certificate, named ABCItemsCert, in master and a certificate, named ABCDBCert in
ABCItemsCert.
ABC.com wants an application to be configured to perform dynamic T-SQL statements against the
new database.
Application Prerequisites
You are required to make sure that all stored procedures are signed, and that the original item
specifics are stored in the database. You also have to make sure that an XML schema is
employed to authenticate the item specifics, and that the assembly is accessible via T-SQL
commands.
You have been informed that a table-valued function should be created to search products by
type, and that dynamic T-SQL statements should be converted to stored procedures. You have
also been informed that indexes should be boosted from time to time according to their
fragmentation.
You need to configure the highest level of encryption to safeguard backups. Furthermore, you
have to make sure that the manufacturing stages stored in the ManufacturingStages table relates
to an item via an identical identifier employed by the Items table
Lastly, you have to make sure that the consumption of disk space and administrative effort is kept
to a minimum.
********************************************************
You are writing code to make sure that the prerequisite with regards to signing stored procedures
are satisfied.
Which of the following actions should you take?
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 ensure that the account used to generate reports can only connect during
certain hours.
What should you configure?
Which of the following actions should you take?
You work as a developer at ABC.com. The ABC.com network consists of a single domain named
ABC.com. ABC.com subscribes to SQL Azure.
You have created a database, named ABCDB1, which includes two tables, named ABCTableA
and ABCTableB. You have also generated a stored procedure, which reads information from
ABCTableA, then adds it to ABCTableB.
A database user complains that she is unable to implement the stored procedure, even though
she has the SELECT permission on both tables. You have to make sure that the user has the
ability to implement the stored procedure, without assigning unnecessary permissions.
Which of the following actions should you take?
Which of the following isolation levels 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 an isolation level for the SPUpdateSalesInfo stored procedure.
Which of the following isolation levels should you configure?
You have been instructed to make sure that while the stored procedure executes, other transactions are prevent
You work as a developer at ABC.com. The ABC.com network consists of a single domain named
ABC.com. ABC.com stores information consumed by ABC.com’s e-commerce application via SQL
Azure.
You have generated a stored procedure, which is employed to read and modify the value of all the
goods offered on ABC.com’s e-commerce site. You have been instructed to make sure that while
the stored procedure executes, other transactions are prevented from updating goods information.
How can you minimize the time it takes to execute SPUPdateGenInfo?
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 improve the performance of the SPUPdateGenInfo stored procedure.
How can you minimize the time it takes to execute SPUPdateGenInfo?
Which of the following actions should you take?
You work as a developer at ABC.com. The ABC.com network consists of a single domain named
ABC.com.
ABC.com has a database, whose log file has reached capacity. You are instructed to make sure
that the database is able to successfully conclude transactions without having an effect on the
chain of log sequence numbers (LSNs).
Which of the following actions should you take?
What should you recommend?
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 recommend a solution to meet the design requirement of logging all failed
authentication requests.
What should you recommend?
Which of the following actions should you take?
You work as a developer at ABC.com. The ABC.com network consists of a single domain named
ABC.com.
ABC.com has a database, which is hosted on a SQL Server 2012 instance, and supports an
essential business web application. The web application dynamically creates all T-SQL statements
without the use of stored procedures.
You have received instructions to increase the available data caching memory.
Which of the following actions should you take?
What should you recommend?
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 recommend a monitoring solution for the Tempdb databases.
What should you recommend?