0% found this document useful (0 votes)
25 views51 pages

SOA XML Questions

XML

Uploaded by

tttsap
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views51 pages

SOA XML Questions

XML

Uploaded by

tttsap
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 51

lOMoARcPSD|49877287

SOA MCQ Questions

Service Oriented Architecture (Anna University)

Scan to open on Studocu

Studocu is not sponsored or endorsed by any college or university


Downloaded by yogita ([email protected])
lOMoARcPSD|49877287

UNIT-1

PART-A

1) XML stands for


a) Extended Mashup Language
b) Extensible Mashup language
c) X-Markup Language
d) Extensible Markup Language

ANS:D

2) XML is
a) Platform independent
b) Language Independent
c) Both A & B
d) None of the above

ANS:C

3) Find the correct syntax of the declaration which defines the XML version
a) <?xml version=”1.0” ?>
b) <xml version=”1.0” />
c) <?xml version=”1.0” />
d) None of the above

ANS:A

4) Abbreviate the term DOM


a) Developed object Model
b) Document object Model
c) Document oriented Model
d) None of the above

ANS:B

5) Which language is Extensible Markup Language (XML) similar?

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

a) HTML
b) PHP
c) JAVASCRIPT
d) None of the above

ANS:A

6) Which is not Well formed XML rule?

a. All XML Container Elements Must Have a Closing Tag


b. All XML Container Elements Must Have Proper Nesting
c. XML tags are not case sensitive
d. An XML document must contain only one root element

ANS:C

7) Validation of xml document can be done using


a) DTD
b) XML Schema
c) DOCTYPE
d) None of the above

ANS:A

8) Which of the following is LIST OPERATOR


a) Semi colon (;)
b) Vertical bar (|)
c) Colon (:)
d) None of the above

ANS:B

9) How many kinds of nodes are there in XPath?


a) 5
b) 6
c) 7
d) 8

ANS:C

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

10) Which of the following is not XPath node


a) Text
b) Namespace
c) Processing Instruction
d) Title

ANS:D

11) Which of the following are the components of XSL?


a) XSLT
b) XPATH
c) XSL-FO
d) All of the above

ANS:D

12) Commonly used date functions provided by XQuery


a) current-date()
b) current-time()
c) current-dateTime()
d) all of the above

ANS:D

13) Language that is used to retrieve information stored in XML format


a) XQuery
b) XSLT
c) XLS
d) None of the above

ANS:A

14) Which statement is true?


a) All the statements are true
b) All XML elements must have a closing tag
c) All XML elements must be lower case
d) All XML documents must have a DTD

ANS:B

15) What are the types of XML Parsers?


a) DOM

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

b) SAX
c) None of the above
d) Both A and B

ANS:D

16) What does DTD stand for?


a. Direct Type Definition
b. Document Type Definition
c. Dynamic Type Definition
d. None of the above

ANS:B

17) The attribute used to define a new namespace is


a) XMLNS
b) XmlNameSpace
c) Xmlns
d) XmlNs

ANS:C

18) Which of the following is a valid XSLT iteration command


a) for-each
b) for-all
a) forall
b) foreach

ANS:A

19) Which of the following is true for DTD


a) what are the elements allowed in the XML document
b) what are attributes of every element, and whether it is optional or required
c) Both A and B
d) None of the above

ANS:C

20) Which of the following is not true for XML


a) XML is not a Programming Language

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

b) XML is a data storing language


c) Used to exchange the information between organizations and systems
d) None of the above

ANS:D

21) Which of the following is not true for SAX-SIMPLE API FOR XML
a) It is event event based
b) Whole document is not loaded into memory
c) Both A and B
d) None of the above

ANS:D

22) A validating XML application should be used when:


a) the design demands that all elements use both start and end tags
b) missing or out-of-place elements could cause application errors
c) attribute values cannot refer to external entity references
d) High performance is an important architectural constraint

ANS:B

23) Which of the following is used to check XML for syntax errors
a) XML Browser
b) XML Validator
c) XML Parser
d) None of the above

ANS:B

24) What does SAX stand for?


a. Single API for XML
b. Simple API for XML
c. Simple AI for XML
d. Simple APP for XML

ANS:B

25) SAX is an event-driven online algorithm for _________ XML


a. compiling
b. interpreting
c. decoding
d. parsing

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

ANS:D

PART-B

26) Is this a 'well formed' XML document?


<?xml version="1.0"/>
<note >
<to age="29" >John</to>
<from >Smiley< / from>
</ note>
c) True
d) False

ANS:B

27) Which of the following is not true for XSLT?


a) XSLT is a language for transforming XML documents into XHTML documents
b) XSLT is style sheet language for XML documents
c) XSLT stands for XSL Transformations
d) XSLT uses XPath to navigate in XML document

ANS:B

28) Correct syntax for counting the items in a sequence is


a) count($seq as item()*)
b) count($seq from item()*)
c) count($seq as *item())
d) count($seq from *item())

ANS:A

29) Which Characters are illegal in XML elements?


a) “<”
b) “&”
c) Both A and B
d) None of the above

ANS:C

30) Comment in XML document is given by


a) <?-- -->
b) <!-- --!>

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

c) <!-- -->
d) </-- -- >

ANS:C

31) Which of the following XML documents are well-formed?


