wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

2304

Total questions: 51

Worksheet time: 27mins

Name
Class
Date
1.

General quality attributes like performance and security have more specific components like throughput and latency for performance. What are these called?

a)

architecturally significant requirements

b)

sensitivity points

c)

attribute refinement

d)

architecture specifications

2.

Consider the two statements. Choose the one correct option

1.       WSDL can be used to describe non-XML based web services

2.       A WSDL document can import other WSDL documents to gain access to their specifications

a)

Only the first statement is true

b)

Only the second statement is true

c)

Both statements are true

d)

Neither statement is true

3.

Which of these message patterns are typical of asynchronous messaging?

a)

request-response

b)

solicit-response

c)

one-way

d)

notification

4.

How can you pass parameters in a REST call?

a)

In the HTTP header

b)

In the URL

c)

In XML

d)

In the SOAP header

5.

Which of these responsibilities does the client stub have in a middleware-based architecture that uses RPC? Choose the 2 correct answers.

a)

Invoking the remote procedure call over the network

b)

Establishing a connection with the server

c)

Formatting and encoding data into standardized messages

d)

Invoking the server application directly

6.

Which of these are acceptable REST URIs according to best practices? Choose the 2 correct answers

a)

/students/

b)

/students/3/

c)

/student/

d)

/getstudent/

7.

Consider the following two statements about Javascript. Choose the one correct option.

1.       It can allow you to generate content within the browser

2.       A Javascript file must be sent in addition to an HTML file

a)

Only the first statement is true

b)

Only the second statement is true

c)

Both statements are true

d)

Neither statement is true

8.

Which of these formats can be used to express and structure content to be sent over the internet? Choose the 3 correct answers:

a)

CSS

b)

XML

c)

JSON

d)

HTML

9.

Consider the following two statements about microservices architecture. Choose the one correct option

1.       Communication between microservices is stateless

2.       Testing microservice architecture is complex

a)

Only the first statement is true.

b)

Only the second statement is true

c)

Both statements are true

d)

Neither statement is true

10.

Where are the formats of the input and output data specified, according to REST best practices?

a)

In the HTTP header

b)

As parameters in the URL

c)

In the HTTP request in JSON format

d)

In the HTTP request in XML format

11.

What is the most important difference between WS*-style web services (which utilize SOAP, WSDL, etc.) and RESTful web services?

a)

WS* are more secure

b)

RESTful services are simpler

c)

Their differences are very minor

d)

They do not use the same transfer protocol

12.

Which of these elements in the HTTP header of a request specifies the format of the response?ф

a)

Host

b)

Content-Encoding:

c)

Accept:

d)

Content-Type:

13.

Which of these is a good name for a REST resource? In other words, which of these resource names follow best practices? Choose the 2 correct answers

a)

/getCar/2

b)

/car/2

c)

/cars/2

d)

/cars/2/tires

14.

What does it mean that RESTful services are cacheable?

a)

the service logic can be stored on the client

b)

the server can store the state of the interaction

c)

the client can store a version of the server's response

d)

the server can queue and prioritize requests

15.

What is the difference between coordination and composition in the context of services?

a)

coordination can only be done in a synchronous way

b)

composition uses only objects

c)

composition exposes a combination of services as another service

d)

coordination is focused on pairwise interactions

16.

Under which data structure of UDDI will you find a reference to the WSDL description?

a)

businessEntity

b)

serviceInterface

c)

businessService

d)

tModel

17.

True or False: You should focus on situations that are outside the normal execution path when building a quality attribute scenario.

a)

True

b)

False

18.

True or False: a SOAP message must be sent over HTTP.

a)

True

b)

False

19.

Consider the two statements. Choose the one correct option.

1.       JSON is a markup language

2.       JSON can easily be converted into a Javascript object

a)

Only the first statement is correct

b)

Both statements are correct

c)

Neither statement is correct

d)

Only the second statement is correct

20.

Which strategy is NOT part of delivering a high-quality system?

a)

Treat all quality attributes as equally important

b)

Involve all stakeholders in design

c)

Adopt good documentation practices

d)

Set rules for design and implementation

21.

Maintenance Downtime" is an attribute refinement of what quality attribute?

a)

Performance

b)

Conceptual Integrity

c)

Maintainability

d)

Availability

22.

Eliza is planning a product line of media boxes. Some of these will connect to traditional television lines, whereas others will only have internet media like video-streaming services. What is this type of difference between products called?

a)

Extension

b)

Variation

c)

Product-Specifics

d)

Adaptation

23.

Mozilla Firefox and other browsers have ecosystems of add-ons for their browsers that add functionality, for example by blocking ads or providing tools for online shopping. What is this style of variation called?

a)

Adaptation

b)

Extension

c)

Reference Architecture

d)

Replacement

24.

You are probably using the internet to do some of your personal banking. There is a page that shows your accounts and their balances, often called something like "Account Summary" or "Account Overview." You must click on an account to begin managing it. Which type of web page is this?

