Test
CS 462 - QUIZES
Crea una cuenta gratis para terminar este test
Guarda tu progreso y consulta tu resultado final.
¿Ya tienes cuenta? Inicia sesión
Preguntas del test (59)
1Asynchronous messaging reduces coupling between two processes because
- AProcesses don’t have to be immediately available for the computation to make progress.
- BMessages can contain any content unlike an API
- CMessages interfaces are discovered dynamically, at run-time
- DConnections between processes use an intermediary to ensure messages are delivered.
2Place the three kinds of coupling in order from most to least harmful.
- Alogical – type – signature
- Bsignature – logical – type
- Clogical – signature – type
- Dtype – logical – signature
3Which of the following statements is the most correct?
- APipeline-structured computations are hierarchical and are probably distributed
- BPipeline-structured computations are heterarchical and decentralized
- CPipeline-structured computations must be co-located
- DB and C
- EA and C
4The Web is an example of a client-server architecture
- AVerdadero
- BFalso
5How is horizontal scaling different from tree-structured parallel computation?
- AHorizontal scaling routes a request to one process whereas tree-structured computation routes the same request to all processes.
- BHorizontal scaling is only used for Web servers
- CTree-structured computation is hierarchical and horizontal scaling is heterarchical
- DHorizontal scaling is a client-server architecture and tree-structured computations are not.
- EHorizontal scaling routes the same request to all processes whereas tree-structured computation routes the request to just one process.
6Facebook is
- AA client-server architecture
- BPeer to peer architecture
- CDesigned for parallel computation
- DA heterarchically-organized, distributed system
- EAn evil plot
7Cryptography is the science of making things secret.
- AVerdadero
- BFalso
8Hybrid key systems
- Aare less secure than public key systems.
- Bcombine public and private key infrastructures.
- Cgenerate confusion in the marketplace by displacing pure cryptography with less complete solutions.
- Dare used to avoid the high cost of encrypting using public keys.
9Message digests algorithms are designed so that it is mathematically infeasible to substitute one message for another without causing the value of the digest to change.
- AVerdadero
- BFalso
10It's impossible for the hash of two different messages to collide.
- AVerdadero
- BFalso
11Digital signatures require
- Agenerating a version of the document without any Unicode characters.
- Btwo parties to share a common iCloud of Dropbox account for sharing documents.
- Cthe receiver to encrypt the same hash as the sender using compatible keys.
- Dtransmitting an encrypted version of the document.
12The public key infrastructure
- AProtects against other people claiming your public key.
- BProvides the means to determine who owns which private keys.
- CIs funded and built by the government of the United States like other public infrastructure.
13The certificate-based public key infrastructure is an example of a
- Acentralized system
- Bhierarchical system
- Cheterarchical system
14Certificate ______________ is/are designed to protect against compromised certificates.
- Arevocation
- Bvalidation
- Cauthorities
- Dsignatures
15URIs create a universal namespace because
- AURIs combine domain names and a hierarchical naming system
- Bthe URI path is associated with the server's file system
- Cdomain names are a universal namespace
16All URLs are URIs but not all URIs are URLs
- AVerdadero
- BFalso
17A directory
- Ais optimized for retrieval
- Bmaps names to resources or data about a resource
- Call of the above
- Doften comes with a pre-configured schema
18All directories are hierarchical
- AVerdadero
- BFalso
19Consider the following statements
1. DNS is heterarchical
2. DNS is decentralized
3. DNS relies on clients knowing about a few special top-level domain server
4. DNS creates globally unique names using a hierarchy of namespaces
5. DNS requires all domain mapping changes to be submitted to a central administrative body
6. DNS is the only way to resolve domain names to IP addresses
7. DNS provides a namespace for the path information in URIs
Which of the above statements are true?- A(2), (3), (4), and (7)
- B(1) and (2)
- CAll but (1)
- DAll but (1) and (5)
- ENone of them
- F(4), (5), and (6)
- GAll of them
- H(2), (3), (4), (6), and (7)
20Which of the following is not a common serialization format that is used for interchange?
- AYAML
- BJSON
- CJava serialized object
- DXML
21The HTTP POST method is analogous to a database CREATE command.
- AVerdadero
- BFalso
22The /uapi/enrollments URI in the Simple University API example is
- AA new method for adding students to classes.
- BA resource for associating a particular student with a classes.
- CAn example of RPC-style interaction.
- DA link between students and their grades.
- EA reference to a class roll.
23refer to the following partial swagger specification:
paths:
/sprinkler/{id}:
get:
description: Find a sprinkler
parameters:
- name: id
in: path
required: false
- name: type
in: query
We can call this API without an ID in the path- AVerdadero
- BFalso
24 refer to the following partial swagger specification:
paths:
/sprinkler/{id}:
get:
description: Find a sprinkler
parameters:
- name: id
in: path
required: false
- name: type
in: query
How many parameters are there?- A1
- B2
- C3
- D4
25For the following four questions, refer to the following partial swagger specification:
paths:
/sprinkler/{id}:
get:
description: Find a sprinkler
parameters:
- name: id
in: path
required: false
- name: type
in: query
If we called this API with the method shown and without the ID in the part, we would expect it to:- Afail
- Breturn a list of sprinklers
- Ccreate a new sprinkler
- Dreturn a single sprinkler record
- Eturn the sprinklers on
26Multi-tenancy
- Aallows multiple applications to run on the same virtual machine
- Ballows many virtual machines to run on a server
- Callows many users to use the same application code
- Drequires passwords
- Eneeds sessions
- Fallows multiple applications to run on the same virtual machine and needs sessions
- Gallows many users to use the same application code and requires passwords
- Hallows many users to use the same application code and needs sessions
- Iallows many users to use the same application code, requires passwords, and needs sessions
- Jnone of the above
27In OAuth,
- Athe owner is tasked with telling the resource server what to release.
- Bthe authentication server is responsible for granting access.
- Cthe resource server is requesting access to the client.
- Dthe authorization server grants access to the resource server.
- Ethe resource server gives access to a code on the authorization server.
28MapReduce is heterarchical
- AVerdadero
- BFalso
29A manufacturing process has two parts. They both take 1 hour. One can be easily scaled by hiring more workers (i.e. it is perfectly parallelizable). The second can only be done by one person (i.e. is perfectly serial). What is the minimum number of workers who can be assigned to the parallelizable task before the speedup is within 10% of the theoretical maximum?
- A5
- B8
- C9
- D12
- E36
- FYou can never get that close in practice
30If an algorithm is 80% parallelizable and gets a 2.5x speed up with 4 processes, how much faster will it execute with 3000 processors?
- A5 time faster
- B4 time faster
- C10 time faster
- D750 time faster
- E1875 time faster
31Achieving identical results using retries to recover from machine failure in a parallel system depends on
- Aluck
- Bintelligent rescheduling
- Canalysis of results for error markers
- Ddeterministic algorithms
32MapReduce provides
- Aa general-purpose framework for parallelizing data analysis algorithms
- Ba method for quickly analyzing large batches of data
- Ca real-time time-series data analysis tool for calculating Lagrangians
- DA and C
- EA and B
33A transaction monitor is a necessary component in any system that wishes to maintain proper data isolation levels.
- AVerdadero
- BFalso
34What does the presence of a drink queue in the coffee shop conversation diagram indicate?
- AThe cashier works faster than the baristas
- BThe baristas work faster than the cashier
- CThe cashier and baristas work asynchronously
- DThe baristas make drinks in a different order than the cashier queues them up
- ESome drinks take longer to make than others
35Paxos does not block in the case of a lost message. This is an example of
- Aa safety property
- Ba liveness property
- Cneither
36Paxos guarantees that a proposer will learn a previously agreed upon value through what mechanism
- ADesignated learners know any value that has been chosen.
- BAcceptors only accept prepare requests that have a number larger than the one they’ve seen before.
- CAny node that proposes after a decision has been reached must communicate with a node in the majority.
37Blockchain prevents Byzantine failure in Bitcoin transactions through
- AA public ledger
- BSigned messages
- CSerial numbers
- DProof of work
- EChains of transaction blocks
- F(a), (b), and (e)
- G(a), (d), and (e)
- H(b), (c), and (d)
38Which of the following distributed system fallacies would directly affect system availability (choose all that apply)?
- AThe network is reliable.
- BLatency is zero.
- CBandwidth is infinite.
- DThe network is secure.
- ETopology doesn't change.
- FTransport cost is zero.
- GThere is one administrator.
39If I asked you to design a system that is safe and I don't specify a liveness requirement you could
- Areturn 42 as the answer to every request
- Bignore all requests
- Cturn the system off
- Dall of these
40Which of the following statements is the most accurate?
- ALatency and bandwidth are different words for the same thing
- BLatency measures how long it takes data to move from one place to another
- CFast networks have high latency
- DWe can ignore latency in distributed applications
41Which of the following constitute a network partition?
- AA backhoe digs through a cable connecting two data centers where different parts of a distributed application are running
- BA message buffer overflows and some messages are lost
- CA message queue fails to delete a message and it’s delivered twice
- DA and B
- EA and C
- FAll of the above
42The Bittorrent tracker is not a single point of failure for the overall file sharing network because:
- ABittorrent uses a distributed hash table
- BA given torrent can be hosted on multiple trackers
- CUDP network protocols don’t require receipt acknowledgement
43DHTs and Blockchain are similar in that they are both distributed storage among many nodes.
- AVerdadero
- BFalso
44The naive (simple) algorithm and the Chord algorithm
- Aare both examples of NP-complete problems.
- Bboth use consistent ligatures to ensure mass adoption.
- Chave different correctness properties
- Ddiffer in that the simple algorithm has runtime O(n) while the Chord algorithm has runtime O(log n)
- Ediffer in that the simple algorithm has runtime O(log n) while the Chord algorithm has runtime O(n^2)
45Using the Chord algorithm, for any node in the ring, x,
- Athe closest node is its immediate successor and the furthest node is the node with key [x + 32]
- Bthe closest node is its immediate successor and the furthest node is its immediate predecessor
- Cthe closest node is its immediate successor and the furthest node is the node with key [x + 2^(s-1)] where s is the number of nodes in the ring
- Dthe closest node is its immediate predecessor and the furthest node is its immediate successor
46In his essay on reactive programming, Kevin Webber defines “consistency” as
- AA positive user experience regardless of device, load, and failure
- BMessages that have a standard semantics
- CHaving the same data in different data stores despite network partitions
47Which of the following are not required properties of actors?
- AA mailbox for receiving messages
- BLogic based on pattern matching to determine how to handle messages
- CInternet addressability for mailboxes
- DState that is independent from other actors
48In the context of a rule language, ECA stands for
- AEvent Communicate Act
- BEvery Condition Assigns
- CEvents Combine Actions
- DExpressions Connote Action
- EEvent Condition Action
49Picos channels use URLs to address other picos.
- AVerdadero
- BFalso
50Which of the following best explains event expressions?
- AOperations for building events that are sent to a pico
- BDeclarative language for expressing structural and temporal event patterns
- CDescriptions of commands a pico can receive
51Which of the following statements is the most correct?
- APicos schedule rules based on the order they send events
- BEvents raised by a rule can append new rules to the evaluation schedule
- CRule evaluation order cannot be controlled by the programmer
- DRule evaluation cannot affect the evaluation schedule
52Select the statement below that is the most accurate
- AThe words “raise” and “send” mean the same thing when speaking about events in picos.
- BThe word “raise” is used for events put on the pico’s internal event bus.
- CThe word “send” is used for events put on the pico’s internal event bus.
- DThe word “raise” is used for exchanging events with another pico.
53Idempotency is important in programming picos because
- AIdempotency removes order dependency between rules
- BIdempotency protects state and keeps it isolated
- CIdempotency protects against accidentally duplicated messages
54If we use a use the scatter-gather pattern and one of the events from the router pico is lost, which of the following scenarios would be the best method for handling the failure with a retry?
- AThe pico that was supposed to receive the event could ask for it again
- BThe Aggregator pico could tell the router pico it has incomplete state after some timeout period
- CThe Router pico could tell the Aggregator pico that it should ask for the missing information
- DThe picos that received the events successfully could forward the event to those who didn’t get it
55Semantic translation is a method for making events more meaningful.
- AVerdadero
- BFalso
56A given application will choose the one axis on the scalability cube that gives it the best use of resources.
- AVerdadero
- BFalso
57Which of the following are not reasons for choosing a microservices architecture?
- ATrue Increased application availability
- BMore uniform application frameworks
- CBetter application scalability
- DDecreased developer burden related to application changes
58An API gateway has several drawbacks including the following:
- AMaking multiple network requests can be slow
- BHTTP is required for all communication
- CMultiple SDKs
- DAll of the above
- ENone of the above
59If you wanted to determine how well your microservices initiative was going, which of the following would measure?
- AMean time to recover
- BMean time between failures
- CNew trouble tickets created
- DNetwork bandwidth consumed
Información
- Descripción
- Test sobre CS 462 - QUIZES, creado por Jonathon Meng el 20/04/2018.
- Autor
- Jonathon Meng
- Idioma
- English
- Visitas
- 2
- Valoración
- Aún sin valoraciones Valora este test