Quiz
CSSE4004 - Lecture 2
Crie uma conta grátis para terminar este quiz
Salve seu progresso e veja sua nota final.
Já tem uma conta? Inicie sessão
Perguntas do quiz (13)
1A file is a fixed resource
- AVerdadeiro
- BFalso
2Which of these are true?
- AA server which is aware of which clients have a file cached is stateful
- BServers which obtain their state from cookies are stateful
- CStateful servers makes it more difficult to handle failures
- DA stateless server can change its own state without informing clients
3Why would you use a thread over a process?
- ABecause threads share the address space and therefore have lower overhead to start
- BTo provide total isolation between different tasks within a process
- CBecause processes can only be used for weak consistency
- DBecause threads do not require state saving when interrupted
4What is a solution to "a target machine may not be able to execute original code" in the context of code migration
- AInterpreted languages running on a virtual machine
- BPassing the code by reference
- CDynamically reconfiguring the target system
- DUsing a cloud computing platform instead
5It is possible to migrate a fastened resource
- AVerdadeiro
- BFalso
6What is the purpose of interceptors
- ATo change flow of control and allow additional code to be executed
- BTo block unauthorized or excessive RPC traffic
- CTo update the code with new versions
- DTo support binary encoding
7Which of these is an accurate description of a thread?
- AAbstraction of activity within process
- BAn isolated task containing an independent address space
- CAn abstract task that can be passed between nodes within a distributed system over a network
- DThe owner of a process
8How can threading improve performance for clients?
- AHide network latency by reacting to next request while previous being transmitted
- BBy migrating the thread to the client machine which is more powerful
- CBecause threaded servers perform better with threaded clients
- DIt doesn't, threads are vulnerable to blocking execution
9Which of these is not a reason to use code migration?
- AReduce communication
- BContinue when disconnected
- CDynamically deploy components
- DBecause .NET is only supported on Windows platforms
10Which of these is not a reason to use code migration?
- ABecause I do not trust the code and wish to run it on an isolated system
- BBecause the product of the code is larger than the code itself
- CBecause the client is much more powerful than the server
- DBecause the same code will be used many times over and over time the data produced by the code will exceed the size of the code
11Switching between threads is more expensive than switching between processes
- AVerdadeiro
- BFalso
12What are core OS functions?
- AProcess, thread, communication and memory management
- BProcess, thread, reliability and memory management
- CSecurity, IPC, threading and recovery
- DConcurrency, resource isolation, communication and memory management
13Which of these are true about single threaded servers?
- APrevents simple scaling to multiprocessor
- BCan only serve multiple concurrent clients if those clients are threaded
- CGenerally perform faster by avoiding context switching
- DDoes not scale up to serving many clients
Informações
- Descrição
- CSSE4004 - Lecture 2
- Autor
- tb22
- Idioma
- English
- Visualizações
- 89
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz