0% found this document useful (0 votes)
131 views23 pages

MCQ

The document discusses characteristics of ports and services in WSDL, components of web services including SOAP, UDDI, and WSDL, basics of RESTful web services, microservices, and differences between microservices architecture and service-oriented architecture.

Uploaded by

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

MCQ

The document discusses characteristics of ports and services in WSDL, components of web services including SOAP, UDDI, and WSDL, basics of RESTful web services, microservices, and differences between microservices architecture and service-oriented architecture.

Uploaded by

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

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: C

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: C

The operation types response used in WSDL.

A. One way

B. Request response

C. Solicit response

D. All of the above

ANSWER: D

What is message element in WSDL.

A. A message is protocol independent

B. Each web service has two messages input and output

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

D. All of these

ANSWER: D
What are the components of web service.

A. SOAP

B. UDDI

C. WSDL

D. All of these

ANSWER: D

Web Services are ___________.

A. None of these

B. Application Designing Tool

C. Application IDE

D. Application Components

ANSWER: D

The basis for Web services is.

A. PHP

B. XML

C. CGI

D. CSS

ANSWER: B

Which directory of web service interface described by WSDL.

A. HTTP

B. DNS

C. UDDI

D. XML

ANSWER: C

WSDL is written in.


A. WML

B. HTML

C. XML

D. CSS

ANSWER: C

WSDL Stands for ________.

A. Web Services Development Language

B. Web Services Design Language

C. None of these

D. Web Services Description Language

ANSWER: D

What happens when service providers change their operating system and communication protocols.

A. Inoperability and complexity arises

B. Only complexity arises

C. Only Inoperability arises

D. Nothing arises

ANSWER: A

In SOA, Service is termed as __________.

A. Software service

B. Network service

C. Business service

D. Developer service

ANSWER: C

Are SOA components loosely coupled.

A. True
B. False

ANSWER: A

The SOA architecture is divided into how many layers.

A. 5 layers

B. 2 layers

C. 7 layers

D. no layers ie only one layer

ANSWER: B

Which layer in SOA delivers messages between applications.

A. ESB (Enterprise Service Bus)

B. Service Broker

C. SOA registry

D. SOA supervisor

ANSWER: A

Which block is the central reference of meta-data for services.

A. ESB Enterprise Service Bus

B. Service Broker

C. SOA registry

D. SOA supervisor

ANSWER: C

Which block ties work flow and SOA registry.

A. ESB Enterprise Service Bus

B. Service Broker

C. Accounting package

D. SOA supervisor
ANSWER: B

Which blocks deals with performance issues.

A. ESB(Enterprise Service Bus)

B. Service Broker

C. SOA registry

D. SOA supervisor

ANSWER: D

What are the three terminologies on which SOA service stands__________.

A. Contract Address and Building

B. Contract Address and Service

C. Service Contract and Building

D. Service Building and Address

ANSWER: A

Which standard is preferable to achieve SOA.

A. Software service

B. Business service

C. Network service

D. Web service

ANSWER: D

SOA stands for _____________.

A. Solution Oriented Architecture

B. Sector Oriented Architecture

C. Service Oriented Architecture

D. Source Oriented Architecture

ANSWER: C
________ is used to describe a perceived, quickly growing set of web based applications.

A. Web 4

B. Web 3

C. Web 2

D. Web 4

ANSWER: C

________ is the philosophy of encapsulating application logic in services.

A. API

B. SOA

C. Both SOA and API

D. Neither SOA and API

ANSWER: B

_______ are a modern interpretation of service oriented architectures used to build distributed
software systems.

A. SOA

B. API

C. Microservices

D. Web 2

ANSWER: C

Services in a microservice architecture are _________ that communicates with each other over the
network.

A. Microservices

B. SOA

C. API

D. Processes
ANSWER: D

To publish a REST service with Spring.

A. publishing an application’s data as a REST service

B. accessing data from third-party REST services

C. none of the mentioned

D. all of the mentioned

ANSWER: D

Publishing an application’s data as a REST service requires.

A. @RequestMapping

B. @PathVariable

