Free Cheatyourexams Samples and Demo Questions Download
Adobe exams Adobe
Apple exams Apple
Avaya exams Avaya
BlackBerry exams BlackBerry
CheckPoint exams Check Point
Cisco exams Cisco
Citrix exams Citrix
CIW exams CIW
CompTIA exams CompTIA
CWNP exams CWNP
EC-Council exams EC-Council
EMC exams EMC
Exin exams Exin
HP exams Hewlett Packard
IBM exams IBM
ISC exams ISC
ISEB exams ISEB
Juniper Networks exams Juniper Networks
LPI exams LPI
Microsoft exams Microsoft
Network Appliance exams Network Appliance
Nortel exams Nortel
Novell exams Novell
Oracle exams Oracle
PMI exams PMI
RedHat exams RedHat
RSA Security exams RSA Security
SNIA exams SAP
Sun exams Sun
Symantec exams Symantec
Tibco exams Tibco
VMWare exams VMWare
All certification exams

Microsoft 70-548 Exam - CheatYourExams.com

Free 70-548 Sample Questions:

1. You create Microsoft Windows­based client applications. You are designing a smart client application for warehouse packaging clerks. The application must permit the clerks to add and delete items in the packaging invoices they create at their workstations. Each workstation has only a keyboard and a hand­held barcode scanner for input. You need to design the user interface for the application such that the clerks can add and delete items with minimum effort. What should you do?
A. Add to the form a context menu that has Add to Invoice and Remove from Invoice menu items.
B. Add to the form a menu that has Add to Invoice and Remove from Invoice menu items.
C. Add to the form a KeyPress event handler that toggles between Add to Invoice and Remove from Invoice modes.
D. Add to the form a ToolStrip control that has a button that toggles between Add to Invoice and Remove from Invoice modes.
Answer: C

2. You create Microsoft Windows­based applications. You are enhancing an application for a medical transcription service. Users need to view a long list of medical codes and descriptions. The users displays are set at 800 x 600 resolution. The existing application requires the user to regularly obtain printouts that contain pages of medical codes. These medical codes frequently change. The application must be updated to assist users in entering medical codes into a database. The application must enable the user to view and enter medical codes and descriptions
on screen at the same time. You need to evaluate the user environment and recommend a design that best meets the requirements of the users. What should you recommend?
A. Design a form that contains a ListBoxControl control. Load the medical codes into the ListBoxControl control. Place the ListBoxControl control next to the input controls that accept the medical input.
B. Design a form that accepts the medical input. Create a context menu for this form to display all the medical codes when the user right­clicks.
C. Design a form that has a left and a right panel by using a Split Container control. Display the list of medical codes and descriptions on the left panel and all input controls on the right panel.
D. Design a form that contains a Table Layout control to display the medical codes in a two column table. Next to the Table Layout control display the medical data input controls.
Answer: C

3. You create Microsoft Windows­based applications. You are developing an application that will be used by stock traders. The project scope contains the following requirements: The application must permit users to set thresholds for minimum and maximum values for different stocks. The application must alert the user when stock prices reach the pre­defined thresholds. The application must permit the user to either buy or sell stock and specify the quantity of stock to trade. The application must permit multiple alerts to be displayed simultaneously. You need to decide how to implement the alert mechanism. What should you do?
A. Use a modal dialog box to show each alert and to permit the user to trade stocks.
B. Use a message box to show each alert and the main application form to permit the user to trade stocks.
C. Use a BalloonTip control to display multiple alerts and the main application form to permit the user to trade stocks.
D. Use a custom BalloonTip control to display multiple alerts and to permit the user to trade stocks.
Answer: D

4. You create Microsoft Windows­based applications. You create an application that loads bulk weather data into a data warehouse for analysis. The application is used by data­entry technicians. One data­entry technician is visually impaired. The data­entry technicians provide a large flat file
as the source of the data, and they typically minimize the application so that they can use other programs while the data is being loaded. The data entry technicians must load as many data files as possible during the course of their work day. The user interface contains a progress bar control that has a text label. The text label indicates the current percentage of progress. You need to provide appropriate status feedback to the user by indicating that the process is complete. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Write code to change the title bar text of the application when the process is complete.
B. Write code to reset the progress bar to its minimum value.
C. Write code to play a sound that indicates the process is complete.
D. Write code to update the status bar text to indicate the number of records processed. E.Write code to display an animated balloon tip when the process completes.
Answer: C, E

