Section 2
- The logical address is:
- the address seen by the memory unit
- generated by the CPU
- generated by the user
ans
b
- Memory Management Unit (MMU) is a
- software device that at run time maps virtual to physical address
- hardware device that at the compilation time maps virtual to physical address
- hardware device that at run time maps virtual to physical address
- software device that at the compilation time maps virtual to physical address
ans
c
- Virtual Memory is
- user logical memory
- separation of user logical memory from physical memory
- physical memory
- kernel memory
ans
b
- Copy-on-Write (COW) allows...
- the child process to initially share the same pages in memory
- the parent process to initially share the same pages in memory
- both parent and child processes to initially share the same pages in memory
- to write a new file
ans
c
- Mutual exclusion means
- a resource can be released only voluntarily by the process holding it, after that process has completed its task
- only one process at a time can use a resource
- a process holding at least one resource is waiting to acquire additional resources held by
other processes
ans
b
- If a system is in safe state then
- possibility of deadlock
- deadlocks will occur
- no deadlocks will occur
ans
c
- In the readers-writers problem
- Readers can only read the dataset and writers can only write.
- Readers can read/write the dataset and writers can read/write.
- Readers can only read the dataset and writers can read/write.
- Readers can read/write the dataset and writers can only write.
ans
c
- [Multiple-choices allowed] In Java synchronisation, describe what happens when a thread calls notify()
- An arbitrary thread T is selected from the wait set
- Start a new thread T
- T is moved from the wait set to the entry set
- Set the state of T from blocked to runnable.
- Finishes thread T
ans
a, c, d
- A mutex is a
- CPU scheduler algorithm
- mutual exclusion lock
- type of kernel
ans
b
- A Semaphore, in the OS context, is...
- is a traffic light system
- the name given to the critical section of code that can only be accessed by only one thread.
- an integer variable used to solve the critical section problem by using two atomic operations, wait and signal that are used for process synchronization
ans
c
- Preemptive scheduling is used when a process
- switches from running state to ready state or from the waiting state to ready state.
- terminates, or a process switches from running to the waiting state
- starts the execution
ans
a
- In Round Robin (RR) scheduling
- The CPU is allocated to the process with the highest priority
- The CPU is allocated to the process with the lowest priority
- Each process gets the same amount of CPU time
ans
c
- In the Many-to-One thread model
- Many user-level threads mapped to single kernel thread
- One user-level thread is mapped to many kernel threads
- Many user-level threads mapped to many kernel threads
ans
a
- Signals are used in UNIX/Linux systems to notify
- a thread that a particular event has occurred.
- the user that a particular event has occurred.
- the OS that a particular event has occurred.
- a process that a particular event has occurred.
ans
d
- A process is
- a program in execution
- is text editor
- a spreadsheet
- a browser
ans
a
- [Multiple-choices allowed] Select all the valid states for a process.
- new
- running
- waiting
- ready
- paused
- terminated
- aborted
- all of the above
- none of the above
ans
a-f
- [Multiple-choices allowed] Select the Operating System Services
- User Interface
- Program execution
- I/O Operations
- File-system manipulation
- Communication
- Error Detection
- Resource Allocation
- Logging
- Protection and Security
- All of the above
ans
j
- All OSs offer a user-friendly GUI.
- true
- false
ans
b
- What do all the devices (from a smart watch to a cluster HPC) share in common?
- Kernel
- Windows
- Mac
- Linux
ans
kernel
- Is Linux an Operating System?
- Yes
- No
ans
b
- Masquerading (breach authentication) refers to
- message modification
- Pretending to be an authorised user to escalate privileges
- Intruder sits in data flow, masquerading as sender to receiver and vice versa
- Intercept an already-established session to bypass authentication
- Common attack type with access beyond what a user or resource is supposed to have
ans
a
- Malware refer to
- Program frequently installed with legitimate software to display adds, capture user data
- Intruder sits in data flow, masquerading as sender to receiver and vice versa
- data lock via encryption, demanding payment to unlock it
- Software designed to exploit, disable, or damage computer
ans
d
- Rings of protection
- join functions into domains
- separate processes into domains and order them
- separate functions into domains and order them
- join processes into domains
ans
c
- An Access matrix
- is a table that defines access restrictions between specific subjects and objects.
- is a table that defines access permissions between specific users and objects.
- is a table that defines access permissions between specific subjects and objects.
ans
c
- Type 0 hypervisors are ...
- Hardware-based solutions that provide support for virtual machine creation and management via firmware
- Operating-system-like software built to provide virtualization
- Applications that run on standard operating systems but provide VMM features to guest operating systems
ans
a
- Paravirtualization
- is where the Virtual Machine Manager does not virtualize real hardware but instead create an optimised virtual system
- is a technique in which the guest operating system is modified to work in cooperation with the Virtual Machine Manager to optimize performance
- enable applications written for one hardware environment to run on a very different hardware environment, such as a different type of CPU
ans
b
- In the context of cryptography, brute-Force Attack...
- Involves replacing the letters of plaintext by other letters or by numbers or symbols
- Involves trying every possible key until an intelligible translation of the ciphertext into plaintext is obtained
- is best-known multiple-letter encryption cipher
- Improves on the simple monoalphabetic technique by using different monoalphabetic substitutions as one proceeds through the plaintext message
ans
b
- The Caesar Cypher
- Involves replacing each letter of the alphabet with a number standing N places further down the alphabet
- Involves replacing each letter of the alphabet with the letter standing N places further down the alphabet
- Involves replacing each letter of the alphabet with the letter standing N places further up the alphabet
ans
b
- UDP stands for..
- User Data Protocol and is an Unreliable data transport protocol
- User Datagram Protocol and is an Unreliable data transport protocol
- User Datagram Protocol and is a Reliable data transport protocol
- User Data Protocol and is a Reliable data transport protocol
ans
b
- TCP stands for..
- Transmission Control Protocol and is a Reliable data transport protocol
- Transmission Communication Protocol and is a Reliable data transport protocol
- Transmission Control Protocol and is an Unreliable data transport protocol
- Transmission Communication Protocol and is an Unreliable data transport protocol
ans
a
- TLS stands for...
- Transfer Layer Security
- Transport Library Security
- Transfer Library Secure
- Transport Layer Security
ans
d
- Secure Shell (SSH) is
- A protocol for secure network communications designed to be relatively simple and inexpensive to implement
- A protocol for network communications designed to be relatively simple and inexpensive to implement
- A protocol for secure network communications designed to be very complex to implement
ans
a
- A container is ...
- an abstraction of physical hardware turning one server into many servers.
- an abstraction at the app layer that packages code and dependencies together.
- an operating system architecture where the entire operating system is working in kernel space
- the near-minimum amount of software that can provide the mechanisms needed to implement an operating system (OS)
ans
b
- [Multiple-choices allowed] Microservices are ...
- Highly maintainable and testable
- Loosely coupled
- Difficult to manage
- Independently deployable
- Highly coupled
- Organized around business capabilities
- Ideal for small projects that do not require scalability
- Owned by a small team
ans
a,b,d,f,h
- [Multiple-choices allowed] Vulnerabilities, in containers, can possibly exist in...
- Virtual Machines
- Container configurations
- Main Operating System
- Container packages
- Application Libraries
- All the above
ans
b, d, e
- [Multiple-choices allowed] Select the steps that help to keep your containers ecosystems secure ...
- Check the integrity of the images
- Sign to validate pipeline phases
- Consume only trusted content for tagged Docker builds
- Ensure that the container was generated by a trusted publisher
- None of the above
ans
a-d
- [Multiple-choices allowed] In the context of Cloud Computing, the properties and characteristics are
- High scalability and elasticity
- High availability and reliability
- Low scalability and elasticity
- High manageability and interoperability
- High accessibility and portability
- High performance and optimization
- Low manageability and interoperability
ans
a,b,d,e,f
- Fault-tolerance is
- a subfield of control engineering which concerns itself with monitoring a system, identifying when a fault has occurred and pinpoint the type of fault and its location.
- the ability to provide and maintain an acceptable level of service in the face of faults and challenges to normal operation
- the property that enables a system to continue operating properly in the event of the failure of some of its components.
- the process, policies and procedures related to preparing for recovery or continuation of technology infrastructure critical to an organization after a natural or human-induced disaster.
ans
c
- [Multiple-choices allowed] In heterogeneous computing, domain decomposition involves ..
- Deciding how data elements should be divided among processors
- Deciding which tasks each processor should be doing
- Dividing tasks among processors
- Deciding which data elements are going to be accessed (read and/or written) by which processor
- All of the above.
ans
a,b
- [Multiple-choices allowed] Why are race conditions so difficult to manage?
- Programs with race conditions exhibit non-deterministic behaviour
- Sometimes the result is incorrect
- Programs work correctly on trivial data sets and small number of threads
- Errors more likely to occur when number of threads or execution time increases
- None of the above.
ans
a-d
- Edge Computing devices are
- specialised software that processes data in edge devices, which is opposite to thin client, which hardly transfers data.
- devices like sensors and machines can be outfitted to work in edge computing.
- regular laptops used in the day-to-day activities.
ans
b
- [Multiple-choices allowed] Advantages of Enabling Edge Computing. Select all that apply.
- Speed is increased
- Reliability is increased
- Random issues are reduced
- Compliance issues are reduced
- Hacking issues are reduced
ans
all of them