wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

UTS SPT

Total questions: 70

Worksheet time: 11hrs 45mins

Name
Class
Date
1.

A network in which the nodes are formed by this processes and the links represent the possible communication channels, is called:

a)

Overstay network

b)

Overlay network

c)

Hierarchical network

d)

Mesh network

e)

Peer-to-peer network

2.

In structured naming system, contacting your local name space and let it walk the hierarchy is called:

a)

Absolute name resolution

b)

Recursive name resolution

c)

Hierarchical name resolution

d)

Relative name resolution

e)

Iterative name resolution

3.

Illusion of being able to run multiple tasks at the same time is called:

a)

Multiprocess

b)

Multitasking

c)

Multithread

d)

Parallel

e)

Concurrency

4.

The followings are the advantages of XML, except:

a)

XML is text based

b)

One XML document can be displayed the same in different media

c)

You only need to change the XML document in order to change all the rest

d)

Transmitted efficiently

e)

Takes up less space

5.

What provides two way communication between two different programs in a network?

a)

HTTP

b)

Library

c)

Socket

d)

Port

e)

Protocol

6.

An interface should:

a)

Not be called from other services

b)

Hide the implementation of a service

c)

Consist of a big enough service

d)

Be compatible with any devices

e)

Expose the implementation of a service

7.

Which one of the following is note the Microservices principles?

a)

Separate processes

b)

UI/UX

c)

CI/CD

d)

Execution Scope

e)

One job

8.

Which of the following is not the function of API gateway?

a)

Orchestration

b)

Interoperability

c)

Monitoring

d)

Security and Authorization

e)

Service Registry and Discovery

9.

Centralized component that takes care of application heterogeneity in a message communication system is:

a)

Message queue

b)

Message broker

c)

Message transfer

d)

Message oriented communication

e)

Message passing

10.

Three levels of application layering are:

a)

Client, front-end and back-end

b)

Application-interface, processing, data

c)

Browser, web engine, database engine

d)

Model, view, controller

e)

User and kernel

11.

Which one of the followings is not one of XML rules?

a)

Tags must be properly nested

b)

Tags are enclosed in angle brackets

c)

Tags come in pairs with start-tags and end-tags

d)

Tags that do not have end-tags must be terminated by a '/'

e)

Tags have a fixed meaning and browsers know what it is

12.

The services communicate with each other internally ____________

a)

Remote Procedure invocation

b)

Messaging

c)

Both Messaging and Remote Procedure invocation

d)

Email

e)

SSH

13.

Which architecture styles organize components in a layered fashion?

a)

Object-based architectures

b)

Resource-based architectures

c)

Layered architectures

d)

Event-based architectures

e)

Network-based architectures

14.

Types of names in distributed systems are:

a)

Flat, Hierarchical, Horizontal

b)

Flat, Hierarchical, Attribute-based

c)

Flat, Vertical, Attribute-based

d)

Horizontal, Vertical, Flat

e)

Horizontal, Vertical, Attribute-based

15.

Which of the following is not a communication method?

a)

Remote Method Invocation (RMI)

b)

Stream oriented communication

c)

Message oriented communication

d)

Remote Object Calls

e)

Remote Procedure Calls (RPC)

16.

In structured naming system, repeatedly contact hierarchy of nodes to resolve parts of the name is called:

a)

Absolute name resolution

b)

Relative name resolution

c)

Recursive name resolution

d)

Hierarchical name resolution

e)

Iterative name resolution

17.

Simultaneous use of more than one computer to solve a problem is called:

a)

Parallel Computing

b)

Hybrid Computing

c)

Distributed Computing

d)

Concurrency

e)

Multitasking

18.

Which of the following is not the element of RabbitMQ:

a)

Message

b)

Security

c)

Queue

d)

Consumer

e)

Routing

19.

Which of the followings is true about event-based coordination:

a)

processes communicate entirely through tuples

b)

coordination takes place in a direct way

c)

processes do not know each other explicitly

d)

processes communicate through network

e)

no need for two communicating processes to be executing at the same time

20.

An API _____

a)

an interface which works between two independent SOAs allowing them to communicate

b)

an interface which works between two independent applications allowing them to communicate

