Top Banner
IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1
41

IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

Jan 18, 2016

Download

Documents

Godfrey Riley
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

IT2401 SERVICE ORIENTED ARCHITECTURE

Technical Quiz 1

Page 2: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 1. In the Layered Architecture Model, which of the following is NOT a type of service?

A. Business ServicesB. Data ServicesC. Presentation ServicesD. Wrapper Services

Page 3: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 2. Reliability can be measured as

a) The number of defectsb) The frequency of failuresc) The frequency of errorsd) The percentage of time that an application is available

Page 4: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 3. Which o the following architectural patterns should be employed in virtually everysoftware system?

a) Client-Serverb) Layered Architecturec) Service-Oriented Architectured) Pipe-And-Filter

Page 5: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 4. Which of the following would not be a key task of a software project manager?

a) Co-ordinating with the managers of other teams

b) Giving advice about the software architecture

c) Designing the database

d) Ensuring the developers have the right tools and technology

Page 6: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 5. Using equivalence classes to design tests helps improve what?

a) The efficiency of the testing process

b) The coverage of nodes in the flow graph

c) The reusability of the system

d) The ability to find defects relating to timing, such as critical races

Page 7: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 6. Which of the following is a multi-level certification for an organization’s software process, where you receive higher levels of certification, as the organization gets better?

a) ISO 9000 seriesb) IS) 9000-2c) PSPd) CMMi

Page 8: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 7. What is the keyword used in a sequence diagram to indicate iteration

a) optb) loopc) repeatd) while

Page 9: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 8. Which kind of UML diagram describes how code is arranged into directories?

• a) Deployment• b) Component• c) Communication• d) Package

Page 10: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 9. According to the professor, the waterfall model of software developmenta) Became widely used largely due to a journalist’s misinterpretation of what an expert saidb) Should never be used in software projects todayc) Was the basis for military software development standards in the US for many yearsd) All of the above

Page 11: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 10. Which of the following is false regarding a use case?

a) It should describe in detail an aspect of the user interface of the systemb) It should have a series of steps, some done by the system and some by an actorc) It should have a named) It appears as an ellipse in a use case diagram

Page 12: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 11. In live lock, which of the following is true?

a) The system will be completely frozen and will consume no CPU time

b) The system will be completely frozen and will always use as much CPU time as it can obtain

c) The system will be unable to reach certain states

d) The system will crash after a short period of time

Page 13: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 12. The Delphi technique is:

a) A method for calculating costs algorithmicallyb) An approach to object-oriented modelingc) A strategy for ensuring that the right number of people work on a project teamd) An approach for combining cost estimates from different estimators

Page 14: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 13. When should code inspection be performed if you are using test-driven development?a) As soon as the code is written, but before the automated tests are first runb) As soon as possible after most of the automated tests have passedc) After most automated and manual tests have passedd) After all testing is complete

Page 15: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 14. Control coupling exists in OCSF. Which of the following changes would reduce it?

a) Changing the client and server so they use the Observer pattern

b) Changing from a client-server to a peer-to-peer architecture

c) Passing commands to the server as method names that are executed directly on the server, rather than interpreting a command string in handle Message From Client

d) Inserting a broker between the client and the server to send different commands to different servers

Page 16: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 15. In a state diagram, the behavior while in a state is defined by

a) The set of incoming transitionsb) The set of self transitionsc) The set of outgoing transitionsd) The set of events that the state does not respond to

Page 17: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 16. Which form of coupling can be effectively reduced by the delegation pattern?

a) External couplingb) Data couplingc) Stamp couplingd) Routine call coupling

Page 18: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 17. Affordance is:

a)The cost of software for the consumer

b) The value of a software development contract

c) The set of operations a user can do

d) A situation in which the UI restricts what the user can do

Page 19: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 18. Which characteristic best distinguishes SOA technologies from previous approaches?

• A. Loose coupling• B. Object based• C. Synchronous• D. Fine-grained

Page 20: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 19. TVs-R-Us is a retailer of video and audio products. They currently use a JMS-based system to share information between their stores and their central warehouse. Why would they consider integrating their current system into an ESB? Choose three.

a. Faster communicationsb. Dynamic message routingc. Tighter application couplingd. Finer-grained messaging

Page 21: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 20. TVs-R-Us wants to select a platform for offering data integration services. Which tool provides that service?

a. aldspb. alsbc. alsrd. albsi

Page 22: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 21. NightRider, a motorcycle parts manufacturer, wants to start an SOA project. Where should they concentrate their work for the initial effort?

a simple application with little visibility