5. You create Microsoft Windows­based applications. You participate in the planning phase of an incident tracking tool for technical support analysts. The incident tracking tool must meet the following requirements: Technical support analysts must open multiple incidents simultaneously. The application can run only one instance at a time. Users must be able to adjust the order and layout of the incident screens. You need to design an application user interface that meets these requirements with the minimum amount of code. Which action should you perform?
A. Create a Multiple Document Interface (MDI) application with a menu strip. Utilize the MdiWindowListItem property of the menu strip to automatically merge MDI child forms to the Window list.
B. Create a Single Document Interface application that launches multiple forms. Write code to enable the user to toggle between the active forms.
C. Create a Multiple Document Interface application with a menu strip. Write code to add child Windows to the menu strip to add MDI child forms to the Window list.
D. Create a Single Document Interface application. Create a custom­dockable control that can display each support incident.
Answer: A

6. You create Microsoft Windows­based applications. You are designing an application that streams multimedia data. The application must have minimal impact on the network. The application will be used by Microsoft Windows XP Professional client computers and Microsoft Windows Server 2003 client computers. The media you need to use is stored on a file server in a nonproprietary raw video format and the files are unedited. You need to choose an appropriate design modification that requires the least amount of programming effort. What should you do?
A. Write code to convert the video files to Microsoft Windows Media Video (WMV) format in real time.
B. Convert the video files to Microsoft Windows Media Video (WMV) format, and resample the video to a bit rate that is acceptable.
C. Write a custom file format filter for Microsoft DirectShow, and distribute the filter to the client computers.
D. Convert the video files into separate audio and video files.
Answer: B

7. You create Microsoft Windows­based applications. You are designing a user interface for a multi­page questionnaire. You need to ensure that the user interface meets the following business requirements: The user interface is reusable. The user interface requires the user to select three out of five choices for each question. The user interface permits the user to check a box to select the correct answer or answers. What should you do?
A. Create a custom Windows user control that inherits from a CheckedListBox control.
B. Use a multi­select ListBox control that displays the possible answers.
C. Use a TextBox control for the user to enter answers separated by commas.
D. Use a CheckedListBox control to display the possible answers.
Answer: A

8. You create Microsoft Windows­based applications. You design a composite user control that is used to enter e­mail addresses. The control is as shown in the following exhibit. (Click the Exhibit button.) The control validates the user input by using a regular expression. The control validates e­mail addresses and prevents the user from submitting blocked e­mail addresses. The control must permit the user to correct the entry if the user enters a blocked e­mail address. You need to provide feedback if the user enters a blocked e­mail address in the txtEmailAddress text box. What should you do?

A. Write a code segment to throw an application exception.
B. Set a custom property of the composite user control to indicate a data validation error.
C. Write a code segment to display a message box if the user enters a blocked e­mail address.
D. Write a code segment to clear the txtEmailAddress text box if the user enters a blocked e­mail address.
Answer: C

9. You create Microsoft Windows­based applications. You are designing an application that permits insurance agents to provide insurance quotes to prospective customers. The application permits insurance agents to survey the customer and enter the customers responses into the application. Each customer response adjusts the computed level of risk for the customer depending on how the customer answers the question. The application must meet the following requirements: The application must continuously display a thermometer indicating the level of risk. The prospective customers risk must be updated after each question. The application must ensure that the user interacts with the thermometer component as little as possible. You need to evaluate a user interface design for the thermometer component of the application. What should you do?
A. Design the thermometer component as a movable tool Window that is always displayed as the top most Window.
B. Design the thermometer component as a part of the main questionnaire form that is always visible.
C. Design the thermometer component to be displayed as a modal Window when the insurance agent clicks a button.
D. Design the thermometer component to display a non­modal Window that can be dismissed by the insurance agents when they are ready to ask the next question.
Answer: B