a) <firstElement>some text goes here
<secondElement>another text goes here</secondElement>
</firstElement>
b) <firstElement>some text goes here</firstElement>
<secondElement> another text goes here</secondElement>
c) <firstElement>some text goes here
<secondElement> another text goes here</firstElement>
</secondElement>
d) </firstElement>some text goes here
</secondElement>another text goes here
<firstElement>

ANS:B

32) 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” >

ANS:D

33) A schema describes


(i) grammer
(ii) vocabulary
(iii) structure
(iv) datatype of XML document

a) (i) & (ii) are correct


b) (i),(iii) ,(iv) are correct
c) (i),(ii),(iv) are correct
d) (i),(ii),(iii),(iv) are correct

ANS:D

34) The syntax for writing the minimum occurrence for an element is
a) <xsd:element ref=” note” min=” 0” />
b) <xsd:elements ref=” note” min=” 0” />
c) <xsd:elements ref=” note” minOccur=”0” />
d) <xsd:elements ref=” note” minOccurs=” 0” />

ANS:D

35) Which of the following is used to specify the attribute list of an element
a) ATTLIST

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

b) ?ATTLIST
c) !ATTLIST
d) #ATTLIST

ANS:C

36) The following best describes the development of XML.


a) XML developed from HTML because WEB browsers became more powerful.
b) XML is designed as a replacement because SGML cannot be used for document
development.
c) XML builds on HTMLs ability to provide content to virtually any audience by adding the
power of intelligent content.
d) XML is the modern replacement for HTML and SGML, taking the good points from each,
making both of those languages obsolete.

ANS:C

37) Which of the following is not a regular expression functions provided by XQuery.
a) matches($input, $regex)
b) replace($input, $regex, $string)
c) tokenize($input, $regex)
d) None of the above

ANS:D

38) Which of the following is true for empty element in XML


a) <middlename />
b) <middlename/ >
c) <middlename / >
d) None of the above

ANS:A

39) Which of the following is not a pre-defined entity


a) &
b) ?
c) ‘
d) “

ANS:B

40) An absolute location path starts with


a) Forward slash (/)
b) Back slash (\)
c) Both A and B
d) None of the above

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

ANS:A

UNIT-2

PART-A

1. Which of the following describes a message-passing taxonomy for a component-based


architecture that provides services to clients upon demand?
a) SOA
b) EBS
c) GEC
d) All of the mentioned

Answer: a
Explanation: Clients access a component that complies with SOA by passing a
message containing metadata to be acted upon in a standard format.

2. Point out the correct statement.


a) Service Oriented Architecture (SOA) describes a standard method for requesting
services from distributed components and managing the results
b) SOA provides the translation and management layer in an architecture that removes the
barrier for a client obtaining desired services
c) With SOA, clients and components can be written in different languages and can use
multiple messaging protocols
d) All of the mentioned
Answer: d
Explanation: You don’t need SOA if you are creating a monolithic cloud application that
performs a specific function such as backup, e-mail, Web page access, or instant
messaging.
3. Which of the following is a repeatable task within a business process?
a) service
b) bus
c) methods
d) all of the mentioned
Answer: a
Explanation: A business task is a composition of services.

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

4. Which of the following module of SOA is shown in the following figure?

a) Description
b) Messaging
c) Business Process
d) QOS

Answer: d
Explanation: QoS is established, and the service is instantiated.

5. Point out the wrong statement.


a) SOA provides the standards that transport the messages and makes the infrastructure to
support it possible
b) SOA provides access to reusable Web services over an SMTP network
c) SOA offers access to ready-made, modular, highly optimized, and widely shareable
components that can minimize developer and infrastructure costs
d) None of the mentioned
Answer: b
Explanation: Service Oriented Architecture has been part of a collaborative effort on the part
of both large and small vendors to come up with a common solution to architecting complex
business software processes efficiently.

6. Which of the following is used to define the service component that performs the service?
a) WSDL
b) SCDL
c) XML
d) None of the mentioned
Answer: b
Explanation: SCDL stands for Service Component Definition Language.

7. 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

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

c) XML
d) None of the mentioned
Answer: a
Explanation: The most commonly used message-passing format is an Extensible Markup
Language (XML) document using the Simple Object Access Protocol (SOAP).

8. Which of the following provides commands for defining logic using conditional
statements?
a) XML
b) WS-BPEL
c) JSON
d) None of the mentioned
Answer: b
Explanation: Business process is a collection of activity graphs.
9. Which of the following is used as middleware layer in the following figure?

a) XML
b) ESB
c) UDDI
d) None of the mentioned
Answer: b
Explanation: An ESB may be part of a network operating system or may be implemented
using a set of middleware
products.
10. Which of the following figure is associated with Description Module in SOA stack?

a)

b)

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

c)
d) None of the mentioned
Answer: d
Explanation: WSDL is a language for describing web services and how to access them.

11. Which of the following is used to aid for locating services in SOA?
a) catalog service
b) data abstraction services
c) data bus
d) all of the mentioned
Answer: a
Explanation: Service catalogs are dynamic and under constant modification.
12. Point out the correct statement.
a) An intranet is a network that is constructed through the consolidation of separate networks
b) The Information Technology Infrastructure Library (ITIL) is developed by the United
Kingdom’s Office of Government Commerce (OGC)
c) Message passing in SOA requires the use of four different protocol types
d) All of the mentioned
Answer: b
Explanation: ITIL is the most widely accepted approach to IT service management in the
world.
13. Which of the following catalog service requires some sort of synchronization or update to
maintain a unified data store across the servers involved?
a) global
b) standalone
c) federated
d) all of the mentioned
Explanation: Global catalog service serves multiple sites.
14. How many different protocol types are required for message passing in SOA?
a) 1
b) 2
c) 3
d) 4
15. Point out the wrong statement.
a) An ESB is both necessary and essential to a Service Oriented Architecture
b) A client connected to an ESB communicates over a network protocol such as HTTP,
Representational State Transfer (REST), or Java Message Service (JMS) to a component (or
service)

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

