Practice Questions

Question 1

Which of the following tiered solutions would be best for Billington?

  • A. Browser GUI > XML Web Service > Business Layer > Data Layer

  • B. Windows User Layer > Business Layer > Data Layer

  • C. Browser GUI > "code behind" > Business Layer > Data Layer

  • D. Browser GUI > "code behind" > Business Layer > Data Layer and XML Web Service > Business Layer > Data Layer

  • E. XML Web Services > Business Layer > Data Layer

A1:

The correct answer is D. From the case study, you can determine that using a Web interface and a Web Services interface, both connected to the Business Layer, is the best solution. Answer A is not a valid architecture because a browser GUI cannot interact directly with a Web Service (yet). Answers B, C, and E do not meet the users' needs in the case study.

Question 2

In the final solution for Billington, which of the following modules need to exist to interact with legacy software or hardware? (Choose all that apply.)

  • A. COMTI module (interact with mainframe and PL/1)

  • B. BizTalk (interact with mainframe)

  • C. Data access interfaces (DB2, Oracle)

  • D. IBM CICS interface

  • E. There are no legacy interaction requirements for Billington.

A2:

The correct answer is E. Although there are significant challenges in interfacing with an IBM mainframe (PL/1) and with two separate inventory databases (DB2 and Oracle), the final solution requires that all legacy systems be retired.

Question 3

Which of the following choices are a good example of a logical single-tier architecture? (Choose all that apply.)

  • A. Internet application with static content

  • B. Visual Basic application with bound controls interacting with a Microsoft Access database

  • C. Visual Basic application with bound controls interacting with a SQL Server database

  • D. XML Web Service that dispenses the time of day

  • E. Microsoft Excel

A3:

The correct answers are A, B, D, and E. All the preceding responses, except answer C, are examples of single-tier architecture, in which no noticeable effort has been made to separate the GUI from the business logic from the data. Answer C is a two-tier architecture because SQL Server has created a clear delineation between the data and the rest of the application.

Question 4

Which of the following choices would be the best reason for selecting COMTI to participate, at least in the earlier stages, in a solution at Billington?

  • A. COMTI enables you to interact directly with the PL/1 program running in CICS.

  • B. COMTI enables you to wrap .NET database calls in transactions that can be committed or rolled back.

  • C. COMTI enables you to talk to the IBM DB2 data stores.

  • D. COMTI enables you to bypass the need for an SNA Server.

A4:

The correct answer is A. COMTI can call and access CICS transactions. Because COMTI still requires SNA Server, answer D is incorrect. Answers B and C are not valid statements.

Question 5

If you want to log useful troubleshooting information for any unexpected exceptions that might occur in the Billington solution, which of the following logging destinations would be the best, simplest choices? (Choose two.)

  • A. Send it to the user's screen.

  • B. Store it in a text file on the server.

  • C. Store it in a database.

  • D. Store it in the event log on the server.

  • E. Store it in the user's event log.

  • F. Create a TCP or UDP packet and send it to a central notification server.

A5:

The correct answers are B and D. Answers A and E are incorrect because there is no value in subjecting users (or their machines) to logging information, which is technical in nature. Answer F is incorrect because remote notification would be better implemented by using WMI. Answer C is incorrect because the question asked for simple choices. There is no built-in listener for database inserts; however, event logs and file writes are already available as listeners in the .NET Framework.

Question 6

Which of the following localization and globalization support issues would you anticipate from reading the Billington case study? (Choose all that apply.)

  • A. Separate Business Layers should be created for each language supported.

  • B. Time zone issues.

  • C. Currency and date format issues.

  • D. Language (text) issues.

A6:

The correct answers are C and D. Because Billington is selling to customers in both the United States and Canada, you need to express costs in both U.S. and Canadian dollars. Language changes, displaying instructions and text in both French and English, are also a requirement. Although time zones need to be accounted for, answer B is not correct as it is not a localization issue. Answer A is not correct because a good design should not require any code changes to the Business Layer, regardless of the number of languages supported. All localization support should be separate from compiled code.

Question 7

Which of the following security models would most likely involve going to a SQL Server database to verify a user's ID and password?

  • A. Windows authentication

  • B. Forms authentication

  • C. NT Security

  • D. Any authorization model

  • E. Microsoft Passport authentication

A7:

The correct answer is B. Forms authentication places the burden of storing the user's ID and password on you, the developer. Answers A and E use features built for you and administered by others. Answers C and D are not valid options for the question asked.

Question 8

An unknown percentage of users of Billington's new Web site are people with hearing impairments. This is a problem because the proposed "talking pharmacist" feature, Ask Pat, transmits sound files. Which of the following options should be featured to avoid this problem?

  • A. Include a sign language "assistant" in the corner of the screen.

  • B. Display the system volume control on the Web page.

  • C. Turn on the ShowSounds feature.

  • D. Programmatically control the Text-to-Speech feature built into Windows.

A8:

The correct answer is C. None of the other responses are valid options.

Question 9

Billington has a requirement for a secure shopping cart that is supported even for users with cookies disabled. Which of the following choices would be the best design for holding the cart's contents as users browse the site? (Choose two.)

  • A. Use URL munging (encrypted) to hold the cart's contents.

  • B. Store the cart's contents in the Session object.

  • C. Store the cart's contents in the Application object.

  • D. Store the cart's contents in a database table (such as SQL Server).

  • E. Use a hidden field with ViewState to hold the cart's contents.

A9:

The correct answers are B and D. Common practice is to hold shopping cart items in a table. Security and persistence are easier with this approach. However, in a lightweight Web application, an argument could be made to hold the cart in the Session object. The other responses are not good design choices.

Question 10

Which of the following user profiles in the Billington system would be a good option for using a Windows Forms UI?

  • A. Suppliers

  • B. HMOs, which access the application through XML Web Services

  • C. Staff pharmacists

  • D. Internet users purchasing products online

A10:

The correct answer is C. Based on the case study, staff pharmacists seem to have unique needs that might require a richer GUI than a Web browser can provide. Also, the use of a Windows Form makes the security model simpler for pharmacists.

Question 11

If Billington wanted to implement a services-based architecture, which of the following statements would not be true?

  • A. State would be held in the business services component.

  • B. Messages would be the primary communication medium.

  • C. The architecture might be harder to refactor in the future.

  • D. The interaction between tiers primarily consists of fewer calls to the Business Layer, but each call contains a larger message.

A11:

The correct answer is A. Answer A is not a true statement because in a services architecture, state is not held by a service provider, but is instead passed in as parameters in single-call, large-grained methods. All the other statements are true statements about the benefits of a services-based architecture.

Question 12

Billington's drug prices can often change several times a day. Which of the following strategies is the best place to cache the price catalog?

  • A. Session object

  • B. Application object

  • C. Cache object

  • D. Cookies

A12:

The correct answer is C. The Cache object provides built-in support to change the cached data when certain external triggers are updated (such as a file). Items in the Cache object can also be automatically refreshed at regular time intervals. The Application object does not support these functions; they must be coded by the developer. The other answers are incorrect. Answers A and D are poor design choices.

Question 13

Which of the following analogies best represents asynchronous programming?

  • A. Checking out a book from the library

  • B. A conversation with a co-worker

  • C. Paging people on their beepers

  • D. An adaptive-style technical exam

A13:

The correct answer is C. Answers A, B, and D all presume at least some rudimentary cause-and-effect chain, in which one item "pauses" until the other completes. Paging people is more asynchronous, or multithreaded, as the person doing the paging can continue to do other things while he waits for the page to be answered.

Question 14

Billington has a COM component written in Visual C++ 6.0 that provides a real-time currency conversion service. Which of the following technologies is the simplest way to interact with this legacy component in your new solution?

  • A. XML

  • B. COM+

  • C. CCW

  • D. RCW

  • E. Remoting

A14:

The correct answer is D. With a Runtime Callable Wrapper, the COM component looks like just another .NET class to the calling code. This technology keeps you from having to touch the legacy code in any way.

Question 15

Which of the following scenarios makes .NET Remoting a better choice than an XML Web Service? (Choose all that apply.)

  • A. A .NET Data Layer and .NET Business Layer located on the same machine.

  • B. A .NET Data Layer and .NET Business Layer located on different machines.

  • C. The .NET Business layer is talking to a Visual Basic 6 component.

  • D. Two .NET components that interact; simplicity of architecture is your primary concern.

  • E. Two .NET components that interact; performance is your primary concern.

A15:

The correct answers are A, B, and E. Remoting is recommended when both ends of the communication are .NET and when performance is paramount. Answer D is a good choice for Web Services, which are simpler to implement. Answer C would not be able to use .NET Remoting or Web Services without some sort of wrapper code being written.

Question 16

The Billington design team wants to ensure that its solution meets rudimentary maintainability goals. Which of the following tasks would move the team in the correct direction? (Choose two.)

  • A. Implement page-level authorization.

  • B. Write a database audit record each time a pharmacist changes a price.

  • C. Turn on Option Strict.

  • D. Log all exceptions to the server's event log.

  • E. Use WMI to notify you whenever the Web server becomes nonresponsive.

A16:

The correct answers are D and E. Answer A is part of a security strategy, not maintainability. Answer B is an auditing strategy, which again could fall under the aegis of security. Answer C is a good way to improve the quality of the code, but does not technically fall under the umbrella of maintainability.

Question 17

Which of the following is the single biggest advantage you should expect in the Billington solution from creating a small proof-of-concept applet that tests your ability to use Web Services to interact with the major HMOs?

  • A. Speed up the development cycle.

  • B. Mitigate risks in your technology selections.

  • C. Create a prototype to run past the stakeholders to verify the design assumptions.

  • D. Create a performance baseline.

A17:

The correct answer is B. Although all the other responses could be seen as outcomes of a proof-of-concept applet, answer B offers the biggest payback, as it keeps you from discovering a showstopper issue too late in the development cycle to make architectural changes and keep to the schedule.

Question 18

Which of the following items is considered part of the logical design?

  • A. A database schema

  • B. Use cases

  • C. A firewall between your corporate data and the Internet

  • D. Choosing between .NET Remoting and Web Services

  • E. Establishing a SourceSafe hive for shared development

A18:

The correct answers are A and D. Creating the database schema and choosing between Remoting or Web Services are decisions that are typically made during logical design. Use cases, answer B, is part of the requirements gathering and answer C, a firewall, is part of the physical design effort. Answer E is part of the development standards for the team, but is not part of the solution design.



Analyzing Requirements and Defining. Net Solution Architectures (Exam 70-300)
MCSD Self-Paced Training Kit: Analyzing Requirements and Defining Microsoft .NET Solution Architectures, Exam 70-300: Analyzing Requirements and ... Exam 70-300 (Pro-Certification)
ISBN: 0735618941
EAN: 2147483647
Year: 2006
Pages: 175

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net