C. All of the mentioned

D. None of the mentioned

ANSWER: C

Spring supports a series of mechanisms to generate a REST service payload.

A. True

B. False

ANSWER: A

Annotation added as an input parameter to the handler method.

A. @PathVariable

B. @Path

C. @PathLocale

D. None of the mentioned

ANSWER: A

Notation for defining REST endpoints.


A. { }

B. *

C. All of the mentioned

D. None of the mentioned

ANSWER: C

General-purpose class that allows a response to be rendered using a marshaller.

A. MarshallingView

B. Marshalling

C. View

D. All of the mentioned

ANSWER: A

Marshalling is the process of transforming an in-memory representation of an object into a data format.

A. True

B. False

ANSWER: A

Accessing a third-party REST service inside a Spring application.

A. RestTemplate Class

B. ViewResolver

C. InternalViewResolver

D. View

ANSWER: A

XML tag which represents information related to a REST service request.

A. Result

B. Title

C. None of the mentioned


D. All of the mentioned

ANSWER: D

RestTemplate class method which performs an HTTP HEAD operation.

A. headForHeaders String Object

B. getForObject String Class Object

C. postForLocation String Object Object

D. postForObject String Object Class Object

ANSWER: A

Which of the following is correct about RESTful web services.

A. Web services based on REST Architecture are known as RESTful web services

B. These web services use HTTP methods to implement the concept of REST architecture

C. A RESTful web service usually defines a URI, Uniform Resource Identifier a service, provides resource
representation such as JSON and set of HTTP Methods

ANSWER: C

Which of the following is a best practice to create a standard URI for a web service.

A. Use Plural Noun

B. Avoid using spaces

C. Use lowercase letters

D. All of the above

ANSWER: D

Which of the following HTTP method should be used to create/update resource using RESTful web
service.

A. GET

B. DELETE

C. POST
D. OPTIONS

ANSWER: C

Which of the following header of HTTP response provides control over caching.

A. Date

B. Last Modified

C. Cache-Control

D. Expires

ANSWER: C

Which of the following HTTP Status code means NO CONTENT, when response body is empty for
example, a DELETE request.

A. 200

B. 201

C. 204

D. 304

ANSWER: C

A RESTful web service client sends a message in form of a Gopher Request and server responds in form
of a HTTP Response.

A. true

B. false

ANSWER: B

Status or Response Code Indicate Server status for the requested resource.

A. false

B. true

ANSWER: B
What are the different types of instances.

A. General purpose

B. Computer Optimized

C. Storage Optimized

D. All of the above

ANSWER: D

What is a microservice.

A. A design used primarily in functional programming and object-oriented programming

B. A small program that represents discrete logic that executes within a well-defined boundary on
dedicated hardware

C. A style of design for enterprise systems based on a loosely coupled component architecture

D. A very small piece of code that never gets any bigger than 10 lines

ANSWER: C

When would developers use microservices.

A. When they want to write cell phone applications that run quickly

B. When they work with ephemeral nano technology

C. When they need to create large, enterprise-level applications that are subject to changes on a
frequent basis

D. When they create applications specifically for scientific test equipment

ANSWER: C

Which of the following responses is an advantage of microservices.

A. Any microservice component can change independently from other components

B. They don't require a lot of expertise to program

C. They're so small that developers can typically write very powerful ones with a few lines of text

D. They are easy to manage

ANSWER: A
Which of the following responses is a disadvantage of microservices.

A. Microservices are very difficult to manage at scale

B. Microservices require a lot of monitoring to operate effectively

C. Neither A nor B

D. Both A and B

ANSWER: D

What are some technologies commonly used to implement microservices.

A. Docker

B. Kubernetes

C. All the above

D. None of the above

ANSWER: C

What is a popular Java framework to develop microservices.

A. Spring Boot

B. Eclipse MicroProfile

C. Both A and B

D. None of the above

ANSWER: C

How is distributed tracing used in microservices.

A. As a mechanism to ensure that failed microservices are resurrected properly

B. As a mechanism to transfer log management between a given host on demand

