What should you do to ensure that the view cannot be affected by modifications to underlying table schemas?
You are work as a database administrator at Domain.com. Your duties at Domain.com include the administrating of the SQL Server 2005 computer named Certkiller -DB07.
Certkiller -DB07 hosts a database named CK_Sales that stores sales transactions for the company. The table structure for the CK_Sales database is shown in the following exhibit:
You are busy creating a view to join the Customers and Invoices tables. You want to ensure that the view cannot be affected by modifications to underlying table schemas.
exhibit What should you do?
What should you do to add this new column by using the least amount of effort?
You are work as a database administrator at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. The Domain.com network contains a SQL Server 2005 database server named Certkiller -DB08. Your duties at Domain.com include the administrating of Certkiller -DB08.
Certkiller -DB08 hosts a database named CK_Sales that stores sales transactions for the company. The table structure for the CK_Sales database is shown in the following exhibit:
You need to modify the Products table to add a new column named ProductName. You want a friendly name for each product will be stored in this column. The table currently contains data. The Marketing department has not yet created a friendly name for each product. You need to add this new column by using the least amount of effort.
exhibit What should you do?
What should you do to improve the performance of the stored procedures?
You work as the database administrator at Domain.com. All servers on the Domain.com network run Windows Server 2003 and all database servers run SQL Server 2005. The Domain.com network contains a database server named Certkiller -DB01 B01. Certkiller -DB01 hosts a database named CK_Sales that stores sales data for the company. There is at least one index on each table in the CK_Sales database. The tables in the CK_Sales database are shown in the following database diagram.
Domain.com users in the Finance department run several stored procedures against he CK_Sales database to create month end reports. You have recently altered some of the stored procedures. How Finance department users complain that the month-end reports take longer to create. You need to improve the performance of the stored procedures.
exhibit What should you do? (Each correct answer presents part of the solution. Choose two.)
What should you do to improve the performance of the CK_Sales database?
You work as the database administrator at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers on the Domain.com network run Windows Server 2003 and all client computers run Windows XP Professional. The Domain.com network contains a SQL Server 2005 database server named Certkiller -DB01 that hosts a database named CK_Sales. The CK_Sales database stores sales data for the company. Domain.com users complain that the performance of the CK_Sales database has deteriorated over the last few weeks. You use System Monitor to monitor the performance of Certkiller -DB01 and receive the output as shown in the exhibit.
You also notice that the ratio of SQL Recompilations/sec to Batch Requests/sec is unusually high. You suspect that the number of recompiles is causing the high processor time value. You need to improve the performance of the CK_Sales database.
What should you do?
What should you do to perform a full backup every Saturday at 2:00 P.M?
You work as the database administrator at Domain.com. The Domain.com network contains a SQL Server 2005 database server named Certkiller -DB01 that runs on a Windows Server 2003 computer. Certkiller -DB01 hosts a database named CK_Orders. Several data capturers enter data into the CK_Orders database everyday.
Domain.com wants you to implement a disaster recovery plan for the CK_Orders database. You need to ensure that data can be easily recovered. You plan to perform a full backup every Saturday at 2:00 P.M.
What should you do?
What should you do to ensure that the index remain online and that no completed work is lost if the operation
You work as the database administrator at Domain.com. The Domain.com network contains a SQL Server 2005 database server named Certkiller -DB01 that runs on a Windows 2000 Server computer. Certkiller -DB01 hosts a database named CK_Sales. The tables in the CK_Sales database are shown in the following database diagram.
An index named PK_Customers_CustomerID has been created on the Customers table. The index is used extensively throughout the day. Over the last few months, several new pages have been added to the index. Domain.com users complain that the performance queries against the index is very slow. You suspect that fragmentation is affecting query performance. You want to reduce fragmentation. You need to ensure that the index remain online and that no completed work is lost if the operation is interrupted.
exhibit What should you do?
What should you do to access information about their customers while offline…?
You work as the database administrator at Domain.com. All database servers run Windows Server 2003 and SQL Server 2005. All client computers run Windows XP Professional with Service Pack 2. The Domain.com network contains a database server named Certkiller -DB02 that runs SQL Server 2005 Enterprise Edition. Certkiller -DB02 hosts a database named CK_Sales. The tables in the CK_Sales database are shown in the following database diagram.
Domain.com has several Sales Representatives that use portable client computers. These portable client computers run SQL Server 2005 Express Edition. Domain.com has developed a new sales tracking application named salesTrack. The salesTrack application provides access to the Customers table in the CK_Sales database. Several Sales Representatives use the salesTrack application as part of Domain.com’s Customer Relationship Management (CRM) strategy. You need to ensure that the Sales Representatives can interact with the CK_Sales database while offline. The Sales Representatives must be able to access information about their customers while offline; must be able to add new customers while offline; and must be able to synchronize with Certkiller -DC02 on demand using Web synchronization.
exhibit What should you do? (Each correct answer presents part of the solution. Choose two.)
What should you do?
You work as the database administrator at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All client computers run Windows XP Professional. The Domain.com network contains a SQL Server 2005 database server named Certkiller -DB01 that hosts a database named CK_Data. The tables in the CK_Data database are shown in the following database diagram.
You create a new database named CK_Staff on Certkiller -DB01. You want to transfer the list of employees from the CK_Data database to the CK_Staff database. You export the Employees table to a text file. The data must be imported as quickly as possible into the following table.
exhibit What should you do?
What should you do to ensure that your solution meets Courseware Publisher’s technical and business requ
You work as the database administrator at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. The network contains a database server named Certkiller -DB01 that hosts a database named CK_Books. The CK_Books database has a table named SampleChapters that is used to store sample chapters from books published by Domain.com. The schema for the SampleChapters table is shown in the following exhibit:
The text for the sample chapters are stored in a column named SampleText. The SampleText column is defined as an xml data type column. The XML schema for the SampleText column is shown below:
<SampleChapter>
<BookTitle>title of book</BookTitle>
<Author>author of book</Author>
<ChapterText>
<ChapterTitle>title of chapter</ ChapterTitle >
<Intro>introduction or synopsis</Intro>
<Topic Title="topic title">topic text</Topic>
<Topic Title="next topic title">next topic text</Topic> </ChapterText>
</SampleChapter>
You need to create indexes that will optimize performance for search queries that are run against the SampleText column. You need to ensure best performance for a query that return the book title, author, and introduction of a specific sample chapter. The search query is shown below:
SELECT SampleText.value(‘SampleChapterBookTitle[1]’, ‘varchar’), SampleText.value(‘SampleChapterAuthor[1]’, ‘varchar’), SampleText.value(‘SampleChapterChapterTextChapterTitle[1]’, ‘varchar’),
SampleText.value(‘SampleChapterChapterTextIntro[1]’, ‘varchar’) FROM Samples
WHERE SampleID = @sampleID
You need to ensure that your solution meets Courseware Publisher’s technical and business requirements.
exhibit What should you do? (Choose all that apply.)
What should you do to produce the report based on the SalesPersons and Invoices tables?
You work as the database administrator at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers on the Domain.com network run Windows Server 2003. The Domain.com network contains a SQL Server 2005 database server named Certkiller -DB01. Certkiller -DB01 contains a database named CK_Sales. The tables in the CK_Sales database are shown in the database diagram.
Kara Lang is the manager of the Sales department. Kara Lang wants a report that indicates the performance of each sales person in the Sales department. She asks you to produce the report based on the SalesPersons and Invoices tables. The report must be presented in XML format.
exhibit What should you do?