c) Messages are most often in the form of the SMIL


d) None of the mentioned
Answer: c
Explanation: Messages are most often in the form of the eXtensible Markup Language (XML).
16. Which of the following combination is possible in WebSphere ESB?
a) XML/JMS
b) SOAP/JMS
c) SOAP/HTTP
d) Governance
17. Which of the following statement is incorrect related to catalog servers?
a) They can be standalone catalog servers serving a single site
b) They cannot serve the role of a global catalog service where two or more catalog servers
are merged to include several sites
c) They can be part of a federated catalog service
d) None of the mentioned
18. Which of the following version of WSDL is a W3C standard?
a) 1.1
b) 2.3
c) 3.1
d) Governance
Answer: a
Explanation: The Web Service Description Language (WSDL) is one of the most commonly
used XML protocols for messaging in Web services
19. Which of the following essential object in WSDL is used to support message transfer?
a) bus
b) binding
c) type
d) none of the mentioned
Answer: b
Explanation: The binding is the description of the interface (e.g. RPC) and the transport (e.g. SOAP).
20. .Which of the following object is used to describe the data, usually as part of the XML
schema?
a) operation
b) prototype
c) types
d) none of the mentioned
21. Point out the correct statement.
a) Some mature SOA implementations favor orchestration over choreography
b) Most mature SOA implementations favor choreography over orchestration
c) With orchestration, multiple service manages the various processes
d) None of the mentioned

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

Answer: d
Explanation: Most mature SOA implementations favor orchestration over choreography.

22. Which of the following element is used by orchestrated business process commonly referred
to as?
a) conductor
b) coordinator
c) orchestrator
d) all of the mentioned

Answer: c
Explanation: orchestrator is the central controlling service element.

23. SOA _____ an extension of the Service Oriented Architecture to respond to events that occur
as a result of business processes.
a) 2.0
b) 3.0
c) 4.0
d) All of the mentioned

Answer: a
Explanation: SOA 2.0 can allow low-level events to trigger a business process, correlate events
with the information contained in the SOA design.
24. Point out the wrong statement.
a) Event handling is part of event-driven SOA or SOA 2.0
b) An ESB provides a lower layer for event management with a messaging infrastructure
c) UML is the modeling language of the Object Management Group that provides a method
for creating visual models for software
d) None of the mentioned

Answer: b
Explanation: An ESB isn’t required by SOA, but it is often used to create a compliant and
efficient service architecture.

25. Which of the following application has the ability to query event data in the same way that a
stock ticker or trading application can query trading data?
a) CVE
b) CEV
c) XML
d) None of the mentioned

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

Answer: a
Explanation: The CVE application provides the same kind of heartbeat and correlation
functionality that a stock trading application does.

PART-B
26. What does CVE in SOA design stand for?
a) Causal Vector Engine
b) Continuous Vector Engine
c) Causal Valuable Engine
d) None of the mentioned
Answer: a
Explanation: Many CVE systems display events in a console in different contexts so that an
observer can analyze the display and take appropriate actions.
27. Which of the following is a collaborative effort where the logic of the business process is
pushed out to the members?
a) Orchestration
b) Choreography
c) SOA 2.0
d) None of the mentioned

Answer: b
Explanation: In choreography, each Web service that is part of a business process is aware of
when to process a message and with what client or component it needs to interact with.
28. In the ______ model, data and messages are exchanged in a Service Data Object (SDO).
a) CSA
b) SCA
c) UDDI
d) None of the mentioned
Answer: b
Explanation: Components are coded with their service logic and their dependencies, QoS is
established, and the service is instantiated.
29. 10. How many types of methods are used to combine web services?
a) 1
b) 2
c) 3
d) None of the mentioned

Answer: b
Explanation: Two main methods are used to combine Web services: orchestration and choreography.
30. What should be the message given by Web Service 3 to Web Service 2 in the following
figure for execution in cooperative way?

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

a) Reply
b) Invoke
c) Reject
d) None of the mentioned
Answer: a
Explanation: With choreography, business process execution is a cooperative affair.

31. Which of the following is used to aid for locating services in SOA?
a) catalog service
b) data abstraction services
c) data bus
d) all of the mentioned
Answer: a
Explanation: Service catalogs are dynamic and under constant modification.

32. Point out the correct statement.


a) An intranet is a network that is constructed through the consolidation of separate networks
b) The Information Technology Infrastructure Library (ITIL) is developed by the United
Kingdom’s Office of Government Commerce (OGC)
c) Message passing in SOA requires the use of four different protocol types
d) All of the mentioned
Answer: b
Explanation: ITIL is the most widely accepted approach to IT service management in the
world.
33. Which of the following catalog service requires some sort of synchronization or update to
maintain a unified data store across the servers involved?
a) global
b) standalone
c) federated
d) all of the mentioned
Answer: a
Explanation: Global catalog service serves multiple sites.

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