C. As a mechanism to observe the behavior of distinct system calls between and within microservices

D. As a mechanism to change the behavior of a microservice at runtime

ANSWER: C
How does a backing service apply to microservices.

A. It prevents a microservice from failing

B. It acts as a dedicated service that provides essential functionality required by a microservice

C. It shuts down a microservice when it can no longer handle the computing load

D. It coordinates network activity between microservices

ANSWER: B

What's the difference between a microservices-oriented architecture (MOA. and a service-oriented


architecture (SOA).

A. An SOA uses intermediation technology to facilitate communication between services

B. An MOA shares as little data as possible while an SOA shares as much data as possible

C. A developer can run a monolithic application with SOA principles

D. All the above

ANSWER: D

What does the term "bounded context" mean in relation to microservices.

A. How a microservice uses memory

B. The logical domain represented by the data consumed and emitted by a microservice according to the
data's purpose, structure and meaning

C. The cloud provider's region where the microservice operates

D. The common characteristics within a collection of entities in one or many business domains

ANSWER: B

Microservices architecture is an architectural style that structures an application as a collection of


services that are.

A. Highly maintainable and testable

B. Loosely coupled

C. Independently deployable

D. All of the above

ANSWER: D
The microservice architecture enables.

A. Rapid, frequent and reliable delivery of large, complex applications

B. It also enables an organization to evolve its technology stack

C. Both A & B

D. None of the above

ANSWER: C

The advantages of microservices include.

A. Technology diversity

B. Fault isolation

C. Independent deployment

D. All of the above

ANSWER: D

A Monolithic Architecture is.

A. Monolithic architecture is mostly tightly coupled

B. Any changes in the data model affect the entire database

C. Monolithic put emphasize over the whole project

D. All of the above

ANSWER: D

Microservices Provide.

A. Microservices are loosely coupled architecture

B. Changes done in a single data model does not affect other Microservices

C. Microservices focuses on products, not projects

D. All of the above

ANSWER: D
The characteristics of Microservices are.

A. Essential messaging frameworks

B. Decentralized Governance

C. Easy Infrastructure automation

D. All of the above

ANSWER: D

Please pick the odd one out for microservices architecure.

A. They decrease troubleshooting challenges

B. They are tough to track data across various boundaries

C. They Increases delay due to remote calls

D. None of the above

ANSWER: A

Smart Web Services (SmartWS) features include.

A. Context-based adaptation, Cognition and inference

B. Rules that implement autonomous decision logic in order to realize services

C. Automatically perform tasks on behalf of the users without requiring their explicit involvement

D. All of the above

ANSWER: D

Real time data is generated in large streams on the IoT, thereby requiring.

A. Highly availability

B. Scalability and evolving systems

C. Both A and B

D. None of the above

ANSWER: C

Monolithic architectures are.


A. Traditionally large scale

C. Complex

B. Tightly coupled

D. All of the above

ANSWER: D

Web services provide a way of publishing.

A. An explicit

B. Machine-readable

C. Common standard description

D. All of the above

ANSWER: D

REST based web services.

A. Online shopping

B. Search services

C. Dictionary services

D. All of the above

ANSWER: D

In the course of a modernization, several companies migrate their legacy systems towards a
Microservices architecture.

A. For better maintainability

B. Shorter release cycles

C. scalability cloud readiness or high availability

D. All of the above

ANSWER: D

Refactoring a system architecture to Microservices has many implications.


A. Depending on the company culture and established processes

B. The importance of a well planned migration arises from its high cost and long duration

C. Involved organizational restructurings next to the architectural refactoring itself

D. All of the above

ANSWER: D

REST web service design.

A. Identify all the conceptual entities that we wish to expose as services

B. Categorize our resources according to whether clients can just receive a representation of the
resource

C. Both A and B

D. None of the above

ANSWER: C

REST Is an architectural style.

A. It is the architectural style of the WEB

B. Describe how our services are to be invoked using either a WSDL document, or simply an HTML
document

C. Bothe A and B

D. None of the above

ANSWER: C

REST ia an Architectural Style of Networked System.

