Font size
Worksheets2304
Total questions: 51
Worksheet time: 27mins
General quality attributes like performance and security have more specific components like throughput and latency for performance. What are these called?
architecturally significant requirements
sensitivity points
attribute refinement
architecture specifications
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
Only the first statement is true
Only the second statement is true
Both statements are true
Neither statement is true
Which of these message patterns are typical of asynchronous messaging?
request-response
solicit-response
one-way
notification
How can you pass parameters in a REST call?
In the HTTP header
In the URL
In XML
In the SOAP header
Which of these responsibilities does the client stub have in a middleware-based architecture that uses RPC? Choose the 2 correct answers.
Invoking the remote procedure call over the network
Establishing a connection with the server
Formatting and encoding data into standardized messages
Invoking the server application directly
Which of these are acceptable REST URIs according to best practices? Choose the 2 correct answers
/students/
/students/3/
/student/
/getstudent/
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
Only the first statement is true
Only the second statement is true
Both statements are true
Neither statement is true
Which of these formats can be used to express and structure content to be sent over the internet? Choose the 3 correct answers:
CSS
XML
JSON
HTML
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
Only the first statement is true.
Only the second statement is true
Both statements are true
Neither statement is true
Where are the formats of the input and output data specified, according to REST best practices?
In the HTTP header
As parameters in the URL
In the HTTP request in JSON format
In the HTTP request in XML format
What is the most important difference between WS*-style web services (which utilize SOAP, WSDL, etc.) and RESTful web services?
WS* are more secure
RESTful services are simpler
Their differences are very minor
They do not use the same transfer protocol
Which of these elements in the HTTP header of a request specifies the format of the response?ф
Host
Content-Encoding:
Accept:
Content-Type:
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
/getCar/2
/car/2
/cars/2
/cars/2/tires
What does it mean that RESTful services are cacheable?
the service logic can be stored on the client
the server can store the state of the interaction
the client can store a version of the server's response
the server can queue and prioritize requests
What is the difference between coordination and composition in the context of services?
coordination can only be done in a synchronous way
composition uses only objects
composition exposes a combination of services as another service
coordination is focused on pairwise interactions
Under which data structure of UDDI will you find a reference to the WSDL description?
businessEntity
serviceInterface
businessService
tModel
True or False: You should focus on situations that are outside the normal execution path when building a quality attribute scenario.
True
False
True or False: a SOAP message must be sent over HTTP.
True
False
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
Only the first statement is correct
Both statements are correct
Neither statement is correct
Only the second statement is correct
Which strategy is NOT part of delivering a high-quality system?
Treat all quality attributes as equally important
Involve all stakeholders in design
Adopt good documentation practices
Set rules for design and implementation
Maintenance Downtime" is an attribute refinement of what quality attribute?
Performance
Conceptual Integrity
Maintainability
Availability
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?
Extension
Variation
Product-Specifics
Adaptation
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?
Adaptation
Extension
Reference Architecture
Replacement
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?
dynamic web page
web app
web service
static web page
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?
dynamic web page
web app
web service
static web page
Which of these is NOT a basic standard of the World Wide Web?
TCP
HTTP
FTP
URL
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?
PUT
GET
POST
SEND
Which of these is often used to add dynamic content to a web page?
CSS
Javascript
HTML DOM
HTML
What are the three high-level components involved in a remote procedural call
marshal, client, server
client stub, compiler, server stub
IDL source code, IDL compiler, interface headers
client, server, interface definition language
The process of establishing a connection between the client stub and server stub is called…
binding
marshalling
interfacing
handshaking
What are the advantages of Common Object Request Broker Architecture (CORBA)? Choose the 2 correct answers.
Objects are essentially independent of their physical or virtual location.
It allows for object-oriented paradigms in distributed computing
Dynamic binding is simple
Method calls can be treated locally or remotely
А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?
services
bindings
interfaces
types
What is the main difference between a web service and a web application?
Web applications are presented through a browser
Web services are simpler
Web services are mostly meant for business applications
Web applications dynamically generate content
What standard is used for all aspects of web service development in this module, from describing interfaces to publishing and discovering services?
XML
WSDL
SOAP
UDDI
Your web browser has an add-on that is alerted when your favourite blog has a new post. Which messaging pattern is this?
notification
request-response
one-way
Isolicit-response
WS-BPEL covers what aspect of web services?
encryption
publishing
composition
security
Which part of a WSDL 2.0 description gives concrete information about the ports to be used for the service?
bindings
portTypes
services
interfaces
According to REST best practices, where should you specify what format the input and output messages are in?
Parameters in the URI
XML schema
HTTP headers
sub-resources in the URI
Which of these is NOT used in developing RESTful web services?
simple text
JSON
XML
SOAP
By convention, which HTML method is usually used to create a new resource?
POST
DELETE
PATCH
PUT
What is the recommended way to not break functionality if your RESTful API is being used by many users?
Refactor the service, keeping the API the same
version your API
Describe your service with WSDL
Subscribe your service consumers to change notifications
Which of these best describes microservices?
Migrating business functionality into a set of services incrementally instead of all at once
Web service architectures consisting of lots of small, modular services
a variation of SOA applied on an application scale
Replicating services and modifying them to fill other roles
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
Only the first statement is true
Only the second statement is true
Both statements are true
Neither statement is true
Which of these examples is a web application?
an online shopping platform
a website conducting a survey
a blog
online poker
What is the term for the action that converts the parameters into a standardized message on the client side?
invocation
binding
marshalling
blocking
In what format are SOAP messages represented?
JSON
SOAP formatting is not based on any other format
XML
HTML
Which part of a SOAP message can be included but is NOT required?
header
envelope
body
HTTP method
Which type of description will a service requester need to bind to a web service?
SOAP
UDDI
WSDL
WS-Description
Which section of WSDL 2.0 contains concrete information like physical ports and mapping interfaces to endpoints?
bindings
services
portTypes
interfaces
What does the types section of a WSDL 2.0 document allow developers to do?
Define abstract data types
Specify document-style or RPC-style interaction
Specify which communications protocol is used (HTTP, SMTP…)
Specifies the type of interaction (request-response, solicit-response…)
In which section of a UDDI description will you find information like the category of business and service?
blue pages
green pages
yellow pages
white pages
