PrepAway - Latest Free Exam Questions & Answers

Category: 70-464

Exam 70-464: Developing Microsoft SQL Server 2012 Databases

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?

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 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?

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 writing code to create two tables, named Sets and Artists. You need to make sure that
referential integrity exists between the two tables.
Which of the following should be included in the code?

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 are writing code to add a column, named Verified, to the Performers table. The column should
allow for disk space usage to be reduced, and have a default value of False.
Which of the following actions should you take?

Which of the following should be included in the code?

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 database is able to make use of ProcessItems.dll as
per the prerequisites.
Which of the following should be included in the code?

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 in the process of planning the ManufacturingStages table. You are preparing to write the
necessary code to define the ItemID column as per the prerequisites.
Which of the following actions should you take?

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 preparing to configure encryption as per the prerequisites. You have acquired a digital
certificate.
Which of the following actions should you take?

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?

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?


Page 1 of 512345