a)

dynamic web page

b)

web app

c)

web service

d)

static web page

25.

Another web page allows interacting with a spreadsheet in a browser. You can enter in values, sum them up, perform operations on them, format them, etc. What type of web page is this?

a)

dynamic web page

b)

web app

c)

web service

d)

static web page

26.

Which of these is NOT a basic standard of the World Wide Web?

a)

TCP

b)

HTTP

c)

FTP

d)

URL

27.

There is an HTTP method that allows you to send, create or update a resource, but allows the server to decide its location and identity. Which HTTP method is this?

a)

PUT

b)

GET

c)

POST

d)

SEND

28.

Which of these is often used to add dynamic content to a web page?

a)

CSS

b)

Javascript

c)

HTML DOM

d)

HTML

29.

What are the three high-level components involved in a remote procedural call

a)

marshal, client, server

b)

client stub, compiler, server stub

c)

IDL source code, IDL compiler, interface headers

d)

client, server, interface definition language

30.

The process of establishing a connection between the client stub and server stub is called…

a)

binding

b)

marshalling

c)

interfacing

d)

handshaking

31.

What are the advantages of Common Object Request Broker Architecture (CORBA)? Choose the 2 correct answers.

a)

Objects are essentially independent of their physical or virtual location.

b)

It allows for object-oriented paradigms in distributed computing

c)

Dynamic binding is simple

d)

Method calls can be treated locally or remotely

32.

Аn important part of a WSDL (Web Service Description Language) file is a section that describes how services are invoked. For example, this section includes the style of interaction (document or RPC), the transport protocol, and how messages are turned into XML. What is this section?

a)

services

b)

bindings

c)

interfaces

d)

types

33.

What is the main difference between a web service and a web application?

a)

Web applications are presented through a browser

b)

Web services are simpler

c)

Web services are mostly meant for business applications

d)

Web applications dynamically generate content

34.

 

What standard is used for all aspects of web service development in this module, from describing interfaces to publishing and discovering services?

a)

XML

b)

WSDL

c)

SOAP

d)

UDDI

35.

Your web browser has an add-on that is alerted when your favourite blog has a new post. Which messaging pattern is this?

a)

notification

b)

request-response

c)

 

one-way

d)

Isolicit-response

36.

WS-BPEL covers what aspect of web services?

a)

encryption

b)

publishing

c)

composition

d)

security

37.

Which part of a WSDL 2.0 description gives concrete information about the ports to be used for the service?

a)

bindings

b)

portTypes

c)

services

d)

interfaces

38.

According to REST best practices, where should you specify what format the input and output messages are in?

a)

Parameters in the URI

b)

XML schema

c)

HTTP headers

d)

sub-resources in the URI

39.

Which of these is NOT used in developing RESTful web services?

a)

simple text

b)

JSON

c)

XML

d)

SOAP

40.

By convention, which HTML method is usually used to create a new resource?

a)

POST

b)

DELETE

c)

PATCH

d)

PUT

41.

What is the recommended way to not break functionality if your RESTful API is being used by many users?

a)

Refactor the service, keeping the API the same

b)

version your API

c)

Describe your service with WSDL

d)

Subscribe your service consumers to change notifications

42.

Which of these best describes microservices?

a)

Migrating business functionality into a set of services incrementally instead of all at once

b)

Web service architectures consisting of lots of small, modular services

c)

a variation of SOA applied on an application scale

d)

Replicating services and modifying them to fill other roles

43.

Consider the two statements. Choose the one correct option.

1.       Microservices must be in the same language and framework

2.       Microservices can be replicated for scaling

a)

Only the first statement is true

b)

Only the second statement is true

c)

Both statements are true

d)

Neither statement is true

44.

Which of these examples is a web application?

a)

an online shopping platform

b)

a website conducting a survey

c)

a blog

d)

online poker

45.

What is the term for the action that converts the parameters into a standardized message on the client side?

a)

invocation

b)

binding

c)

marshalling

d)

blocking

46.

In what format are SOAP messages represented?

a)

JSON

b)

SOAP formatting is not based on any other format

c)

XML

d)

HTML

47.

Which part of a SOAP message can be included but is NOT required?

a)

header

b)

envelope

c)

body

d)

HTTP method

48.

Which type of description will a service requester need to bind to a web service?

a)

SOAP

b)

UDDI

c)

WSDL

d)

WS-Description

49.

Which section of WSDL 2.0 contains concrete information like physical ports and mapping interfaces to endpoints?

a)

bindings

b)

services

c)

portTypes

d)

interfaces

50.

What does the types section of a WSDL 2.0 document allow developers to do?

a)

Define abstract data types

b)

Specify document-style or RPC-style interaction

c)

Specify which communications protocol is used (HTTP, SMTP…)

d)

Specifies the type of interaction (request-response, solicit-response…)

51.

In which section of a UDDI description will you find information like the category of business and service?

a)

blue pages

b)

green pages

c)

yellow pages

d)

white pages