10. You create Microsoft Windows­based applications. You are designing a unit test for a form in
an application. You write the following code segment. (Line numbers are included for reference only.) 01 public partial class frmCalculation : Form { 02 public frmCalculation() { 03
InitializeComponent(); 04 } 05 private void cmdFib_Click(object sender, EventArgs e) { 06 lblResult.Text = Fibonacci(int.Parse(txtNumber.Text)).ToString(); 07 } 08 private void cmdFac_Click(object sender, EventArgs e) { 09 lblResult.Text = Factorial(int.Parse(txtNumber.Text)).ToString(); 10 } 11 private int Fibonacci(int number) { 12 if (number < 3) 13 return 1; 14 else 15 return Fibonacci(number ­ 1) + Fibonacci(number ­ 2); 16 } 17 private int Factorial(int number) { 18 int total = 1; 19 for (int x = number; x > 1; x­­) 20 total *= x; 21 return total; 22 } 23 } You need to identify the methods that must be included for unit testing. Which methods should you choose?
A. frmCalculation, cmdFib_Click, cmdFac_Click, Fibonacci, and Factorial
B. frmCalculation, cmd_Fib_Click, and cmdFac_Click
C. cmdFib_Click, cmdFac_Click, Fibonacci, and Factorial
D. Fibonacci and Factorial
Answer: D

11. You create Microsoft Windows­based applications. You are reviewing code for an application that is created for a bank. You find that a Microsoft Windows Form includes the following code segment. public partial class ATMDeposit : Form { private BankAccount account; public ATMDeposit() { InitializeComponent(); } private void ATMDeposit_Load(object sender, EventArgs e)
{ account = new BankAccount(); } private void cmdDeposit_Click(object sender, EventArgs e)
{ account.Deposit(decimal.Parse(txtAmount.Text)); } } You analyze the code segment and find that the form handles no other events. You need to suggest changes to improve reliability. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Add an event handler for the TextChanged event for the txtAmount textbox to validate the data typed by the user.
B. Add an event handler for the Validating event for the txtAmount textbox to validate the data typed by the user.
C. Add a Try...Catch block to the cmdDeposit_Click method.
D. Add a Try...Catch block to the ATMDeposit_Load method.
E. Add a Try...Catch block to the ATMDeposit constructor.
Answer: B, C

12. You create Microsoft Windows­based applications. You are designing the integration test for an application. You write the following lines of code. (Line numbers are included for reference only.)
01 private void cmdCompare_Click(object sender, EventArgs e) { 02 decimal flightFare, carRental, hotelPrice, travelCost; 03 flightFare = wsFlyHigh.GetBestFare(txtOrigin.Text, txtDest.Text, datDateOut, datDateBack); 04 cmdGetRentalPrice.Parameters.Add("@DAYS",SqlDbType.Int); 05 cmdGetRentalPrice.Parameters[0].Value=int.Parse(txtDays.Text); 06 carRental = cmdGetRentalPrice.ExecuteScalar(); 07 hotelPrice = bigDeal.GetHotelPrice(int.Parse(txtDays.Text)); 08 travelCost = flightFare + carRental + hotelPrice;
09 txtTravelCost.Text = travelCost.ToString("C"); 10 } You analyze the code and discover the following features: wsFlyHigh is a Web service that is hosted on a partners extranet.
cmdGetRentalPrice runs a stored procedure on a corporate database server. bigDeal is a COM component. You need to create a report that lists the parts of the code to be considered during integration testing. Which lines of code should you add to your report?
A. 03, 04, 05, 06, and 07
B. 03, 06, and 07
C. 03 and 07
D. 07
Answer: B

13. You create Microsoft Windows­based applications. You are designing a unit test class to test the functionality of a component named Calculator. The Calculator must function as a standard nonscientific calculator. A developer on your team writes the following lines of code for the test class. (Line numbers are included for reference only.) 01 [TestClass()] 02 public class CalculatorTest { 03 private TestContext testContextInstance; 04 public TestContext TestContext
{ 05 get{return testContextInstance;} 06 set{testContextInstance = value;} 07 } 08 [TestMethod()]
09 public void AddTest() { 10 Calculator target = new Calculator(); 11
Assert.AreEqual(target.Add(1,1),2); 12 target.Dispose(); 13 } 14 [TestMethod()] 15 public void
SubtractTest() { 16 Calculator target = new Calculator(); 17
Assert.AreEqual(target.Subtract(10,2),8); 18 target.Dispose(); 19 } 20 } You need to ensure that appropriate assertions are tested. Which additional assertion should you test?
A. AreSame
B. IsInstanceOfType
C. IsNotNull
D. Inconclusive
Answer: C

