Review Quiz Attempt Review2 PDF
Review Quiz Attempt Review2 PDF
Review Quiz Attempt Review2 PDF
Select one:
c. Disk defragmentation
Select one:
True
False
Select one:
True
False
True or False: UDP is more reliable than TCP because it is connection oriented
communications.
Select one:
True
False
True or False: Garbage in the le system is created when LFS leaves older versions
of le structures all over the disk, scattered throughout the disk.
Select one:
True
False
/
Question 6 Correct Mark 1.00 out of 1.00
Select one:
a. Workstation caching
c. single namespace
Top 20 Critical Security Controls for Linux includes all the following except:
Select one:
a. Bzip2
b. tar
c. gzip
d. rsynch
/
Question 8 Correct Mark 1.00 out of 1.00
True or False: A DMA engine is essentially a very speci c device within a system
that can orchestrate transfers between devices and main memory without much
CPU intervention.
Select one:
True
False
True or False: Lookups simply read the data structure; as long as we can guarantee
that no insert is on-going, we can allow many lookups to proceed concurrently.
Select one:
True
False
True or False: The entity-relationship (E-R) data model perceives the real world as
consisting of basic objects, called entities, NOT the relationships among these
objects.
Select one:
True
False
/
Question 11 Correct Mark 1.00 out of 1.00
e
while (1) {
events = getEvents();
for (x in events)
processEvent(x);
}:
Select one:
a. e
b. 1
c. x
d. Null
What capability allows multiple people to use one system at the same time?
Select one:
a. Multi-thread
b. Multi-user
c. Distributed Processing
d. Multitasking
/
Question 13 Correct Mark 1.00 out of 1.00
Select one:
a. Peripheral
b. Memory
c. CPU
d. Input/output
Select one:
/
Question 15 Correct Mark 1.00 out of 1.00
Select one:
True
False
True or False: Locks work through mutual exclusion which preventing multiple
threads from entering a critical section.
Select one:
True
False
True or False: Concurrent data structures can be queues lists and counters only.
Select one:
True
False
/
Question 18 Correct Mark 1.00 out of 1.00
Select one:
Thread 1: Thread 2:
lock(L1); lock(L2);
lock(L2); lock(L1);
Select one:
c. Thread 1 grabs lock L1 and then a context switch occurs to Thread 2, then Thread 2
grabs L2 and tries to acquire L1
The correct answer is: Thread 1 grabs lock L1 and then a context switch occurs to Thread 2,
then Thread 2 grabs L2 and tries to acquire L1
/
Question 20 Correct Mark 1.00 out of 1.00
Select one:
a. 10 lock(&m);
b. 20 lock(&m);
c. 15 unlock(&m)
d. 23 unlock(&m);
/
Question 21 Correct Mark 1.00 out of 1.00
POSIX threads library are those for providing mutual exclusion to a critical section
via:
Select one:
a. API’s
b. Multi-threaded
c. locks
d. Keys
a. Call back
b. state
c. AFSv2
d. File handle
/
Question 23 Correct Mark 1.00 out of 1.00
Select one:
a. Lock mechanism
b. Interrupt
c. atomic exchange
d. Stack
In this method when updating the disk, before over writing the structures in place,
rst write down a little note (somewhere else on the disk, in a well-known location)
describing what you are about to do. Writing this note is the "write ahead" part,
and we write it to a structure that we organize as a "log"; hence, write.
Select one:
a. Journaling
c. FSCK
d. Super block
/
Question 25 Correct Mark 1.00 out of 1.00
Select one:
a. read()
b. move()
c. write()
d. open()
True or False: A power loss or system crash both present major challenges to a le
system attempting to update persistent data structures.
Select one:
True
False
/
Question 27 Correct Mark 1.00 out of 1.00
When the le is opened for the rst time, the client-side le system sends a The
LOOKUP request message from the client side for the pathname (
/home/remzi/foo.txt), the client would send three LOOKUPs which will not include:
Select one:
b. remzi in home
c. foo.txt
d. foo.txt in remzi
True or False: SANS SCORE checklist recommends Telnet is for remote access.
Select one:
True
False
True or False: Lookups simply read the data structure; as long as we can guarantee
that no insert is on-going, we can allow many lookups to proceed concurrently.
Select one:
True
False
/
Question 30 Correct Mark 1.00 out of 1.00
Select one:
a. vsfs
b. NTFS
c. FAT
d. NTFS
Select one:
The correct answer is: Fixed and known location on disk to begin a le lookup
/
Question 32 Correct Mark 1.00 out of 1.00
This method is run before the le system is mounted and made available (assumes
that no other le-system activity is on-going while it runs); once nished, the on
disk le system should be consistent and thus can be made accessible to users.
Select one:
a. Journaling
b. Backpointer-based consistency
c. FSCK
d. Super block
True or False: The entity-relationship (E-R) data model perceives the real world as
consisting of basic objects, called entities, NOT the relationships among these
objects.
Select one:
True
False
/
Question 34 Correct Mark 1.00 out of 1.00
True or False: Server recovery after a crash is more complicated. The problem that
arises is that callbacks are kept in-memory; thus, when a server reboots, it has no
idea which client machine has which les. Thus, upon server restart, each client of
the server must realize that the server has crashed and treat all of their cache
contents as validated, and (as above) reestablish the validity of a le before using it.
Select one:
True
False
True or False: In a multi-threaded application, the developer has full control over
what is scheduled at a given moment in time; rather, the programmer simply
creates threads and then hopes that the underlying OS schedules them in a
reasonable manner across available CPUs.
Select one:
True
False
/
Question 36 Correct Mark 1.00 out of 1.00
True or False: The track depicted in gure 36.1 has 12 sectors, each of which is 512
bytes in size (our typical sector size, recall) and addressed therefore by the
numbers 1 through 12.
Select one:
True
False
True or False: To use a condition variable, one has to in addition have a lock that is
not associated with this condition.
Select one:
True
False
/
Question 38 Correct Mark 1.00 out of 1.00
Linux command used to create Boot and Rescue Disk which creates a boot disk
manually.
Select one:
a. Makedisk
b. TCPwrappers
c. Xinedtd
d. Mkbootdisk
Select one:
True
False
/
Question 40 Correct Mark 1.00 out of 1.00
In this example there are producer and consumer threads the code for a producer
puts an integer in the shared bu er loops number of times, and a consumer gets
the data out of that shared bu er each time printing it. Which line prints out the
shared bu er?
Select one:
c. 13 printf("%d\n", tmp);
/
Question 41 Correct Mark 1.00 out of 1.00
See Table 37.6. Which disk will get the parity bit P5 to remove the parity bit bottle-
nick of RAID 4:
Select one:
a. Disk 0
b. Disk 1
c. Disk 2
d. Disk 3
e. Disk 4
In this method an additional back pointer is added to every block in the system; for
example, each data block has a reference to the inode to which it belongs. When
accessing a le, the le system can determine if the le is consistent by checking if
the forward pointer (e.g., the address in the inode or direct block) points to a block
that refers back to it.
Select one:
a. Journaling
b. Backpointer-based consistency
c. FSCK
d. Super block
/
Question 43 Correct Mark 1.00 out of 1.00
Select one:
a. Capacity
b. N Disks
c. Performance
d. Reliability
/
Question 44 Correct Mark 1.00 out of 1.00
To see what is mounted on your system, and at which points, simply run the mount
program. What distributed le systems are mounted?
Select one:
a. tmpfs
b. ext3
c. sysfs
d. AFS
/
Question 45 Correct Mark 1.00 out of 1.00
Select one:
a. API poll ()
b. API select ()
c. Select
d. Poll
True or False: Two key abstractions of virtual storage are les and directories.
Select one:
True
False
/
Question 47 Correct Mark 1.00 out of 1.00
Select one:
a. free lists
b. bitmaps
c. pre-allocation policy
d. binary tree
Select one:
a. Stack (1)
b. Stack (3)
c. Program code
d. Free
/
Question 49 Correct Mark 1.00 out of 1.00
What capability allows multiple people to use one system at the same time?
Select one:
a. Multi-thread
b. Multi-user
c. Distributed Processing
d. Multitasking
Select one:
a. Mutual Exclusion
b. Non-Critical Section
c. Race Condition
d. Intermediate
Jump to...