34. How many different protocol types are required for message passing in SOA?
a) 1
b) 2
c) 3
d) 4
Answer: b
Explanation: Message passing in SOA requires the use of two different protocol types: the
data interchange format and the network protocol that carries the message.
35. Point out the wrong statement.
a) An ESB is both necessary and essential to a Service Oriented Architecture
b) A client connected to an ESB communicates over a network protocol such as HTTP,
Representational State Transfer (REST), or Java Message Service (JMS) to a component (or
service)
c) Messages are most often in the form of the SMIL
d) None of the mentioned
Answer: c
Explanation: Messages are most often in the form of the eXtensible Markup Language
(XML).

36. Which of the following combination is possible in WebSphere ESB?


a) XML/JMS
b) SOAP/JMS
c) SOAP/HTTP
d) Governance
Answer: b
Explanation: An ESB may require a variety of combinations in order to support
communications between a service consumer and a service provider.

37. Which of the following statement is incorrect related to catalog servers?


a) They can be standalone catalog servers serving a single site
b) They cannot serve the role of a global catalog service where two or more catalog servers
are merged to include several sites
c) They can be part of a federated catalog service
d) None of the mentioned
Answer: b
Explanation: Catalog services have an enormous impact on large system performance and
eventually become essential as a SOA internetwork system grows.

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

38. Which of the following version of WSDL is a W3C standard?


a) 1.1
b) 2.3
c) 3.1
d) Governance
Answer: a
Explanation: The Web Service Description Language (WSDL) is one of the most commonly
used XML protocols for messaging in Web services.
39. Which of the following essential object in WSDL is used to support message transfer?
a) bus
b) binding
c) type
d) none of the mentioned
Answer: b
Explanation: The binding is the description of the interface (e.g. RPC) and the transport (e.g.
SOAP).
40. Which of the following object is used to describe the data, usually as part of the XML
schema?
a) operation
b) prototype
c) types
d) none of the mentioned

Answer: c
Explanation: The prototype defines the capabilities of the Web service, and what operations are
to be performed, as well as the messages that must be sent to support the operation.

UNIT-3

PART-A

PART-A

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

1 - Which of the following layer in Web Service Protocol Stack is responsible for
centralizing services into a common registry and providing easy publish/find
functionality?
a) Service Transport
b)XML Messaging
c)Service Description
d) Service Discovery

Answer : D

Explaination

Service Discovery is responsible for centralizing services into a common registry and providing
easy publish/find functionality.

2 - Which of the following is correct about XML RPC?


a) XML-RPC is a simple protocol that uses XML messages to perform RPCs.
b) XML-RPC is platform-independent.
c) Both of the above.
d) None of the above.

Answer : C

Explaination

Both of the above options are correct.

3 - Which of the following is a security issue with web services?


a) Confidentiality
b) Authentication
c) Network Security
d) All of the above.

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

Answer : D

Explaination

All of the above are security issues with web services.

4- What SOAP stands for?

a) State Access Object Protocol


b) State Allied Object Protocol
c) Simple Access Object Protocol
d)Simple Allied Object Protocol
Answer:

Simple Access Object Protocol


Option:

(C)
5- How response is sent in XML-RPC?
a) XML responses are appended to the url of the HTTP response.
b) XML responses are embedded in the body of the HTTP response.
c) Both of the above.
d) None of the above.
Answer:

XML responses are embedded in the body of the HTTP response.


Option:

(B)
6- Which of the following is correct about SOAP?

a) SOAP is an XML-based protocol for exchanging information between computers.


b) SOAP is a communication protocol.
c) SOAP is for communication between applications.
d) All of the above.

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

Answer:

All of the above.


Option:

(D)

7- Which of the following component of Web service describes interfaces to web services?

a) UDDI
b) WSDL
c) SOAP
d) None of the above.

Answer:

UDDI
Option:

(A)
8- Which of the following is correct about SOAP?

a) SOAP is language independent.


b) SOAP is simple and extensible.
c) Both of the above.
d) None of the above.
Answer:

Both of the above.


Option:

(C)

9. Web Services are ___________


A. None of these

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

B. Application Designing Tool

C. Application IDE

D. Application Components

Answer: Option D

10. __________ is the basis for Web services

A. PHP

B. XML

C. CGI

D. CSS

Answer: Option B

11. Which directory of web service interface described by WSDL?

A. HTTP

B. DNS

C. UDDI

D. XML

Answer: Option C

12. WSDL is written in

A. WML

B. HTML

C. XML

D. CSS

Answer: Option C

13. WSDL Stands for ________

A. Web Services Development Language

B. Web Services Design Language

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

C. None of these

D. Web Services Description Language

Answer: Option D

14. The operation types response used in WSDL?

A. One way

B. Request response

C. Solicit response

D. All of the above

Answer: Option D

15. What are the needs to be taken care for ports while binding?

A. A port must not determine more than one address

B. A port must not determine any binding information other than address information

C. Both A and B

D. None

Answer: Option C

16. What are the components of web service?

A. SOAP

B. UDDI

C. WSDL

D. All of these
Answer: Option D

17. UDDI stands for ________________________________.

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

a. Universal Description, Discovery and Integration


b. Universal Development, Discovery and Integration
c. Universal Description, Data and Integration
d. Universal Description, Discovery and Integrity

Ans: A

18. UDDI communicates via ______________.

a. XML
b. Network
c. SOAP
d. WSDL

Ans:C

19. Which of the following is used to define the service component that performs the service ?

a. WSDL
b. SCDL
c. XML
d. None of the mentioned

Ans:b

20. IN ___________ the service provider only needs to supply a single operation interface
a) synchronous request reply
b) asynchronous request reply
c) SOAP
d) WSDL

Ans:a

21.In UDDI__________________ performs complete set of functionality defined in the


specification

a) Node
b) Registry
c) Affiliated registry
d) XML

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

Ans: b

22. White pages provides __________ in UDDI registry


a) basic information
b) business data
c) key business process
d) user information
Ans: a

23.____________________ provides information about a company’s key business process


a) white pages
b) yellow pages
c) green pages
d) blue pages
Ans:C

24. ____________implemented with in the organization boundaries


a) Private registries
b) Public registries
c) Semantic description
d) Service description
Ans:a

25.__________ accepts registration from any organization


a) Private registries
b) Public registries
c) Semantic description
d) Service description
Ans:b

PART-B

1. What is message element in WSDL?

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

A. A message is protocol independent, and it describes the data being exchanged between the
consumers and web service providers

B. Each web service has two messages input and output. The input determines the parameters for
the web service and the output determines the return data from the web service

C. Each message element contains zero or more part parameters, one for each parameter of the
web service function

D. All of these

Answer: Option D

2. What are the characteristics of port and service in WSDL?

A. A service may have more than one endpoint with each one defined by its own port element

B. The port element relates to a specific binding, and contains information on how to access it
(URI)

C. Both A and B

D. None of these

Answer: Option C

3-Which of the following layer in Web Service Protocol Stack is responsible for centralizing
services into a common registry and providing easy publish/find functionality?
a) Service Transport
b) XML Messaging
c) Service Description
d) Service Discovery
Answer:d

Service Discovery
Option:

(D)

4 - Which of the following is the benefits of having XML based WEB services?
a)Using XML eliminates any networking, operating system, or platform binding.
b) Web Services based applications are highly interoperable application at their core level.
c) Both of the above

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

d) None of the above.

Answer : C

Explaination

Both of the above options are the benefits of having XML based WEB services.

5. Which of the following is true about Web service?


a) It is available over the Internet or private (intranet) networks.
b)It uses a standardized XML messaging system.
c) It is not tied to any one operating system or programming language.
d) All of the above.

Answer : D

Explaination

All of the above options are correct.

6. _________ defines the connection needed from the abstract web service

interface to a physical transport protocol


a) abstact description
b) concrete description
c) metadata
d) service contract

Ans:B

7.Orchestration is called as_____________________


a) Brain of SOA
b) Heart of SOA
c) Brain of web service
d) Brain of XML

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

Ans :b

8.which of the following describes a message –passing taxonomy for a component-based


architecture that provides services to clients upon demand?
a) SOA
b) EBS
c) GEC
d) All the above

Ans:a

9. Point out the correct statement


a) Service Oriented Architecture (SOA) describes a standard method for requesting services from
distributed components and managing the results
b) SOA provides the translation and management layer in an architecture that removes the barrier
for a client obtaining desired services
c) With SOA, clients and components can be written in different languages and can use multiple
messaging protocols
d) All of the mentioned

Ans:d

10. Point out the wrong statement:


a) SOA provides the standards that transport the messages and makes the infrastructure to
support it possible
b) SOA provides access to reusable Web services over a SMTP network
c) SOA offers access to ready-made, modular, highly optimized, and widely shareable components
that can minimize developer and infrastructure costs
d) None of the mentioned

Ans:b

11.Point out the correct statement


a) Some mature SOA implementations favor orchestration over choreography
b) Most mature SOA implementations favor choreography over orchestration
c) With orchestration, multiple service manages the various processes

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

d) None of the mentioned

Ans: d

12. Which of the following element is used by orchestrated business process commonly referred as ?
a) Conductor
b) Coordinator
c) Orchestrator
d) All the mentioned

Ans:C

13. Which of the following is a collaborative effort where the logic of the business process is pushed
out to the members ?

a) Orchestration
b) Choreography
c) SOA 2.0
d) None of the mentioned

Ans:b

14. What does CVE in SOA design stands for ?


a) Causal Vector Engine
b) Continuous Vector Engine
c) Causal Valuable Engine
d) None of the mentioned

Ans:a

15. Which of the following is a repeatable task within a business process ?

a) Service
b) Bus
c) Methods
d) all of the mentioned
Ans: a

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

UNIT- 4

PART-A

1. __________ is used to convert your application into Web-Application.

a) Struts Services
b) Web Services
c) Java Service
d) Browser Action

Ans:B

2. A more complex approach for web service implementation, is referred to as

a) JavaScript Object Notation


b) Representation State Transfer
c) JavaScript Entity Notation
d) Big Web Services

Ans:D

3. Which of the following role of web service architecture implements the service and
makes it available on the Internet?

a) Service Provider
b) Service Requestor
c) Service Registry
d) None of the above

Ans:A

4. Which component of Web Services does not acts as a directory?

a) UDDI
b) XML
c) SOAP
d) WSDL

Ans:B

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

5. What is RPC?

a) Regional Procedure Calls


b) Remote Procedure Calls
c) Registered Procedure Counselor
d) Regional Protection Control

Ans:B

6. The simpler approach of implementing a web service is named as

a) Entity State Transfer


b) JavaScript Entity Notation
c) Representation State Transfer
d) JavaScript Object Notation

Ans:C

7. Which of the following style(s) is/are Strictly WS-I compliant?

a) Document/encoded
b) RPC/literal
c) Document/literal
d) RPC/encoded