c)

a sub component of an application that works independently

d)

an interface which works for the user access

e)

a service which exposes the functionality of an architecture to a minimum of two applications

21.

The combination of constants AF_INET and SOCK_STREAM is used to:

a)

Specify that the SMTP protocol should be used

b)

Specify that the UDP protocol should be used

c)

Specify that the TCP protocol should be used

d)

Specify that the HTTP protocol should be used

e)

Specify that the socket should be used

22.

Application distribution type where each process will act as a client and a server at the same time is called:

a)

Peer-to-peer system

b)

Horizontal distribution

c)

Flat distribution

d)

Vertical distribution

e)

Client server distribution

23.

Message broker can do the the followings, except:

a)

route messages

b)

store the messages

c)

Improve the transfer speed

d)

divide the publisher and consumer

e)

check and organize messages.

24.

Scaling the application can be challenging in ________ due to conflicting needs of Memory, CPU, IO.

a)

Microservies

b)

Monolithic

c)

RabbitMQ

d)

RMI

e)

RPC

25.

The main benefit of decoupling an application is to:

a)

Create a tightly integrated application

b)

Enable data synchronization across the web application layer

c)

Have the ability to execute atutomated bootstrapping actions

d)

Reduce inter-dependencies so failure do not impact other components

e)

Reduce memory usage

26.

Which of the following is not RabbitMQ types of exchages:

a)

Topic

b)

Footers

c)

Direct

d)

Fanout

e)

Headers

27.

In midlleware organization, the interfaces offered by the legacy component are most likely not suitable for all application. This problem could be solved by:

a)

Wrapper

b)

Interceptor

c)

Re-develop the legacy component

d)

API

e)

RPC

28.

Microservices based architecture prefers____

a)

RDBMS DBs

b)

MySQL DB

c)

MongoDM

d)

No dependency on any particular DB

e)

NoSQL DBs

29.

Fundamental Tricotomy in naming system are:

a)

HTTP, TCP, IP

b)

Root, Top level, Domain

c)

Names, Addresses, Routes

d)

DNS, DHCP, ARP

e)

Location, Addresses, Routes

30.

Which of the following is not Message oriented Middleware:

a)

Kafka

b)

GreenHornet

c)

Qpid

d)

ActiveMQ

e)

ZeroMQ

31.

Which consistency model where things work fine so long as user accesses same replica?

a)

Causal consistency

b)

Sequential Consistency

c)

Data-Centric Consistency

d)

Strict Consistency

e)

Eventual Consistency

32.

Which statement is true about replication in distributed system:

a)

Worsen performance & increase network overheads of maintaining consistency

b)

Worsen performance & decrease network overheads of maintaining consistency

c)

Improves performance & increase network overheads of maintaining consistency

d)

Does not improve anything, only fault recovery

e)

Improves performance & decrease network overheads of maintaining consistency

33.

What verb is used to update information in REST?

a)

UPDATE

b)

PUT

c)

DELETE

d)

GET

e)

POST

34.

The followings are the best practices to design microservices, except

a)

Separate data store for each microservices

b)

Treat servers as stateful

c)

Keep code at a similar level of maturity

d)

Separate build of microservice

e)

Deploy into containers

35.

Which of the following best describes a Microservices?

a)

a group of independent services which are formed from the breaking down of an application into components

b)

a service that has a group of services at the backend site.

c)

a service that has been modified to function within more restrictive environments

d)

a group of platform independent services available for public use.

e)

a service that has been reduced in size but which carries the same functionality

36.

The followings are the advantages of microservices, except:

a)

One technology stack

b)

Independent development

c)

Fault isolation

d)

Independen deployment

e)

Granular scaling


37.

When any single application function or component fails, then the entire application goes down. (Single point of failure ) This is primary disadvantage of ________________

a)

RPC

b)

RMI

c)

RabbitMQ

d)

Micorservices

e)

Monolithic

38.

Which type of communications where a message that has been submitted for transmission is stored by the communication middleware as long as it takes to deliver it to the receiver?

a)

Persistent communication

b)

Asynchronous Communication

c)

Synchronous Communication

d)

Two ways Communication

e)