14. You create Microsoft Windows­based applications. You create an application that requires the user to be authenticated by a domain controller. The application consumes Web services. During acceptance testing, you detect that for some users a security exception is thrown while calling a method. The users should have access to the method. The method contains the following lines of code. [PrincipalPermission(SecurityAction.Demand,Role=Manager)] public void ApproveOrder(int ordered) { ... } You need to resolve this bug. What should you do?
A. Ask an administrator to enable Windows Integrated authentication in IIS.
B. Modify the code access security machine policies for the computer running the code such that the code is permitted to execute.
C. Change the SecurityAction from Demand to Deny.
D. Ask an administrator to add the users to the YourDomain\Manager group.
Answer: D

15. You create Microsoft Windows­based applications. You are developing a component that will be used by multiple Windows­based applications in a bank. Your specification states the following requirements for the BankAccount class: Store the balance value. Implement a public property to contain the value of balance. Implement a Deposit method that receives the amount to be deposited. This method does not return anything. Implement a Withdraw method that receives the amount to be withdrawn. This method does not return anything. The withdraw and deposit methods must throw exceptions in the following cases: o Negative values are used as amounts for withdrawal or deposit. o Amounts larger than the current balance are used for withdrawal. You need to create a unit test for the component. What should you do?
A. The test must attempt to deposit a positive amount. The test must attempt to withdraw a positive amount. The test must attempt to get the value of balance using the property.
B. The test must attempt to deposit a negative amount. The test must attempt to withdraw a negative amount. The test must attempt to get the value of balance using the property. The test must attempt to withdraw an amount larger than the current balance.
C. The test must attempt to deposit both negative and positive amounts. The test must attempt to withdraw both negative and positive amounts.
D. The test must attempt to deposit both negative and positive amounts. The test must attempt to withdraw both negative and positive amounts. The test must attempt to get the value of balance using the property. The test must attempt to withdraw an amount larger than the current balance.
Answer: D

16. You create Microsoft Windows­based applications. You are creating a component that will encapsulate a data source. Dozens of applications will use the component. The component must meet the following design requirements: 1.The component must be able to be modified within a Rapid Application Development environment. 2.The component must be without a user interface. You propose to derive the component from the System.Windows.Forms.Control class and to implement the IComponent interface. You need to decide whether the component will meet the requirements. What should you conclude?
A. The solution meets both the design requirements.
B. The solution does not meet any of the design requirements.
C. The solution meets the second requirement but not the first requirement.
D. The solution meets the first requirement but not the second requirement.
Answer: D

17. You create Microsoft Windows­based applications. You are creating an application that runs statistical sales models. The application will be used by 400 users on the local network. After the application is deployed, users report that the application stops responding. The application takes more than 10 minutes to resume to normal when a specific action is performed. The performance chart is shown in the Performance exhibit, and the task list of the application that is running on a sample computer is shown in the Processes exhibit. (Click the Exhibit button.) You need to evaluate the problem by analyzing the monitored data. What should you conclude?

A. The computer does not have enough memory to perform the task. A memory upgrade is necessary.
B. The computer does not have enough space in the paging file. The paging file has to be extended.
C. The application has a memory leak. The application needs to be debugged to find the root cause.
D. The application consumes too much processor time. The application needs to be debugged to find the root cause.
Answer: D

18. You create Microsoft Windows­based applications. You are creating a sales management application. The application does not use message queuing technology. The logical datacenter diagram for the current solution is displayed in the exhibit. (Click the Exhibit button.) Before deploying the application, you verify the list of operational requirements. You decide to meet the following operational requirements: Access to the data must be available even if a database server or a Web server is offline.Access to the database must resume automatically. You need to decide how to implement the solution. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