Ans:B

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

8. XML digital signatures provides

a) Authentication
b) Authorization
c) Confidentiality
d) Integrity

Answer: Option C
9Web Services are _______________.

a) Application Designing Tool


b) Application Components
c) Application IDE
d) None of these

Ans:B

10. Web services communicate using __________.


a) Open protocols
b) Open-Close protocols
c) Close protocols
d) None of these
Ans:A

11.Web services are self-contained and self-describing ! (True / False)

a) False
b) True

Ans:B

12. Which of the following is considered as Web Service Platform Elements ?


a) SOAP
b) All of these
c) WSDL
d) UDDI

Ans:B

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

13. Which of the following provides data authentication and authorization between client and
service?
a) SAML
b) WS-SecureConversion
c) WS-Security
d) All of the mentioned
Answer: a
14. Which of the following is a web services protocol for creating and sharing security context?
a) WS-Trust
b) WS-SecureConversion
c) WS-SecurityPolicy
d) All of the mentioned
Answer: B
15. Which of the following is part of a general WS-Policy framework?
a) WS-Trust
b) WS-SecureConversion
c) WS-SecurityPolicy
d) All of the mentioned
Answer: c
16. which of the following extends WS-Security to provide a mechanism to issue, renew, and
validate security tokens?
a) WS-Trust
b) WS-SecureConversion
c) WS-SecurityPolicy
d) All of the mentioned
Answer: a
17. 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
18. Which of the following object is used to describe the data, usually as part of the XML
schema ?

a) Operation

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

b) portType
c) types
d) none of the mentioned

Answer: c

19. Which of the following is not a core layer in Web Service Protocol Stack?
a) Service Transport
b) XML Messaging
c) Service Description
d) Service Locator

Answer : D

20. Which of the following layer in Web Service Protocol Stack is responsible for centralizing
services into a common registry and providing easy publish/find functionality?

a) Service Transport
b) XML Messaging
c) Service Description
d) Service Discovery

Answer : D

21. ----------------- element is required if the ReplyTo or FaultTo elements are used.

a) RelatesTo
b) From
c) MessageId
d) Action

Answer : C

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

22.WS- Policy can specify policy assurances for endpoints defined by

a) WS-Addressing
b) WS-Reliable Messaging
c) WS-Security
d) WS- Metadata Exchange

Answer: a

23.WS-Policy can specify delivery assurances for sequences defined by

a) WS-Addressing
b) WS-Reliable Messaging
c) WS-Security
d) WS- Metadata Exchange

Answer: b

24. The _________ construct introduces a rule that states that all of the policy assertions within
the construct must be met.

a) Full
b) Whole
c) All
d) Entire

Answer : C

25. The _________ element is one way to simply link an element with one or more policies

a) PolicyLink
b) PolicyReference
c) PolicyURIs
d) All the above

Answer : b

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

PART-B

PART-B

1. The WS-Policy framework is comprised of --------------------------:

a) WS-Policy, WS-PolicyAssertions, WS-PolicyAttachments


b) WS-Policy, WS-PolicyReference, WS-PolicyAttachments
c) WS-Policy, WS-PolicyURIs, WS-PolicyAttachments
d) WS-Policy, WS-PolicyAssertions, WS-PolicyReference

Answer : a

2.The ____________________ Construct surrounds multiple policy assertions and indicates that
there is a choice between them, but that one must be chosen

a) One element
b) Single element
c) ExactlyOne element
d) EqualToOne element

Answer : C

3. ---------------------------------- is also a correlation header element used to explicitly associate


the current message with another.

a) RelatesTo
b) From
c) MessageId
d) ReplyTo

Answer : A

4. The EndpointReference element is used by the -----------------,-------------------


and_____________ elements described in the Message information header elements section.

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

a) From, ReplyTo, and FaultTo


b) From, To, and FaultTo
c) From, ReplyTo, and FrameTo
d) From, ReplyTo, and FormatTo

Answer : A

5. Which of the following is a benefit of using a web service?


a) Web services allows you to expose the functionality of your existing code over the
network. Once it is exposed on the network, other application can use the functionality of
your program.
b) Web services allow various applications to talk to each other and share data and services
among themselves.
c) Web services use standardized industry standard protocol for the communication.
d) All of the above.

Answer : D

6. Which of the following is true about Web Services RPC?


a) Web services allow clients to invoke procedures, functions, and methods on remote
objects using an XML-based protocol.
b) Remote procedures expose input and output parameters that a web service must support.
c) A web service supports RPC by providing services of its own, equivalent to those of a
traditional component, or by translating incoming invocations into an invocation of an
EJB or a .NET component.
d) All of the above.

Answer : D

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

7. Point out the wrong statement.


a) To address SOA security, a set of OASIS standards have been created
b) WS-SecureConversion attaches a security context token to communications such as SOAP
used to transport messages in an SOA enterprise
c) WS-Trust is an extension of SOA that enforces security by applying tokens such as Kerberos,
SAML, or X.509 to messages
d) None of the mentioned
Answer: C

8.The basic Web Services platform is combination of _____ and _______.

a) CSS + HTTP
b) XML + HTML
c) XML + HTTP
d) CSS + JAVA

Ans:C

9. What are the web service platform elements?

a) SOAP, UDDI, XML


b) HTTP, WSDL
c) UDDI, XML, SOAP
d) SOAP, UDDI, WSDL

Ans:D

10. Coding and decoding, and transporting the data is performed by

a) XML and UDDI


b) XML and SOAP
c) HTML and HTTP
d) HTML and SOAP

Ans:B

11. Which among the following is not a XML-Signature element

a) SignatureMethod
b) Reference
c) PortType
d) KeyInfo

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

Answer : c

12 .Which among the following is not a component of webservices

a) SOAP, UDDI ,WSDL


b) SOAP, RDF ,WSDL
c) Both a and b
d) None of the above

Answer : c

13. Which one is not a syntax rules that are applicable for SOAP message

a) Must be encoded using XML.


b) Must use the SOAP envelope namespace.
c) Must use the SOAP encoding namespace.
d) Must contain the DTD reference.

Answer : d

14. ------------------------------------protocols are used for communication


a) SOAP, COBRA, and Java RMI
b) SOAP,WSDL and Java RMI
c) SOAP, COBRA, and UDDI
d) SOAP, UDDI, and Java RMI

Answer : a

15.Which among the following is not a part of Web service protocol stack

a) Service transport
b) Xml Messaging
c) Service discovery
d) Service registry

Answer: d

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

UNIT-5
PART-A

1. The drawback of ----------------------approach usually associated with time and money


a) top-down
b) bottom-up
c) agile
d) Both a and b

Answer: A
2. How many Phases are there in SOA delivery life cycle
a) Five
b) Four
c) Seven
d) None of the above

Answer :D
3. Service-oriented design is a _________________ phase
a) design-driven
b) standards-driven
c) modular-driven
d) time-driven

Answer :b

4. The service layers designed during this stage can include the orchestration layer

a) Orchestration
b) Choreography
c) Both a and b
d) None of the above

Answer:a

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

5. _________________ is the actual construction phase

a) Service oriented design


b) Service testing
c) Service development
d) Both a and b

Answer: C

6. “Whether the infrastructure adequate to fulfill the processing requirements of all


services”,this issue is a part of
a) Service deployment
b) Service development
c) Service testing
d) Service designing

Answer:a

7. “What form of version control will be used to manage service description


documents?” will be asked at ___________layer
a. Service deployment
b. Service development
c. Service testing
d. Service Administration

Answer : D

8. Meet in the middle is otherwise known as ______________ approach


a) Top-down
b) Bottom-up
c) Agile
d) None of the above

Answer:C

9. The process of determining how ---------------------------requirements can be represented


through service-orientation is referred as service-oriented analysis

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

a) service automation
b) enterprise automation
c) business automation
d) code automation

Answer:c
10 Which of the following catalog service requires some sort of synchronization or update to
maintain a unified data store across the servers involved?
a) standalone
b) federated
c) global
d) All of the mentioned

Answer: global
11. How many different protocol types are required for message passing in SOA?
a) 1
b) 2
c) 3
d) 4
Answer: 2
12 Point out the wrong statement.
a) A client connected to an ESB communicates over a network protocol such as HTTP,
Representational State Transfer (REST), or Java Message Service (JMS) to a component
(or service)
b) Messages are most often in the form of the SMIL
c) An ESB is both necessary and essential to a Service Oriented Architecture
d) None of the mentioned
Answer: Messages are most often in the form of the SMIL

13.Which of the following combination is possible in WebSphere ESB?


a) Governance
b) SOAP/HTTP
c) XML/JMS
d) SOAP/JMS
Answer: SOAP/JMS
14.Which of the following statement is incorrect related to catalog servers?

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

a) They cannot serve the role of a global catalog service where two or more catalog servers
are merged to include several site
b) They can be part of a federated catalog service
c) They can be standalone catalog servers serving a single site
d) None of the mentioned

Answer: They cannot serve the role of a global catalog service where two or more catalog
servers are merged to include several sites

15.Which of the following version of WSDL is a W3C standard?


a) 3.1
b) Governance
c) 1.1
d) 2.3

Answer: 1.1

16.Which of the following essential object in WSDL is used to support message transfer?
a) binding
b) type
c) bus
d) none of the mentioned

Answer: binding
17.Which of the following object is used to describe the data, usually as part of the XML
schema?
a) prototype
b) types
c) operation
d) none of the mentioned

Answer: types
18.Point out the correct statement.
a) The port or endpoint is the unique address of the service

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

b) The message content is the data and metadata that the service operation is performed on
c) The service object is a container where the service resides
d) All of the mentioned

Answer:All of the mentioned


19.Which of the following is the language standard for Web service interactions?
a) WS-XML
b) WS-BPEL
c) WS-JSON
d) All of the mentioned

Answer: WS-BPEL
20. Which of the following messaging protocol is used with XML in BPEL?
a) WS-Addressing
b) WS-Coordination
c) WS-Transactions
d) All of the mentioned

Answer: All of the mentioned


21.Point out the wrong statement.
a) A service contract codifies the relationship between the data to be processed and also the
metadata that accompanies that data
b) XML schema cannot be separate files
c) A WSDL file contains essential message data for a transaction
d) None of the mentioned

Answer: XML schema cannot be separate files

22.Which of the following statement is incorrect related to BPEL?


a) BPEL includes techniques for error handling and scopes transactions
b) BPEL uses Web services for standards and to assemble and decompose processes
c) Data functions in BPEL support process data and control flow
d) None of the mentioned

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

Answer: None of the mentioned


23._______ is a methodology for representing business processes as a set of connected visual
objects.
a) BPNN
b) BPNM
c) BPMN
d) BPMM

Answer: BPMN

24.Which of the following system models creates a graphical representation of software systems
in the form of a set of diagram types?
a) XMI
b) SysML
c) UML
d) None of the mentioned

Answer: UML
25Which of the following is an open-source extension of the part of the UML system dealing
with profiles?
a) SysML
b) UML
c) XMI
d) None of the mentioned

ANS:A

Answer: SysML

PART-B

1.Point out the correct statement.

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

a) SysML creates graphical representations of software systems in the form of a set of


diagram types
b) UML diagrams are separated into four structural types and seven behavior types
c) The UML standard is the work of the Object Management Group
d) All of the mentioned

ANS:C
Answer: The UML standard is the work of the Object Management Group

2) Which two statements about security considerations in an SOA environment are


true?

A. Firewalls or routers are the mechanisms for securing an SOA business environment.
B. Security policy decisions are made and carried out within an Enterprise Service Bus
(ESB).
C. Identities exist for both users and services, and both must be subject to the same
controls.
D. The creation of roles for business process task lists are used to prevent business
partner access to protected assets.
E. There is a need to manage identity and security across a range of systems and services
that are implemented in a diverse mix of new and old technologies.
Ans: C,E

3) Which three meet the requirement for SOA identity propagation?

A. It translates between different identities.


B. It requires the use of open standards for authentication.
C. It handles services which each have their own identity registry.
D. It handles identities which are coupled with application business logic.
E. It understands and operates with a variety of formats for representing identity.
Ans: C,E

4) Which action should they take first?

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

A. Create a service registry.


B. Define an SOA governance model.
C. Perform an SOA maturity assessment.
D. Create an SOA Center of Excellence (CoE).
Ans: c

5) A company has prioritized their most important requirements for SOA to be the
need to speed up integration, reduce application redundancy and provide the flexibility to
change service implementations. Which type of project should be recommended?

A. Create a common metadata model that can be used for all development projects.
B. Implement an Enterprise Service Bus (ESB) and registry/repository as a connectivity
layer in the SOA architecture

C. Document the existing architecture, legacy systems, and interfaces. Make this available in a
common repository that can be accessed by all developers.
D. Use business modeling tools to model and simulate the application development process and
identify bottlenecks. Address highest priority bottlenecks that can be automated to E.
Ans: B

6) Which technique improves a business process?

A. Perform analysis of the resources being used by the process


B. Simulation of the process to identify and test improvements
C. Domain decomposition to identify the Ans: granularity of tasks
D. Monitoring availability of components that are used by the business process
Ans: B

7) When is an SOA implementation most appropriate?

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

A. Real-time performance is critical.


B. An immediate Return on Investment (ROI) is required.
C. The application interfaces require a high degree of customization.
D. Business functionality is required by many parts of the organization.
Ans: D

8) How do Web 2.0 applications communicate with SOA services?

A. Both architectures use XML to ensure interoperability.


B. Web 2.0 technologies communicate using Remote Procedure Calls (RPC) to SOA
services.
C. JavaScript Object Notation (JSON) provides an efficient data format for SOA services. D.
Asynchronous JavaScript + XML (Ajax) applications can make service requests from a Web
browser.
Ans: D

9) What does the SOAP specification define?

A. A format for XML messaging


B. An interface to a business process
C. An Internet communications protocol
D. The payload contents for a Web service message
Ans: A

10) Organizations that do not adopt SOA will experience which outcome?

A. The adoption of Web 2.0 technologies will be more problemati


B. Outsourcing non-core business functions will become impractical.
C. The potential value of existing IT assets will not be fully realize
D. The implementation of Web services to handle real-time transactions will not be
possible.

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

Ans: C

11) A business has been 'doing' SOA for a while and is becoming disillusioned with the
results. They are not seeing the Return on Investment (ROI) they expected even though
they have created several hundred services. What is the likely cause of this problem?
A. Services are replicated based on language and geographic needs.
B. Developers need better training on how to create reusable services.
C. Governance processes are not in place to review and approve services.
D. Scaling the environment is challenging for such large SOA implementations.
Ans: C

12) What is a method for verifying the business success of an SOA solution?

A. Pilot the solution and solicit feedback from stakeholders and subject matter experts.
B. Implement appropriate Key Performance Indicators (KPIs) at multiple levels of the
solution.
C. Implement a technology think-tank integrated with the lines of business and with overall
executive sponsorship.
D. Implement a Center of Excellence (CoE) to provide a tight linkage with business to define
services and operational characteristics at technical and business levels.
Ans: B

13) Which is an important decision for the adoption of SOA?

A. Use Web services for all SOA communication.


B. Use the latest open standard specification in the industry.
C. Focus on a core set of systems when defining enterprise services.
D. Encapsulate underlying technical differences between different SOA implementations.
Ans: D

14) From an IT perspective, what is the primary goal of moving to SOA?

Downloaded by yogita ([email protected])


lOMoARcPSD|49877287

A. Make IT more accountable


B. Increase the flexibility of IT
C. Technology and platform independence
D. Reduce short-term development and maintenance costs
Ans: B

15) Which three characteristics of services indicate a mature SOA environment?

A. Services are discoverable


B. Services use Web 2.0 technology.
C. Services are exposed by an Enterprise Service Bus (ESB).
D. Services are composed into broader business functionality.
E. Services contain logic to provide compatibility across technologies.
Ans: C,D

Downloaded by yogita ([email protected])

You might also like