Transient Communication

39.

Example of attribute-based naming is:

a)

DHCP

b)

CHORD

c)

DNS

d)

NFS

e)

LDAP

40.

One of the advantages of using distributed memory compared to shared memory is:

a)

Processors can access their own memory in isolation without worrying about race conditions

b)

writing the code harder

c)

not scalable

d)

easy to share data

e)

expensive to assemble

41.

Skype network is an example of :

a)

Structured peer-to-peer systems

b)

Hierarchical Peer-to-Peer Systems

c)

Hierarchically Organized Peer-to-Peer Networks

d)

Unstructured Peer-to-Peer Systems

e)

Collaborative distributed systems

42.

The order of creating socket on the server side:

a)

Socket --> bind --> listen --> accept --> send --> recv --> close

b)

Socket --> listen --> accept --> bind --> send --> recv --> close

c)

Socket --> listen --> bind --> accept --> recv --> send --> close

d)

Socket --> listen --> bind --> accept --> send --> recv --> close

e)

Socket --> bind --> listen --> accept --> recv -->send -->close

43.

Which type of communications where the sender and the receiver must be active at the time of communication?

a)

Synchronous Communication

b)

Transient Communication

c)

Asynchronous Communication

d)

Persistent Communication

e)

Two ways Communication

44.

Simultaneous use of more than one processor to solve a problem, is called:

a)

Multitasking

b)

Concurrency

c)

Distributed Computing

d)

Parallel Computing

e)

Hybrid Computing

45.

External clients communicate with Microservices using___

a)

API GATEWAY

b)

Message Broker

c)

API PROXY

d)

API

e)

Messaging

46.

Which one of the followings often referred to as a skeleton?

a)

Proxy-site stub

b)

Client-side stub

c)

Database-site stub

d)

Middleware-site stub

e)

Server-side stub

47.

Which consistency model where all processes must see all shared accesses in the same order and accesses are furthermore ordered according to a global timestamp?

a)

Causal consistency

b)

Linearizability

c)

Sequential Consistency

d)

Strict Consistency

e)

. Data-Centric Consistency

48.

Methods in finding objects that move in flat name spaces:

a)

Broadcasting & Mobile IP

b)

Forwarding pointers & Home-based

c)

Forwarding pointers & Broadcasting

d)

Home-based & Walk-on

e)

Home-based & Mobile IP

49.

One reason to build distributed system is:

a)

Ability to tackle a problem so big that no individual computer could handle it at all, or at least, not in a reasonable amount of time

b)

Ability to share load to other computers (Load balancing)

c)

Ability to do fault recovery

d)

Ability to tackle a big problem that could be handled by an individual computer within a reasonable amount of time

e)

Ability to tackle a light problem that could be handled by an individual computer within a reasonable amount of time

50.

A distributed computing paradigm that brings computation and data storage closer to the location where it is needed, is called:

a)

Cloud computing

b)

IoT

c)

Edge Computing

d)

Fog Computing

e)

Grid Computing

51.

Which consistency model where any read always returns the result of the most recent write?

a)

Strict Consistency

b)

Sequential Consistency

c)

Data-Centric Consistency

d)

Causal consistency

e)

Linearizability

52.

Which one of the following is not the important style of distributed system architecture?

a)

Object-based architectures

b)

Network-based architectures

c)

Resource-based architectures

d)

Layered architectures

e)

Event-based architectures

53.

Which consistency model where all processes see all shared accesses in the same order, but accesses are not ordered in time?

a)

Data-Centric Consistency

b)

Sequential Consistency

c)

Eventual Consistency

d)

Strict Consistency

e)

Causal consistency

54.

The followings are characteristics of what are known as RESTful architectures, except:

a)

Provide a natural way of encapsulating data (called an object's state) and the operations that can be performed on that data

b)

Messages sent to or from a service are fully self-described

c)

After executing an operation at a service, that component forgets everything about the caller

d)

All services offer the same interface, consisting of at most four operations

e)

Resources are identified through a single naming scheme

55.

A proxy is a client stub in RPC systems. What does it do?

a)

Marshal method incovations into messages and unmarshal method invocation to reply messages to the client

b)

