Professional Documents
Culture Documents
Soa MCQ
Soa MCQ
UNIT-I
Introduction To XML
XML document structure – Well formed and valid documents – Namespaces – DTD –
XML Schema – X-Files.
2. What is the correct syntax of the declaration which defines the XML version?:
A. <xml version="A.0" />
B. <?xml version="A.0"?>
C. <?xml version="A.0" />
D. None of the above
Answer : B
Answer : D
Answer : B
16. How can we make attributes have multiple values:
A. <myElement myAttribute="value1 value2"/>
B. <myElement myAttribute="value1" myAttribute="value2"/>
C. <myElement myAttribute="value1, value2"/>
D. attributes cannot have multiple values
Answer : D
21. In XML
A. the internal DTD subset is read before the external DTD
B. the external DTD subset is read before the internal DTD
C. there is no external type of DTD
D. there is no internal type of DTD
Answer : A
24. To add the attribute named Type to the <customer> tag the syntax will be
A. <customer attribute Type=”exelent”>
B. <customer Type attribute =”exelent”>
C. <customer Type attribute_type=”exelent”>
D. <customer Type=” exelent” >
Answer : D
26. You can name the schema using the name attribute like
A. <schema attribute=”schema1”>
B. <schema nameattribute=”schema1”>
C. <schema nameattri=”schema1”>
D. <schema name=”schema1”>
Answer : D
27. The default model for complex type, in XML schemas for element is
A. textOnly
B. elementOnly
C. no default type
D. both 1 & 2
Answer : B
28. Microsoft XML Schema Data types for Hexadecimal digits representating octates
A. UID
B. UXID
C. UUID
D. XXID
Answer : C
Unit II
SOA-IT6801
UNIT-II
Parsing XML – using DOM, SAX – XML Transformation and XSL – XSL Formatting –
Modeling Databases in XML
Answer : B
A. table-structure
B. file-structure
C. tree-structure
D. All the above
Answer : C
A. parentNode
B. previousSibling
C. lastChild
D. nextNode
Answer : D
A. .
B. ..
C. @
D. //
Answer : C
A. You can process the XML document in a linear fashion from the top down
B. You are processing a very large XML document whose DOM tree would consume too
much memory.
C. The problem to be solved involves only part of the XML document
D. All of the above.
Answer : D
A. DTD
B. XSLT
C. HTML
D. SOAP
Answer : B
<book category="Web">
<bname>XML Tutorials</bname>
<pages>100</pages>
<price>$300.00</price>
</book>
Answer : A
12. The words Document Node, Nodelist, Element Node, Named Node Map etc. are
A. Objects
B. Interface
C. Elements
D. Attributes
Answer : B
A. =,!=,<,>
B. =,!=,<,&
C. =,#,<,>
D. ^,!=,<,>
Answer : A
A. generate-id()
B. function-available()
C. key()
D. file()
Answer : D
17. Which of these type of built-in functions which are not supported by XPath ?
Answer : D
A. ancestor
B. attribute
C. following
D. followed
Answer : D
A. dependent
B. independent
C. Not always dependent
D. None of these
Answer : B
20. The ________ method can be used to display the value of the specified attribute.
A. attribute()
B. getAttribute()
C. showAttribute()
D. printAttribute()
Answer : B
A. <?xml?>
B. <?xml version="A.0"?>
C. <?xml encoding="JIS"?>
D. <?xml encoding="JIS" version="A.0"?
Answer : B
23.In XML
Answer : B
A. Entity
B. Node
C. Document
D. Attr
Answer : A
A. endDocument()
B. igonarableWhitespace()
C. A only
D. Both A and B
Answer : D
27.Use of SAX based parser is most likely to be used in which of the following scenarios?
A. Document.getDocumentElement()
B. Node.getFirstChild()
C. Document.getRoot()
D. None of these
Answer : A
A. XMLReader
B. ContentHandler
C. DocumentBuilder
D. Node
Answer : D
30. Which method is used to build JDOM document from the xml source?
A. SAXBuilder.build(xmlSource)
B. Document.build(xmlSource)
C. Document.newDocumentBuilder(xmlSource)
D. None of these
Answer : A
UNIT-III
A. Policy implementation
B. QoS
C. Security
D. Verify invoice
Answer : D
9. Which architecture describes the various elements that support the implementation of
services?
A. The Application Architecture
B. The Service Architecture
C. The Component Architecture
D. None of the mentioned
Answer : C
A. Web Services
B. Client-Server
C. Distributed Server
D. None of the Above
Answer : A
11. The type of server in two-tier architecture which provides data to the client stored on
disk pages is called
A. Functional Server
B. Data Server
C. Disk Server
D. Transaction Server
Answer : B
12. In two-tier client/server architecture, the running of application programs and the user
interface programs is in control of
A. Modulation Side
B. Server Side
C. Client Side
D. Host Side
Answer : C
A. Service Abstraction
B. Service Composability
C. Service Statefullness
D. Service Interoperability
Answer : C
A. Modularity
B. Composition
C. Encapsulation
D. Separation of concerns
Answer : B
A. Multiple business units host the same service to ensure maximum reuse and availability.
B. Maximum reuse is achieved by ensuring services are generic so that the same service serves
many different business tasks.
C. Existing APIs are exposed over new technologies such as Web services and Enterprise
Service Buses (ESB) to increase business flexibility and agility.
E. Through layered abstraction over the implementation and runtime details, it is possible to
provide software resources that give the right balance between reuse and specificity.
Answer : D and E
22. The architecture in which some application logic residingon the client, others on the
server
A. Client-Server
B. Distributed
C. Hybrid Architecture
D. None of these
Answer : B
A. Service Component
B. Composition
C. Services
Answer : A
24. Which architecture reflects immediate solutionrequirements, as well as long-term,
strategic IT goals.
A. Application architecture
B. Enterprise architecture
Answer : A
25. The architecture which spans enterprise and application architecture domains
A. Application architecture
B. Enterprise architecture
Answer : C
26. The architecture contain a long-term vision of how the organization plans to evolve
itstechnology and environments.
A. Application architecture
B. Enterprise architecture
Answer : B
27. The environments, in which bulky mainframe back-ends and serves thinclients
A. Hybrid
B. Two-tier client-server
C. Single-tier client-server
D. Distributed
Answer : C
28. The architecture which serves fat intelligent client and bulk of application logic.
A. Hybrid
B. Two-tier client-server
C. Single-tier client-server
D. Distributed
Answer : B
29. The architecture which serves intelligent web and application server in the business
layer
A. Hybrid
B. Two-tier client-server
C. Single-tier client-server
D. Distributed
Answer : D
A. Message
B. Operation
C. Service
D. Composition
Answer : D
UNIT-IV-WEB SERVICES
1. Which of the following is commonly used to describe the service interface, how to bind
information, and the nature of the component’s service or endpoint?
A. WSDL
B. SCDL
C. XML
D. None of the mentioned
Answer : A
7. When releasing a new service version, which changes to the WSDL document are
backward compatible?
A. Adding an operation
B. Removing an operation
C. Renaming an operation
D. Changing the parameters of an operation
Answer : A
Answer : D
15. Service metadata can be centrally registered within a __________ for discoverability
purposes.
A. service inventory
B. service composition
C. service registry
D. service model
Answer : C
D. None of these
Answer : A
C. SOAP
D. None of these
Answer : A
20. SOAP is a format for sending messages and is also called as __________.
A. Data Transfer protocol
B. Network protocol
C. Communication protocol
D. None of these
Answer : C
A. CGI
B. HTTP
C. UDDI
D. SOAP
Answer : C
A. UDDI is seen with SOAP and WSDL as one of the three foundation standards of web
services
B. UDDI is an open industry initiative enabling businesses to discover each other and define
how they interact over the Internet
23. Which of the following is/are the variants of Two-Phase Commit (2PC) Protocol?
A. Non-Volatile 2PC
B. Volatile 2PC
C. Non-Durable 2PC
D. Durable 2PC
Answer : B and D
25. How many MEPs patterns are supported by WSDL 1.1 and 2.0 respectively?
A. 2 and 4
B. 4 and 8
C. 3 and 6
D. 4 and 4
Answer : B
Service Oriented Analysis and Design – Service Modeling – Design standards and
Answer: A
2. Service Autonomy, Service Statelessness, and Service Loose Coupling are examples of:
C. service models
Answer: B
3. When planning a transition toward SOA, we are usually required to balance the
__________ goals with the __________ requirements.
Answer: A
A. data model
B. service agent
C. service registry
D. data agent
Answer: A
A. organizational diversity
B. organizational agility
C. organizational federation
D. organizational interoperability
Answer: B
A. autonomous, increase
B. stateless, decrease
C. scalable, decrease
D. agnostic, increase
Answer:: B
8.__________ and __________ are used to classify and organize services within a service
inventory.
14. Which of the following is the language standard for Web service interactions?
A. WS-BPEL
B. WS-XML
C. WS-JSON
D. All of the mentioned
Answer: A
15. Which of the following messaging protocol is used with XML in BPEL?
A. WS-Coordination
B. WS-Addressing
C. WS-Transactions
D. All of the mentioned
Answer: D
Answer: D
Answer: E
Answer: D
21. Which services are provided to EJB components by the EJB container?
A. Transaction support
B. Persistence support
C. Naming support
D. All mentioned above
Answer: D
22. Which component can be used for sending messages from one application to another?
Server
A. Client
B. Mq
C. webapp
Answer: C
A. WS-Atomic transaction
B. Choose the service layers.
C. Position the core standards.
D. Choose SOA extensions.
Answer :A
A. Central Coordination
B. Application service Coordination
C. Task-centric business service Coordination
D. Service-oriented business process Coordination
Answer :A
A. Text encoding
B. Structuring activities
C. Communication activities
D. Miscellaneous activities
Answer : A
26. which is the suitable component for WS-Policy Framework.
28. What are the steps involved in service oriented analysis process
Answer: D
29.What are the benefits for incorporating service-orientation into business process level?
Answer: B
Answer : D