A. Place the business components in a component load­balancing cluster.
B. Add a database server to the network and place the database in a failover cluster.
C. Add a Web server to the network and place the Web services in a Network Load Balancing cluster.
D. Maintain an offline copy of the business components on a backup server.
E. Maintain an offline copy of the database on a backup server. F.Maintain an offline copy of the Web services on a backup server.
Answer: B, C

19. You create Microsoft Windows­based applications. You are creating an application that is used to run statistical sales models. Users run this application from 09:00 to 17:00 hours every day to run their analysis. The application requirements state that the application must not consume more than 20 percent of the processor time. The network administrator in your company sends you a graph displaying the processor usage for the application on a specific machine. The graph shows the processor usage for an entire day. The graph referenced by the network administrator is shown in the exhibit. (Click the Exhibit button.) You need to evaluate the design to find whether the application performance is within the requirements. What should you conclude?

A. The application performance meets the requirements. The spikes display specific points in time when the application usage is at its peak.
B. The analysis of the performance chart conclusively indicates that the application has a bug that needs to be fixed.
C. The analysis of the performance chart is inconclusive. Code profiling must be used to find what is happening with the application.
D. The analysis of the performance chart is inconclusive. A load test must be used to find what is happening with the application.
Answer: C

20. You create Microsoft Windows­based applications. You are creating a sales management application that accesses data from a Microsoft SQL Server 2005 database. The application uses Microsoft Windows Authentication Mode to access SQL Server 2005. After testing, the design team moves the database from the test server to the production server. The design team modifies the connection string on the application. You test the new configuration on your computer and the application runs successfully. You deploy the application to five client computers. The five client computers use other applications on the network that access different databases on the production server by using Windows Authentication Mode. You evaluate the application design and the production configuration. You conclude that the application will not connect to the database. What is the most likely cause of the problem?
A. Users do not have valid logons for SQL Server.
B. Users do not have the correct permissions for the sales database.
C. Client computers are not configured correctly to use the network.
D. The database server is not configured correctly to use the network.
Answer: B

21. You create Microsoft Windows­based applications. You are creating a sales management application. The application will consume Web services to retrieve and save data to a database server. These Web services will be exposed to a partner extranet so that partners can write
applications that will access the same data. The deployment diagram for the entire solution is as shown in the following exhibit. (Click the Exhibit button.) After deploying the solution, local users and partners report that they are not able to retrieve any data. You find that the client computers are able to access Web applications and Web services hosted by the Web server. You also find that the local applications are able to access other databases on the database server. You need to troubleshoot the issue. What should you conclude?

A. Firewall settings are blocking access from the Web server to the database server.
B. Firewall settings are blocking access from the client computers to the Web server.
C. The Web server is offline.
D. The database server is offline.
Answer: A

22. You create Microsoft Windows­based applications. You are creating an application to manage projects. Your company network consists of a single Microsoft Windows Server 2003 Active Directory domain. All servers in the domain run Microsoft Windows Server 2003. All workstations run Microsoft Windows XP Professional. You are provided with the following requirements: 1. Identify the user for workflow functionality. 2. Store data in a central location to help users access the data from anywhere on the network. 3. Permit data to be stored locally for offline access. 4. Permit access to the central data storage so that future applications can reuse the data. 5. Store application settings locally. 6. Make network communication as secure as possible. You create an application that relies on Windows domain­based authentication and authorization to identify the user without logging on to the application. You also decide to use Microsoft SQL Server 2005 as the database engine and save the data locally as XML for offline access. You need to validate that
the proposed solution meets the requirements. Which four requirements does the proposed solution meet? (Each answer presents part of the solution. Choose four.)
A. requirement 1
B. requirement 2
C. requirement 3
D. requirement 4
E. requirement 5
F. requirement 6
Answer: A, B, C, D