b. a simple application with high-level visibility

c. a large-scale application integrated with most corporate systems

d. a large-scale application integrated with many external suppliers

Page 23: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 22. A business transaction in an SOA application includes which characteristic?

a. the xa protocolb. 2pc commitsc. none of the aboved. alsb

Page 24: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 23. Which is not a characteristic of a compensating transaction?

• a. undoes the work of a failed business transaction

• b. is a separate business transaction from the transactions originally attempted.

• c. may consist of several system transactions.• d. uses the xa protocol

Page 25: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 24. Why are idempotent operations important for distributed transactions?

a. simplifies recovery operationsb. potentially produces a different result each time invokedc. automatically invokes commit/rollback processingd. includes operation tracing logic for debugging applications

Page 26: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 25. ABX Corporation must supply production information to its a major customer periodically. This customer uses a .Net application and accumulating that information can take varying lengths of time. Which approach should ABX use from their Java, J2EE environment?

a. asynchronous soap request with a callbackb. synchronous requestsc. jms point-to-point callsd. create data file extracts to be delivered to the customer via periodic emails

Page 27: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 26. As an architect for ABX Corporation, you are responsible for developing a model for describing data services. Which item is NOT a layer to include in the model?

a. applicationb. logicalc. canonicald. synthesized

Page 28: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 27. ABX Corporation has begun to adopt an SOA program. They have created an architecture, created infrastructure services and have identified project priorities. However some IT managers have expressed doubts about why this strategy has been adopted and how expensive it might be. Which of the SOA domains could most use improving? Choose two.

a. architectureb. costs & benefitsc. building blocksd. projects & applications

Page 29: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 28. Which design pattern can be used to ensure that consistent data is passed within a service bus?

a. fork/joinb. vetoc. delegationd. exception handling

Page 30: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 29. An order entry service is deployed on a .NET-based system, using SOAP over HTTP, with an expected response time of 1.0 seconds. What product could collect and report on response time information?

a. alsrb. aldsc. wlsd. alsb

Page 31: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 30. Which two of the following are typical implementations of a shared business service? Choose two.

a. composite servicesb. enterprise service bus proxiesc. packaged application apisd. java messaging service

Page 32: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 31. The design of a particular application requires that it must obtain additional elements from an external source and add them to the messages it processes. What is the appropriate design pattern for the application?

a. service calloutb. asynchronous request/responsec. vetod. parallel fan out with join

Page 33: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 32. ABX Corporation would like to allow certain users a subset of rights for changing information on their accounts. Which is approach below could add that capability without rewriting the application?

a. integrate ales with existing authorization system to add business rules to security services.b. integrate alsr with existing service look-ups to route to small utility applications which filter requests based on the business rules.c. integrate with albsi to provide a new user application with request filters for the business rules.d. no extensions can provide this service. the application must be re-written.

Page 34: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 33. Components of an order management system are spread across implementations on .NET, Java, and C, on Windows, UNIX and Mainframe platforms. What standard or proprietary approach should be considered as the primary means to request and issue security tokens across these components?

a. EJB with the JCA adaptersb. SAMLc. WS-Trustd. .NET Enterprise Services with Microsoft Distributed Trust Services

Page 35: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 34. Which of the following is NOT an organizational and governance concern?

a. define and modify servicesb. decide and define who is allowed access to services.c. define the quality of services providedd. determine boundaries of business transactions

Page 36: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 35. Which two of the following are aspects of SOA Governance? Choose two.

a. establish interfaces for common services.b. establish polices for the service design.c. establish canonical data models.d. establish runtime policies around services and soa applications

Page 37: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 36. Which two factors drive the need for SOA governance? Choose two.

a. local access to data.b. distributed processes and services.c. cross-organization involvement in service composition.d. common web service standards.

Page 38: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 37. Which is a consequence of an SOA built without sufficient governance?

a. developers cannot choose languages to develop services.b. developers cannot access legacy systems.c. developers cannot use wsdl to describe services.d. developers cannot systematically discover existing services.

Page 39: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 38. What are the three parts of a service? Choose three.

a. callbackb. contractc. registryd. interface

Page 40: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 39. Which is true of Service-Oriented Development of Applications?

a. business analysts create applications via service composition.b. software engineers create applications via service composition.c. soa architects create applications via service composition.d. end-users create applications via service composition.

Page 41: IT2401 SERVICE ORIENTED ARCHITECTURE Technical Quiz 1.

• 40. Which two techniques for service candidate identification should be used in new application development? Choose two.

a. top downb. waterfallc. cascaded. bottom up