Client/Server Programming - Week 13

Ace your homework & exams now with Quizwiz!

Promises can succeed -Multiple times -Always one time -Zero times or one time

Zero times or one time

Which is NOT a correct state of a promise? fulfilled rejected pending completed

completed

WebSocket interface is a -half-duplex communication channel -full-duplex communication channel

full-duplex communication channel

Service-oriented architecture _______ -is local in nature -is distributed in nature

is distributed in nature

All the transaction changes are performed, or none of them are. This is a property of Atomicity Consistency Isolation Durability

Atomicity

Which is NOT an advantage of a distributed architecture? -Scalability -Decoupling -Control over development, testing, and deployment -Ease of security

Ease of security

Heterogeneous versioning means that contracts can be backward compatible by making some fields optional. True or False

False

The WebSocket connection starts its life as a WebSocket connection, downgrading to HTTP if the remote endpoint does not implement WebSocket protocol. True or False

False

Backward compatibility is supplied by different contracts in Homogeneous versioning Heterogeneous versioning

Heterogeneous versioning

Transactions that run concurrently appear to be serialized. This is a property of Atomicity Consistency Isolation Durability

Isolation

Which statement is NOT correct? -Promise chain stops if there is an exception -In case of an exception promise looks down the chain for catch handlers -Promises cannot catch thrown exceptions -then function returns a new promise, different from the original

Promises cannot catch thrown exceptions

Timely response from the service is defined as ____ -Service availability -Service latency -Service responsiveness -Service access

Service responsiveness

Promise can represent a potential failure of an asynchronous operation. True or False

True

The WebSocket connection uses the same default ports as the HTTP and HTTPS protocols. True or False

True

The circuit breaker pattern can be implemented to reset itself. True or False

True

WebSockets have an ability to traverse firewalls and proxies True or False

True

With promises, callback added at some later time will be called even though the event took place earlier. True or False

True

Microservices pattern -makes security easier -makes security challenging -does not have effect on security

makes security challenging

Basic types of service contracts are -system-based and user-driven -service-based and consumer-driven -system-based and service-based -dedicated and common

service-based and consumer-driven

The WebSocket protocol uses this prefix ___ webs:// ws:// websocket:// wsc://

ws://


Related study sets

Marketing and Consumer Mountain Exam 2

View Set

Sociology Exam #1 (CENTELLAS__OLEMISS)

View Set

Cultural Psychology Quiz (Chapter 8, 9)

View Set

Types of Agency Relationships Ch. 4

View Set

Final World Civilization Chapters 7-13

View Set

Brain & Behavior Study Guide Exam #2

View Set