23. You create Microsoft Windows­based applications. You need to evaluate the design concept of an application. The application must meet the following requirements: The application relies on the operating system for authentication. The application minimizes the amount of data sent over the network when connecting to the database. The application exposes data access code so that the future Web­based and mobile applications can reuse them. The application permits users to view and edit data contained in tables from a Microsoft SQL Server 2005 database. The application controls access to the SQL Server 2005 database at the table level. The design contains the following elements: The SQL Server 2005 database uses the Windows Authentication mode. A database schema that grants rights to the users at the table level. A stored procedure in Transact­SQL that accesses the necessary data required by the application. A Web service that uses a pre­defined credential to access the database and run the stored procedures. A Microsoft Windows­based application that impersonates the logged­on user and calls the Web service to retrieve and update the data. You need to evaluate the design and recommend appropriately. What should you recommend?
A. The design meets all the requirements.
B. Change the Windows­based application to use Windows Authentication.
C. Change the Web service to impersonate the caller.
D. Change the database schema to use stored procedures in C#.
Answer: C

28. You create Microsoft Windows­based applications. You are creating an application to manage projects. Your current customers use Microsoft Windows 2000, Windows XP Professional, and Windows Server 2003, in workgroup and domain settings. The application must meet the following requirements: Identify the user for workflow functionality. Store data in a central location on your companys network. Permit data to be stored locally for offline access. Your application relies on Windows domainCbased authentication to identify the user without logging on to the application itself. You decide to use Microsoft SQL Server 2005 as the database engine and save the data locally in XML format for offline access. You need to identify the risks that are related to your design. Which risk should you identify?
A. The use of XML might limit the number of customers who will use the application.
B. The use of SQL Server 2005 might limit the number of customers who will use the application.
C. The use of the .NET Framework might limit the number of workstations that can use the application.
D. The use of a Windows domain might limit the number of customers who will use the application.
Answer: D

25. You create Microsoft Windows­based applications. You are creating a sales management application. This application will permit sales personnel to search for customer information in a Microsoft SQL Server 2005 database. All communication with the database server is done by using an SSL channel. When a user needs to search for customer information based on a name, the following sequence of actions occurs: 1.The user types a name into a text box. 2.The user clicks a button to initiate the search. 3.The component validates that the value the user types is less than 200 characters. 4.The value that is typed is passed as a string to a component. 5.The component concatenates the typed value to a Select statement in the Where clause of the component. 6.The statement is executed to generate a DataTable object. 7.The DataTable object is used to display the results to the user. You need to identify the risk factor in this application design. What should you conclude?
A. SQL injection can be used to execute malicious SQL statements.
B. Code injection can be used to elevate privileges of malicious code.
C. A buffer overflow can be caused by typing a very large string in the text box.
D. Canonicalization can be used to add invalid characters to the search string.
Answer: A

26. You create Microsoft Windows­based applications. You are creating a sales management application for your company. The application will be used by 250 users on the companys network.
In the future, the company will be expanding the user base to include at least 1,000 more users.
The application will be stored locally on every computer. The application uses a set of assemblies that are installed in the global assembly cache for business rules. The application retrieves data from a Microsoft SQL Server 2005 database by using a set of methods from a Web service. The SQL Server 2005 database is hosted on a local server. The Web service is maintained at a local IIS 6.0 Server. You need to evaluate which aspects of the physical design can be modified to accommodate more users. Which two aspects should you consider modifying? (Each answer presents part of the solution. Choose two.)
A. Windows­based application
B. assemblies in the global assembly cache
C. database on the SQL Server 2005 server
D. Web service on the IIS 6.0 Server
E. number of assemblies installed by the application
Answer: C, D

27. You create Microsoft Windows­based applications. You are creating an application that uses Microsoft Visual Studio 2005 to support the human resources department. The application stores information in a Microsoft SQL Server 2005 database. The application tracks information on the following fields: EmployeesManagersDepartmentsRelationships between them The database diagram is as shown in the following exhibit. (Click the Exhibit button.) You need to evaluate the database diagram to ensure that the application correctly handles the data. Which three conclusions should you reach? (Each correct answer presents part of the solution. Choose three.)

A. The database does not store data about managers.
B. The data about employees and managers is stored in the same table.
C. An employee can work for only one department.
D. An employee can work for any number of departments.
E. An employee has only one job title.
F. An employee can have any number of job titles.
Answer: B, D, E

Copyright 2012 CheatYourExams.com. All Rights Reserved.
ChinaITcertify Download the latest certification dumps and free exam questions