Exam 70-433 preparation questions

Page 1

Exam 70-433 study material Made available by Testkingprep.com

Free 70-433 Exam Preparation Questions Exam 70-433: TS: Microsoft SQL Server 2008, Database Development

For Latest 70-433 Exam Questions and study guides- visit- http://www.testkingprep.com/70-433.html


Question:1 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server 2008 and all the company data is stored in the SQL server 2008 database. According to the business development, you are developing a new database, which will have two tables named SallsBillItem and Goods contained. They are related to each other. Now you are assigned a task to make sure that all goods referenced in the SalesBillItem table have a corresponding record in the goods table. Which method would be used to accomplish this task? A. DDL trigger would be used to accomplish this task B. Foreign key constraint would be used to accomplish this task. C. Primary key constraint would be used to accomplish this task. D. DML trigger would be used to accomplish this task E. JOIN would be used to accomplish this task Answer: B Question:2 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server 2008 and all the company data is stored in the SQL server 2008 database. You have a table named Client. Now you are assigned a task to make sure that client data in the table not only make the credit limit less than 10,000, but also make the credit limit zero when client identification has not been verified. So which constraint would you check to accomplish this task? A. ((CreditLimt = 0 AND Verified = 0) OR (CreditLimt BETWEEN 1 AND 10000 AND Verified = 1)) B. (CreditLimt BETWEEN 1 AND 10000) C. (Verified = 1 AND CreditLimt BETWEEN 1 AND 10000) D. ((CreditLimt = 0 AND Verified = 0) AND (CreditLimt BETWEEN 1 AND 10000 AND Verified = 1)) E. ((Verified = 1 AND CreditLimt BETWEEN 1 AND 10000) AND (CreditLimt BETWEEN 1 AND 10000 AND Verified = 1)) Answer: A Question:3 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server 2008 and all the company data is stored in the SQL server 2008 database. A table that has the GPS location of clients stored is being created to meet the business needs. Now you are asked to make sure that the table allows you the following issues: 1 Calculate the distance between a client and the nearest store. 2 Identify clients within a specified sales boundary. So of the data type below, which one would be used? A. Nvarchar(max) would be used B. Varbinary(max) FILESTREAM would be used. C. Algebra would be used D. Geometry would be used. Answer: D Question:4 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server2008 and all the company data is stored in the SQL server 2008 database. You have two tables respectively named Bills and BillItems as shown as the following: From the table we can see the BillItems is related to Bills by a foreign key that enables CASCADE DELETE. Now you are asked to have all records removed from the Bills table. Of the Transact-SQL statements below, which one would be used? A. DROP FROM BillItems statement would be used B. DROP TABLE Bills statement would be used C. DELETE FROM Bills statement would be used

For Latest 70-433 Exam Questions and study guides- visit- http://www.testkingprep.com/70-433.html


D. TRUNCATE TABLE Bills statement would be used. E. DELETE FROM BillItems statement would be used. Answer: C Question:5 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server 2008 and all the company data is stored in the SQL Server 2008 database. There are two tables in the database. The two tables are respectively named Client and SellingsOrder. There are Clients who has have never made any orders and Clients who only made purchases with an OrderTotal less than 90. Now the company manager wants to view the list of these Clients. So you have to identify all these Clients. Of the following options, which query should be used? A. SELECT *FROM ClientWHERE 100 > (SELECT MAX(OrderTotal) FROM SellingsOrder WHERE Client.ClientID = SellingsOrder.ClientID) B. SELECT *FROM ClientWHERE 100 > ALL (SELECT OrderTotal FROM SellingsOrder WHERE Client.ClientID = SellingsOrder.ClientID) C. SELECT *FROM ClientWHERE 100 > SOME (SELECT OrderTotal FROM SellingsOrder WHERE Client.ClientID = SellingsOrder.ClientID) D. SELECT *FROM ClientWHERE EXISTS (SELECT SellingsOrder.ClientID FROM SellingsOrder WHERE Client.ClientID = SellingsOrder.ClientID AND SellingsOrder.OrderTotal <= 100) Answer: B Question:6 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server 2008 and all the company data is stored in the SQL server 2008 database. You have two tables respectively named Clients and Bills. According to the business requirements, a list of each Client's name and number of bills should be produced for clients that have placed at least one Bill. Which query should be used to achieve this goal? A. SELECT c.ClientName, SUM(o.BillID) AS [BillCount] FROM Clients c JOIN Bills o ON c.ClientID = o.ClientID GROUP BY c.ClientName HAVING COUNT(o.BillID) > 1 B. SELECT c.ClientName, COUNT(o.BillId) AS [BillCount] FROM Clients c JOIN Bills o ON c.ClientId = o.ClientId GROUP BY c.ClientName C. SELECT c.ClientName, SUM(o.BillID) AS [BillCount] FROM Clients c JOIN Bills o ON c.ClientID = o.ClientID GROUP BY c.ClientName D. SELECT COUNT(o.BillId) AS [BillCount] FROM CLIENTS c JOIN BILLS o ON c.CLIENTID = o.CLIENTID E: SELECT c.ClientName, COUNT(o.BillID) AS [BillCount] FROM Clients c JOIN Bills o ON c.ClientID = o.ClientID GROUP BY c.ClientName HAVING COUNT(o.BillID) > 1 Answer: B

For Latest 70-433 Exam Questions and study guides- visit- http://www.testkingprep.com/70-433.html


For complete Exam 70-433 Training kits and Self-Paced Study Material Visit: http://www.testkingprep.com/70-433.html

http://www.testkingprep.com/

For Latest 70-433 Exam Questions and study guides- visit- http://www.testkingprep.com/70-433.html


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.