Forward request from client application to the server OS

c)

Forward request from client application to the client OS

d)

Marshal method invocations into messages and unmarshal reply messages to return the result of the method invocation to the client

e)

Marshal messages into method invocation and unmarshal reply messages to return the result of the method invocation to the client

56.

The followings are four REST Operations, except:

a)

PUT

b)

UPDATE

c)

GET

d)

POST

e)

DELETE

57.

One of the advantages of using shared memory compared to distributed memory is:

a)

hard to share data

b)

cheap to assemble

c)

writing the code harder

d)

tremendously faster

e)

very scalable

58.

The followings are characteristics of what are known as RESTful architectures, except:

a)

Provide a natural way of encapsulating data (called an object’s state) and the operations that can be performed on that data

b)

All services offer the same interface, consisting of at most four operations.

c)

Messages sent to or from a service are fully self-described

d)

Resources are identified through a single naming scheme

e)

After executing an operation at a service, that component forgets everything about the caller

59.

The separation between interfaces and the objects implementing these interfaces allows us to place an interface at one machine, while the object itself resides on another machine. This is commonly referred to as:

a)

Distributed object

b)

Distributed service

c)

Distributed component

d)

Distributed interface

e)

Distributed data

60.

The order of creating socket on the client side:

a)

Socket --> connect -->recv -->send -->close

b)

Socket --> bind -->recv -->send -->close

c)

Socket --> bind -->send -->recv -->close

d)

Socket --> listen -->accept -- >bind -->send -- >recv -->close

e)

Socket --> connect -->send -- >recv -->close

61.

A piece of code that converts parameters passed between client and server during a remote procedure call (RPC)

a)

Middleware

b)

IPC

c)

Message broker

d)

Stub

e)

RMI

62.

In publish-subscribe architectures, the followings are the forms of coordination, except:

a)

Mailbox

b)

Shared data space

c)

Direct

d)

Periodically

e)

Event-based

63.

What does it do?

a)

It sends the 'mahasiswa.txt' file to 'data.del.ac.id'

b)

It connects to the localhost

c)

It sends a request to extract 'mahasiswa.txt' from 'data.del.ac.id'

d)

It throws an error because a socket cannot use HTTP

e)

It creates a file named 'mahasiswa.txt'

64.

In REST achitecture, which of the following is a way to transfer the states:

a)

In the email attachment

b)

In the body as an XML format

c)

In the footer

d)

In the header

e)

In Javascript file

65.

What does it do?

a)

It listen on port 65432, receive data from server and send the data to the application

b)

It listen on port 65432, receive data from client and send the data to the application

c)

It listen on port 65432, receive data from server and send the data back to the server

d)

It listen on port 65432, receive data from client and send the data to the server

e)

It listen on port 65432, receive data from client and send the data back to the client

66.

What is the type of communication?

a)

Persistent Synchronous

b)

Delivery-based Transient Synchronous

c)

Persistent Asynchronous

d)

Receipt-based Transient Synchronous

e)

Transient Asynchrnous

67.

Using Amdahl’s Law, given time to execute a proces T(1) using one processor is 1 second, serial fraction (S) is 40%, and paralel fraction is 60%, with 3 processors how many percent is the improvement of the execution time?

a)

No improvement

b)

40% faster

c)

40% slower

d)

60% slower

e)

60% faster

68.

Which of the following HTTP methods are used by REST? (Choose three correct answers.)

a)

CREATE

b)

PUT

c)

REPLACE

d)

GET

e)

DELETE

69.

Which of the following statement regarding microservices are true? (Choose three correct answers.)

a)

Interaction between microservices can be slower than the interaction of similar components within a monolithic application

b)

Microservices facilitate the replacement of the implementation of a specific functionality.

c)

Within one application, individual microservices can be updated and redeployed independent of the remaining microservices.

d)

Microservices applications are hard to scale because microservice architecture allow only one instance of each microservice

e)

Integration tests for microservices are not possible until all microservices forming a specific application are completely developed.

70.

Which one of the following coordinations is temporally decoupled, but referentially coupled:

a)

Shared data space

b)

Periodically

c)

Event-based

d)

Mailbox

e)

Direct