A. Underlying Architectural model of the world wide web

B. Guiding framework for Web protocol standards

C. Both A and B

D. None of the above

ANSWER: C
REST do.

A. Ignores component implementation details

B. Focus on roles of components their interactions

C. Interpretation of data elements

D. All of the above

ANSWER: D

REST Elements.

A. Components Proxy gateway etc

B. Connectors client server etc

C. Data resource representation etc

D. All of the above

ANSWER: D

REST service end point comprises an address.

A. starts with http

B. starts with http

C. no certain URL is specified

D. depends upon the platform used

ANSWER: A

The importance of SOAP and WSDL is that they offer the possibility of.

A. Simple industrial standard for reading what input and output messages a service

B. Accepts and sends messages over a standard transport

C. WSDL is not machine readable

D. Both A and B

ANSWER: D

SOAP allows.
A. Loose coupling

B. It is possible to use arbitrarily complex software programs to read WSDL

C. SOAP is used to invoke services by exchanging messages

D. All of the above

ANSWER: D

Requirements for Deployment of Web Service Agents.

A. Discovery

B. Service Integration

C. Process Integration and Control

D. All of the above

ANSWER: D

On the Web service-enabled Internet no one knows if you are a software agent.

A. True

B. False

ANSWER: A

While achieving the goal of discovering services dynamically assembling them into new composite
services is required.

A. True

B. False

ANSWER: A

Web service search is by UDDI.

A. True

B. False

ANSWER: A
UDDI does not contain the actual service descriptions which are distributed.

A. True

B. False

ANSWER: A

UDDI does not perform distributed search.

A. True

B. False

ANSWER: A

REST is an acronym standing for Repeatetion State Transfer.

A. True

B. False

ANSWER: B

Web service search is by UDDI.

A. True

B. False

ANSWER: A

By Web services we do not mean just any standard way to access business logic.

A. True

B. False

ANSWER: A

SOAP and WSDL has not been strongly embraced by industry and has become a major standard for such
Web services.

A. True

B. False
ANSWER: B

Contemporary Web enabled characterized applications derive the wider use of networkenabled devices,
such as sensors, mobile phones, and wearables that serve as data providers or actuators, in the context
of client Web applications.

A. True

B. False

ANSWER: True

Microservices are not suited for the development of such Big Data Applications.

A. True

B. False

ANSWER: False

Microservices along with Agile methodology can be used to implement dynamic Big Data systems
efficiently.

A. True

B. False

ANSWER: True

The degree to which the elements inside a module belong together is said to be Coupling.

A. True

B. False

ANSWER: False

A good design is always said to have High Cohesion and Low Coupling.

A. True

B. False

ANSWER: True
A set of procedures and functions which allow the consumer to use the underlying service of an
application.

A. True

B. False

ANSWER: True

Web of Things (WoT) is to leverage Web standards in order to interconnect all types of devices and real-
world objects.

A. True

B. False

ANSWER: True

Web of Things (WoT) allows objects/ objects as a part of the World Wide Web (WWW) and provide
overall interoperability.

A. True

B. False

ANSWER: True

Smart Web Services (SmartWS) do not provide remote access to resources and functionalities, and not
relying on standard communication protocols, but also encapsulate ‘intelligence’.

A. True

B. False

ANSWER: False

Monolithic architecture is like a big container in which all the software components of an application are
clubbed inside a single package.

A. True

B. False

ANSWER: True
Microservice architecture is best suited for desktop, web, mobile devices, Smart TVs, Wearable, etc.

A. True

B. False

ANSWER: True

A Service-Oriented Architecture is a collection of services which communicate with each other.

A. True

B. False

ANSWER: True

Monolithic Architecture is similar to a big container wherein all the software components of an
application are assembled together and tightly packaged.

A. True

B. False

ANSWER: True

Microservice Architecture is an architectural style that structures an application as a collection of small


autonomous services, modeled around a business domain.

A. True

B. False

ANSWER: True

The measure of the strength of the dependencies between components is said to be Cohesion.

A. True

B. False

ANSWER: False

You might also like