Scenario 3 -
Application Information -
You have two servers named SQL1 and SQL2. SQL1 has SQL Server 2012 Enterprise installed.
SQL2 has SQL Server 2008 Standard installed.
You have an application that is used to manage employees and office space. Users report that the application has many errors and is very slow.
You are updating the application to resolve the issues. You plan to create a new database on SQL1 to support the application. The script that you plan to use to create the tables for the new database is shown in Tables.sql. The script that you plan to use to create the stored procedures for the new database is shown in
StoredProcedures.sql. The script that you plan to use to create the indexes for the new database is shown in Indexes.sql. A database named DB2 resides on
SQL2. DB2 has a table named EmployeeAudit that will audit changes to a table named Employees.
A stored procedure named usp_UpdateEmployeeName will be executed only by other stored procedures. The stored procedures executing usp_UpdateEmp!oyeeName will always handle transactions.
A stored procedure named usp_SelectEmployeesByName will be used to retrieve the names of employees. Usp_SelectEmployeesByName can read uncommitted data. A stored procedure named usp_GetFutureOfficeAssignments will be used to retrieve office assignments that will occur in the future.
StoredProcedures.sql -
Answer : C
Topic 4, Scenario 4 -
Scenario 4 -
Application Information -
You are a database administrator for a manufacturing company.
You have an application that stores product data. The data will be converted to technical diagrams for the manufacturing process.
The product details are stored in XML format. Each XML must contain only one product that has a root element named Product. A schema named
Production.ProductSchema has been created for the products xml.
You develop a Microsoft .NET Framework assembly named ProcessProducts.dll that will be used to convert the XML files to diagrams. The diagrams will be stored in the database as images. ProcessProducts.dll contains one class named ProcessProduct that has a method name of Convert(). ProcessProducts.dll was created by using a source code file named ProcessProduct.cs.
All of the files are located in C:\Products\.
The application has several performance and security issues. You will create a new database named ProductsDB on a new server that has SQL Server 2014 installed. ProductsDB will support the application.
The following graphic shows the planned tables for ProductsDB:
Answer : C
Explanation:
http://msdn.microsoft.com/en-us/library/bb934049.aspx
Scenario 4 -
Application Information -
You are a database administrator for a manufacturing company.
You have an application that stores product data. The data will be converted to technical diagrams for the manufacturing process.
The product details are stored in XML format. Each XML must contain only one product that has a root element named Product. A schema named
Production.ProductSchema has been created for the products xml.
You develop a Microsoft .NET Framework assembly named ProcessProducts.dll that will be used to convert the XML files to diagrams. The diagrams will be stored in the database as images. ProcessProducts.dll contains one class named ProcessProduct that has a method name of Convert(). ProcessProducts.dll was created by using a source code file named ProcessProduct.cs.
All of the files are located in C:\Products\.
The application has several performance and security issues. You will create a new database named ProductsDB on a new server that has SQL Server 2014 installed. ProductsDB will support the application.
The following graphic shows the planned tables for ProductsDB:
Answer : D
Scenario 4 -
Application Information -
You are a database administrator for a manufacturing company.
You have an application that stores product data. The data will be converted to technical diagrams for the manufacturing process.
The product details are stored in XML format. Each XML must contain only one product that has a root element named Product. A schema named
Production.ProductSchema has been created for the products xml.
You develop a Microsoft .NET Framework assembly named ProcessProducts.dll that will be used to convert the XML files to diagrams. The diagrams will be stored in the database as images. ProcessProducts.dll contains one class named ProcessProduct that has a method name of Convert(). ProcessProducts.dll was created by using a source code file named ProcessProduct.cs.
All of the files are located in C:\Products\.
The application has several performance and security issues. You will create a new database named ProductsDB on a new server that has SQL Server 2014 installed. ProductsDB will support the application.
The following graphic shows the planned tables for ProductsDB:
Answer : B
References:
http://msdn.microsoft.com/en-us/library/ms189049.aspx
http://msdn.microsoft.com/en-us/library/ms179610.aspx
http://msdn.microsoft.com/en-us/library/ff878370.aspx
Scenario 4 -
Application Information -
You are a database administrator for a manufacturing company.
You have an application that stores product data. The data will be converted to technical diagrams for the manufacturing process.
The product details are stored in XML format. Each XML must contain only one product that has a root element named Product. A schema named
Production.ProductSchema has been created for the products xml.
You develop a Microsoft .NET Framework assembly named ProcessProducts.dll that will be used to convert the XML files to diagrams. The diagrams will be stored in the database as images. ProcessProducts.dll contains one class named ProcessProduct that has a method name of Convert(). ProcessProducts.dll was created by using a source code file named ProcessProduct.cs.
All of the files are located in C:\Products\.
The application has several performance and security issues. You will create a new database named ProductsDB on a new server that has SQL Server 2014 installed. ProductsDB will support the application.
The following graphic shows the planned tables for ProductsDB:
Answer : D
Scenario 4 -
Application Information -
You are a database administrator for a manufacturing company.
You have an application that stores product data. The data will be converted to technical diagrams for the manufacturing process.
The product details are stored in XML format. Each XML must contain only one product that has a root element named Product. A schema named
Production.ProductSchema has been created for the products xml.
You develop a Microsoft .NET Framework assembly named ProcessProducts.dll that will be used to convert the XML files to diagrams. The diagrams will be stored in the database as images. ProcessProducts.dll contains one class named ProcessProduct that has a method name of Convert(). ProcessProducts.dll was created by using a source code file named ProcessProduct.cs.
All of the files are located in C:\Products\.
The application has several performance and security issues. You will create a new database named ProductsDB on a new server that has SQL Server 2014 installed. ProductsDB will support the application.
The following graphic shows the planned tables for ProductsDB:
Answer : ACDE
References:
http://msdn.microsoft.com/en-us/library/ms131048.aspx
http://msdn.microsoft.com/en-us/library/ms131052.aspx
http://msdn.microsoft.com/en-us/library/ms189524.aspx
http://msdn.microsoft.com/en-us/library/ms345106.aspx
http://msdn.microsoft.com/en-us/library/ms131107.aspx
Scenario 4 -
Application Information -
You are a database administrator for a manufacturing company.
You have an application that stores product data. The data will be converted to technical diagrams for the manufacturing process.
The product details are stored in XML format. Each XML must contain only one product that has a root element named Product. A schema named
Production.ProductSchema has been created for the products xml.
You develop a Microsoft .NET Framework assembly named ProcessProducts.dll that will be used to convert the XML files to diagrams. The diagrams will be stored in the database as images. ProcessProducts.dll contains one class named ProcessProduct that has a method name of Convert(). ProcessProducts.dll was created by using a source code file named ProcessProduct.cs.
All of the files are located in C:\Products\.
The application has several performance and security issues. You will create a new database named ProductsDB on a new server that has SQL Server 2014 installed. ProductsDB will support the application.
The following graphic shows the planned tables for ProductsDB:
Answer : B
Scenario 4 -
Application Information -
You are a database administrator for a manufacturing company.
You have an application that stores product data. The data will be converted to technical diagrams for the manufacturing process.
The product details are stored in XML format. Each XML must contain only one product that has a root element named Product. A schema named
Production.ProductSchema has been created for the products xml.
You develop a Microsoft .NET Framework assembly named ProcessProducts.dll that will be used to convert the XML files to diagrams. The diagrams will be stored in the database as images. ProcessProducts.dll contains one class named ProcessProduct that has a method name of Convert(). ProcessProducts.dll was created by using a source code file named ProcessProduct.cs.
All of the files are located in C:\Products\.
The application has several performance and security issues. You will create a new database named ProductsDB on a new server that has SQL Server 2014 installed. ProductsDB will support the application.
The following graphic shows the planned tables for ProductsDB:
Answer : C
Scenario 4 -
Application Information -
You are a database administrator for a manufacturing company.
You have an application that stores product data. The data will be converted to technical diagrams for the manufacturing process.
The product details are stored in XML format. Each XML must contain only one product that has a root element named Product. A schema named
Production.ProductSchema has been created for the products xml.
You develop a Microsoft .NET Framework assembly named ProcessProducts.dll that will be used to convert the XML files to diagrams. The diagrams will be stored in the database as images. ProcessProducts.dll contains one class named ProcessProduct that has a method name of Convert(). ProcessProducts.dll was created by using a source code file named ProcessProduct.cs.
All of the files are located in C:\Products\.
The application has several performance and security issues. You will create a new database named ProductsDB on a new server that has SQL Server 2014 installed. ProductsDB will support the application.
The following graphic shows the planned tables for ProductsDB:
Answer : D
Scenario 4 -
Application Information -
You are a database administrator for a manufacturing company.
You have an application that stores product data. The data will be converted to technical diagrams for the manufacturing process.
The product details are stored in XML format. Each XML must contain only one product that has a root element named Product. A schema named
Production.ProductSchema has been created for the products xml.
You develop a Microsoft .NET Framework assembly named ProcessProducts.dll that will be used to convert the XML files to diagrams. The diagrams will be stored in the database as images. ProcessProducts.dll contains one class named ProcessProduct that has a method name of Convert(). ProcessProducts.dll was created by using a source code file named ProcessProduct.cs.
All of the files are located in C:\Products\.
The application has several performance and security issues. You will create a new database named ProductsDB on a new server that has SQL Server 2014 installed. ProductsDB will support the application.
The following graphic shows the planned tables for ProductsDB:
Answer : C
Explanation:
http://msdn.microsoft.com/en-us/library/bb669102.aspx
Scenario 4 -
Application Information -
You are a database administrator for a manufacturing company.
You have an application that stores product data. The data will be converted to technical diagrams for the manufacturing process.
The product details are stored in XML format. Each XML must contain only one product that has a root element named Product. A schema named
Production.ProductSchema has been created for the products xml.
You develop a Microsoft .NET Framework assembly named ProcessProducts.dll that will be used to convert the XML files to diagrams. The diagrams will be stored in the database as images. ProcessProducts.dll contains one class named ProcessProduct that has a method name of Convert(). ProcessProducts.dll was created by using a source code file named ProcessProduct.cs.
All of the files are located in C:\Products\.
The application has several performance and security issues. You will create a new database named ProductsDB on a new server that has SQL Server 2014 installed. ProductsDB will support the application.
The following graphic shows the planned tables for ProductsDB:
Answer : B
Explanation:
http://msdn.microsoft.com/en-us/library/ms191320.aspx
http://msdn.microsoft.com/en-us/library/ms186755.aspx
Scenario 4 -
Application Information -
You are a database administrator for a manufacturing company.
You have an application that stores product data. The data will be converted to technical diagrams for the manufacturing process.
The product details are stored in XML format. Each XML must contain only one product that has a root element named Product. A schema named
Production.ProductSchema has been created for the products xml.
You develop a Microsoft .NET Framework assembly named ProcessProducts.dll that will be used to convert the XML files to diagrams. The diagrams will be stored in the database as images. ProcessProducts.dll contains one class named ProcessProduct that has a method name of Convert(). ProcessProducts.dll was created by using a source code file named ProcessProduct.cs.
All of the files are located in C:\Products\.
The application has several performance and security issues. You will create a new database named ProductsDB on a new server that has SQL Server 2014 installed. ProductsDB will support the application.
The following graphic shows the planned tables for ProductsDB:
Answer : C
Explanation:
@sqlstring, @ProductID, and @CreationData need to be declared as parameters. @ProductID, and @CreationData should be output parameters.
Topic 5, Litware, Inc -
Litware, Inc -
General Overview -
General Overview -
You are a database developer for a company named Litware, Inc. Litware has a main office in Miami.
Litware has a job posting web application named WebApp1. WebApp1 uses a database named DB1. DB1 is hosted on a server named Server1. The database design of DB1 is shown in the exhibit. (Click the Exhibit button.)
Answer : D
Explanation:
From scenario: The results from the query must be able to be joined to other queries.
User-defined functions that return a table data type can be powerful alternatives to views. These functions are referred to as table-valued functions. A table-valued user-defined function can be used where table or view expressions are allowed in Transact-SQL queries. While views are limited to a single SELECT statement, user-defined functions can contain additional statements that allow more powerful logic than is possible in views.
A table-valued user-defined function can also replace stored procedures that return a single result set. The table returned by a user-defined function can be referenced in the FROM clause of a Transact-SQL statement, but stored procedures that return result sets cannot.
References:
https://technet.microsoft.com/en-us/library/ms191165(v=sql.105).aspx
Litware, Inc -
General Overview -
General Overview -
You are a database developer for a company named Litware, Inc. Litware has a main office in Miami.
Litware has a job posting web application named WebApp1. WebApp1 uses a database named DB1. DB1 is hosted on a server named Server1. The database design of DB1 is shown in the exhibit. (Click the Exhibit button.)
Answer : B
Litware, Inc -
General Overview -
General Overview -
You are a database developer for a company named Litware, Inc. Litware has a main office in Miami.
Litware has a job posting web application named WebApp1. WebApp1 uses a database named DB1. DB1 is hosted on a server named Server1. The database design of DB1 is shown in the exhibit. (Click the Exhibit button.)
Answer : A
Have any questions or issues ? Please dont hesitate to contact us