UPWORK TEST » November 7, 2015

Daily Archives: November 7, 2015

Upwork Operating Systems

Redhat Linux 9.0 Admin Test 2016

Published by:

1. Which of the following files contains the IP address of the gateway?

Answers:

  1. /etc/sysconfig/network
  2. /etc/resolv.conf
  3. /etc/sysconfig/network-scripts/ifcfg-eth0
  4. /etc/sysconfig/network-scripts/gateway

2. Which of the following commands will format the /test partition?

Answers:

  1. ext2online -j /test
  2. mke2fs /test
  3. mke2fs -j /test
  4. ext2online /test

3. Which command is used to set a quota for user Debbie. The path is /test, the size of quota is 5MB and soft limit is 4MB. The user is not allowed to use more than 5MB.

Answers:

  1. setquota Debbie 4MB 5MB 0 0 /test
  2. setquota Debbie 4096 5120 0 0 /test
  3. setquota Debbie 0 0 4096 5120 /test
  4. setquota -s Debbie 4096 5120 0 0 /test

4. Which is the correct command to start the daemon of the printserver?

Answers:

  1. service printer start
  2. service cupsd start
  3. service cupd start
  4. service cups start

5. What problems will be faced during reboot, when the permissions of /tmp are 655, and the default permissions are 1777?

Answers:

  1. Xserver will not start
  2. System will not boot properly
  3. Device driver will not work
  4. man pages will not work

6. Which entry is not required in /etc/sysconfig/network ?

Answers:

  1. NETWORKING=YES
  2. HOSTNAME=stationx.example.com
  3. NAMESERVER=192.168.0.x
  4. NISDOMAIN=rhct

7. In which mode can LVM be created during installation?

Answers:

  1. CUI only
  2. GUI only
  3. Both CUI and GUI
  4. None of the above

8. Which entry does not belong to ifcfg-eth0 ?

Answers:

  1. DEVICE=eth0
  2. BOOTPROTO= static/dhcp
  3. HOSTNAME=stationx.example.com
  4. IPADDR=192.168.0.x
  5. ONBOOT=yes

9. Which statement correctly creates a Volume Group, named vg0, when there are two partitions /dev/hda6 and /dev/hda7 of 150 MB each, totalling 300MB?

Answers:

  1. vgcreate -n vg0 /dev/hda6 /dev/hda7
  2. vgcreate -l vg0 /dev/hda6 /dev/hda7
  3. vgcreate vg1 /dev/hda6 /dev/hda7
  4. vgcreate vg0 /dev/hda6 /dev/hda7

10. How can ext3 filesystem be converted to ext2 filesystem if the partition is /dev/hda7 ?

Answers:

  1. tune2fs -O ^has_journal /dev/hda7
  2. tune2fs -o ^has_journal /dev/hda7
  3. tune2fs -a ^has_journal /dev/hda7
  4. tune2fs -A ^hasjournal /dev/hda7

11. What is proc file system?

Answers:

  1. Physical partition created during installation
  2. Virtual file system
  3. It is the swap partition
  4. None of these

12. A new swap partition is created and entered correctly in /etc/fstab. How will it be mounted?

Answers:

  1. # swapon -s
  2. # swapon -a
  3. # swapon -m
  4. # swapon -A

13. What does the entry id:3:initdefault: define in the /etc/inittab file?

Answers:

  1. The system will boot by default in 3rd run level
  2. The system will boot by default in graphical mode
  3. The system will boot by default in single user run level
  4. The system will boot but not in 3rd run level

14. What is the correct format for kickstart installation through NFS, when the NFS IP is 192.168.0.254, and the file path on the server is /kickstart/ks.cfg ?

Answers:

  1. Linux kickstart=nfs:192.168.0.254/kickstart/ks.cfg
  2. Linux ks=nfs:192.168.0.254/kickstart/ks.cfg
  3. linux ks=nfs:192.168.0.254:/kickstart/ks.cfg
  4. linux kickstart=nfs:192.168.0.254:/kickstart/ks.cfg

15. How much space does the IPL (Initial Program Loader) take on the disk?

Answers:

  1. 511 MB
  2. 512 Bytes
  3. 512 MB
  4. 446 Bytes

16. How should a raid device /dev/md0, with level 0, and devices /dev/hda6, /dev/hda7 be created?

Answers:

  1. mdadm -c /dev/md0 -l 0 -n 2 /dev/hda{6,7}
  2. mdadm -c /dev/md0 -l 0 -n 2 /dev/hda6 /dev/hda7
  3. mdadm -C /dev/md0 -l 0 -n 2 /dev/hda6 /dev/hda7
  4. mdadm -C /dev/md0 -L 0 -n 2 /dev/hda{6,7}

17. The command which configures devices is:

Answers:

  1. kudzu
  2. netconfig
  3. kudu
  4. netstat

18. Which of the following commands enables ip forwarding permanently?

Answers:

  1. Echo “1” > /proc/sys/net/ipv4/ip_forward
  2. Open the file /etc/sysctl.conf and insert net.ipv4.ip_forward=1 in the file
  3. Open the file /etc/sysctl.conf and insert net.ipv4_forward=0 in the file
  4. Open the file /etc/sysctl.conf and insert net.ipv4.icmp_echo_ignore_all=1 in the file

19. How is an LVM of 200MB named lv0 created within the volume group vg0?

Answers:

  1. lvcreate -l 200MB lv0 vg0
  2. lvcreate -L 200MB lv0 vg1
  3. lvcreate -L 200MB lv0 vg0
  4. lvcreate -L 200MB vg0 lv0

20. Which of the following repquota command option is used to Report all quotas, even if there is no usage?

Answers:

  1. -a
  2. -v
  3. -t
  4. -n

21. Which file contains the configuration of the network card?

Answers:

  1. /etc/sysconfig/network-scripts/ifcfg-eth
  2. /etc/sysconfig/hwdata
  3. /etc/sysconfig/ntwork-scripts/hwdata
  4. /proc/sys/net/hwdata

22. What types of files does /proc filesystem consist of?

Answers:

  1. Pseudo Files
  2. System Binaries
  3. Temporary Files
  4. User Home Directories

23. A new partition /dev/hda6 has been created. How will it be formatted with ext3 file system (one block=1024 bytes, inode size=one inode every 2 blocks)?

Answers:

  1. mke2fs -b 2048 -i 2048 -j /dev/hda6
  2. mke2fs -b 1024 -i 1024 -j /dev/hda6
  3. mke2fs -b 1024 -i 2048 -j /dev/hda6
  4. mke2fs -b 2048 -i 4096 -j /dev/hda6

24. How should a cron job that prints “hello” every morning at 4:02am, be set up?

Answers:

  1. # crontab -e and insert into 02 04 * * * print “hello”
  2. # crontab -e and insert 02 04 * * * echo “hello”
  3. # crontab -e and insert into 02 04 * * * echo “hello”
  4. # crontab -e and insert into 02 4 * * * print “hello”

25. When the system is started, it shows Redhat Enterprise Linux. When the enter key is pressed, it shows the grub prompt. The present working directory is either / or /boot. How can you find the /boot partition at the grub prompt?

Answers:

  1. GRUB> find /boot/grub.conf
  2. GRUB> find /grub/grub.conf
  3. GRUB> find /grub/stage1
  4. GRUB> find /grub/stage2

26. During Linux installation, in which mode can RAID be created?

Answers:

  1. Only in graphical mode
  2. Only in CUI mode
  3. Both graphical and CUI mode
  4. None of the above

27. In which of the following locations are boot messages stored?

Answers:

  1. /var/log/dmessg
  2. /var/lag/dmesg
  3. /var/log/dmesg
  4. /var/log/messages

28. Which entry is specified in /etc/resolv.conf ?

Answers:

  1. IP address of own machine
  2. Nameserver IP address
  3. Router machine IP
  4. NIS domain IP

29. How can kernel-2.6.9-5 rpm be installed?

Answers:

  1. # rpm -U kernel-2.6.9-5.rpm
  2. # rpm -ivh kernel-2.6.9-5.rpm
  3. # rpm -IVH kernel-2.6.9-5.rpm
  4. # rpm -install kernel-2.6.9-5.rpm

30. What should be the command to view the details of raid device /dev/md0 ?

Answers:

  1. # mdadm –detail /dev/md0
  2. # mdadm -s /dev/md0
  3. # cat /proc/mdstat
  4. # mdstat –details /dev/md0

31. When VGs (Volume Groups) are created, where are the VG information files stored?

Answers:

  1. /etc/lvm/
  2. /etc/lvm/backup/
  3. /tmp/lvm/backup
  4. /etc/

32. Through which of the following commands can a corrupted initrd be recreated?

Answers:

  1. mkinitrd -f -v /boot/initrd-$(uname -r)img $(uname -r)
  2. mkinitrd -f -v /boot/initrd-$(uname -r).img $(uname -r)
  3. mkinitrd -f -v /boot/initrd-$(uname -r).EL $(uname -r)
  4. mkinitrd -f -v /boot/initrd-$(uname -r)img $(uname -r).EL

33. What should be done to extend a 200MB LVM named lv0 by 50MB. A volume group named vg0 of 100MB is available free, lv0 is mounted on /test ?

Answers:

  1. lvextend -L 50MB lv0 vg0
  2. lvextend -l 50MB lv0
  3. lvextend -I 50MB lv0 vg0
  4. lvextend -L 50MB lv0

34. How can you tell which RPM the /etc/inittab file belongs to?

Answers:

  1. rpm -ql /etc/initab
  2. rpm -qf /etc/inittab
  3. rpm -i /etc/inittab
  4. rpm -e /etc/inittab

35. There are 3 disks of 1 GB each, with mean total 3 GB. If a raid level 5 is implemented, what will be the size of the raid device?

Answers:

  1. 3 GB
  2. 2 GB
  3. 21/2 GB
  4. 1 GB

36. How can ext2 filesystem be converted to ext3 filesystem if the partition is /dev/hda7 ?

Answers:

  1. tune2fs -j /dev/hda7
  2. dump2fs -j /dev/hda7
  3. tune2fs -f /dev/hda7
  4. mke2fs -j /dev/hda7

37. Which of the following denotes Raid level 0?

Answers:

  1. Striping with parity
  2. Striping with mirroring
  3. Striping
  4. None of these

38. While troubleshooting Xserver, which of the following steps is not required?

Answers:

  1. service xfs restart
  2. system-config-display
  3. check permissions of /tmp
  4. check /usr permissions

39. What will be the behavior of the following command:

# echo “1” > /proc/sys/net/ipv4/ip_forward

Answers:

  1. Enables ip_forwarding permanently
  2. Enables ip_forwarding temporarily
  3. Disables ip_forwarding permanently
  4. Disables ip_forwarding temporarily

40. Can the size of LVM be decreased?

Answers:

  1. Yes
  2. No

41. Can / partition on lvm device be installed during installation?

Answers:

  1. Yes, it can be installed
  2. This facility is only available in rhel3.0
  3. / can install only one physical partition
  4. None of these

42. What is the path of rc.sysinit?

Answers:

  1. /etc/rc.d/rc.sysinit
  2. /etc/rc/rc.sysinit
  3. /etc/init.d/rc.sysinit

43. Sticky bit and suid are to be set on /home/test. Which command should be used to give rwx permissions to each user, group and others?

Answers:

  1. chmod 1777 /home/test
  2. chmod 3777 /etc/test
  3. chmod 3777 /home/test
  4. chmod 3777 /homes/test

44. If /root partition is installed on /dev/hda2, what defines hda2 ?

Answers:

  1. 1st hard disk 1st partition
  2. 2nd hard disk 2nd partition
  3. 2nd hard disk 1st partition
  4. 1st hard disk 2nd partition

45. /dev/hda6 and /dev/hda7 are two partitions of 150MB each. What is the correct statement to create physical volumes?

Answers:

  1. pvcreate pv0 /dev/hda6 /dev/hda7
  2. pvcreate /dev/hda6 /dev/hda7
  3. pvcreate -c pv0 /dev/hda6 /dev/hda7
  4. pvcreate pv /dev/hda6 /dev/hda7

46. How many disks are required in Raid level 5?

Answers:

  1. At least 2
  2. At least 3
  3. At least 1
  4. At least 4

47. What is the full form of MBR?

Answers:

  1. Memory buffer record
  2. Memory boot register
  3. Memory buffer register
  4. Master boot record

48. If the permissions of rc.sysinit are changed from 655 to 444, what will happen during the next reboot?

Answers:

  1. The system will boot but when the password is entered, “access denied” will be displayed
  2. The system will not boot
  3. The system will show only grub prompt during boot
  4. The system will automatically restart, without showing the login prompt after the exact boot process

938 total views, 3 views today

Upwork Operating Systems

Mac OS X 10.5 Test 2016

Published by:

1. Which of the following filesystems can be read by Mac OS X 10.5?

Answers:

  1. NTFS
  2. UFS
  3. EXT3
  4. FAT32
  5. ZFS

2. What is the sudo command?

Answers:

  1. It does not exist
  2. It is the super user do command
  3. It is the command to schedule commands
  4. None of the above

3. The dashboard allows you to instantly access any open window with a single keystroke.

Answers:

  1. True
  2. False

4. Which of the following is the command to manipulate disk images?

Answers:

  1. diskutil
  2. mount
  3. hdiutil
  4. mkimage

5. How do you know if a transaction has been secured with SSL under Safari?

Answers:

  1. It’s not possible
  2. All internet transactions are secured
  3. Safari does not support SSL
  4. A lock appears at the top right corner of the Safari window
  5. None of the above

6. Is Mac OS X POSIX compliant?

Answers:

  1. yes
  2. no

7. What is this view called?

Answers:

  1. Movie view
  2. Cover flow
  3. Super movie
  4. Movie flow
  5. Folder switching

8. Using default settings, what is located on the left part of the dock?

Answers:

  1. Applications
  2. Documents

9. Which of the following can do calculations?

Answers:

  1. Calculator
  2. Finder
  3. Spotlight
  4. Mail

10. While viewing a document with QuickLook, can you print it?

Answers:

  1. yes
  2. no

11. Which key should be pressed while clicking to open the menu on a window title bar, as in the image?

Answers:

  1. Command
  2. Option
  3. Control
  4. Shift

12. What is the folder separator under Mac OS X 10.5?

Answers:

  1. :
  2. /
  3. _

13. Is journaling supported by HFS+?

Answers:

  1. yes
  2. no

14. How do you manage your e-mail accounts under Mac OS X 10.5?

Answers:

  1. From the system preference panes
  2. By loading the installer from the install DVD
  3. By booting on the installer DVD
  4. From Mail.app preferences
  5. None of the above

15. Where do you change the default application to open a document in the Finder?

Answers:

  1. In the Desktop’s preferences
  2. In the document’s Info window
  3. In the Finder’s preferences
  4. In the enclosing folder’s Info window
  5. None of the above

16. Is HFS+ case sensitive by default?

Answers:

  1. yes
  2. no

17. What is the command to provide information about the currently running processes?

Answers:

  1. pl
  2. ps
  3. process list
  4. proc
  5. None of the above

18. Mail can detect addresses in e-mails.

Answers:

  1. True
  2. False

19. Which of the following commands is like the activity viewer?

Answers:

  1. activity
  2. top
  3. list
  4. nice
  5. truss

20. Is IPX supported by Mac OS X?

Answers:

  1. yes
  2. no

21. Under System Preferences, can the dock be put at the top of the screen?

Answers:

  1. Yes
  2. No

22. What is the command used to move a file?

Answers:

  1. move
  2. translocate
  3. mv
  4. cp
  5. cpy

23. How does Safari indicate progress in loading a web page?

Answers:

  1. It displays the current percentage of the loaded data
  2. A blue bar fills the address field
  3. The progress bar fills
  4. It doesn’t

24. What is the command to terminate an application from the command line?

Answers:

  1. term
  2. kill
  3. stop
  4. halt
  5. shutdown

25. Can you share a printer with a Windows client?

Answers:

  1. yes
  2. no

26. What version of the Internet Explorer is included in Mac OS X 10.5?

Answers:

  1. 7.0
  2. 5.0
  3. Both of the above
  4. None of the above

27. How can you create a PDF instead of printing?

Answers:

  1. It’s not possible
  2. By exporting it from the application
  3. By using the PDF button in the print dialog
  4. None of the above

28. What is mei?

Answers:

  1. An hard disk
  2. A Windows computer on the network
  3. A MacOS X server
  4. My computer

29. Is Mac OS X IPv6 capable?

Answers:

  1. yes
  2. no

30. What is this icon?

Answers:

  1. A walking folder
  2. A public folder
  3. A movie folder
  4. My computer

31. What is Safari?

Answers:

  1. A calendar application
  2. A contact list
  3. A web browser/span<
  4. A mail client
  5. None of the above

32. Left to right, what are those buttons functions?

Answers:

  1. Minimize, Rectify, Resize
  2. Maximize, Resize, Close
  3. Close, Minimize, Maximize
  4. Close, Rectify, Resize

33. How can you open a Finder window from the command line?

Answers:

  1. With the finder command
  2. With the open command
  3. It’s not possible
  4. With the win command

34. What does this icon denotes in the image shown above?

Answers:

  1. Internet icon
  2. Preference
  3. Info icon
  4. Spotlight icon

35. Which key should you hold at boot time to boot from a CD or DVD?

Answers:

  1. t
  2. f
  3. g
  4. c
  5. d

36. How do you usually install most of the applications under MacOS X?

Answers:

  1. With an msi installer
  2. By drag and drop of the .app bundle
  3. By using activeX controls
  4. None of the above

37. How can you mount a disk image from the command line?

Answers:

  1. You cannot
  2. By using mount
  3. By using hdiutil
  4. None of the above

38. How can you know the build number (like 9D34) of your installed Mac OS X?

Answers:

  1. By booting into the open firmware
  2. It’s not possible
  3. By looking into about this mac about box
  4. By booting from the DVD
  5. None of the above

39. What is a application bundle for the UNIX system?

Answers:

  1. A link
  2. A binary file
  3. A folder
  4. A special device
  5. None of the above

40. What is the name of the Mac OS X search engine?

Answers:

  1. fastsearch
  2. live search
  3. google
  4. spotlight

41. What feature was added to Leopard to reduce desktop clutter?

Answers:

  1. The Trash
  2. Stacks
  3. Folders
  4. Spaces

42. Which of the following features was added to MacOS X 10.5 in the Mail.app application?

Answers:

  1. IMAP
  2. POP
  3. RSS
  4. HTTP mail
  5. None of the above

43. Can the finder mount WebDav shares?

Answers:

  1. yes
  2. no

44. What is the name of the tool which allows looking inside a document without opening it?

Answers:

  1. Sneak Peak
  2. Preview
  3. Quick Look
  4. Sorcerer

45. What is the command to clear the terminal?

Answers:

  1. clean
  2. empty
  3. cleanse
  4. clear

46. Can PPC Mac run Boot Camp?

Answers:

  1. yes
  2. no

47. You can access Wikipedia through the Dictionary in OS X.

Answers:

  1. True
  2. False

48. What does the Private Browsing option do in Safari?

Answers:

  1. It prevents the sending of any information to websites
  2. It is equivalent to the invisible status in instant messaging systems
  3. It makes sure that the following aren’t stored: searches, cookies, history, form information
  4. All of the above

49. Which of the following are true?

Answers:

  1. Each user on a Mac OS X system can use the system in a different language
  2. Mac OS X 10.5 can run Mac OS 9 applications under classic
  3. Mac OS X is based on a UNIX system
  4. Mac OS X natively supports the IPX protocol
  5. Mac OS X can run Microsoft office

50. What are the view options for a folder in the Dock in Leopard?

Answers:

  1. Grid
  2. List
  3. Fan
  4. Dossier
  5. Automatic

51. Where are per user preferences stored?

Answers:

  1. In /etc
  2. In /System/Library/Preferences
  3. In ~/Library/Preferences
  4. In /Preferences
  5. In each application bundle

52. What is “Phoenix” ?

Answers:

  1. A hard disk
  2. A Windows computer on the network
  3. A MacOS X server
  4. My home folder

53. Which key can be used to immediately open a spring loaded folder?

Answers:

  1. Shift
  2. Alt
  3. Spacebar
  4. Delete

54. Which of the following URI are correct?

Answers:

  1. ftp://www.mysite.com/myfolder
  2. http.//mysite.com/mypath
  3. file:///Users/john/Documents
  4. http://ftp.mysite.com/mypath
  5. None

55. Can Safari automatically enter account names and passwords?

Answers:

  1. Yes
  2. No

56. Which key on the keyboard is used to open a file using quicklook?

Answers:

  1. q
  2. enter
  3. l
  4. spacebar
  5. Any key

57. Where are an application’s preferences usually located?

Answers:

  1. On the Desktop
  2. In the System preferences
  3. In a user’s library or the system-wide library
  4. In the application’s bundle

58. In which menu is an application preferences button usually located?

Answers:

  1. In the menu with the same name as the application
  2. In the Apple menu
  3. In the Help menu
  4. All of the above

59. Which is the current equivalent of Microsoft Office made by Apple for OS X?

Answers:

  1. iOffice
  2. iWork
  3. iDocs
  4. AppleWorks

60. Cups can be configured with a web browser. On which port is the cups server listening?

Answers:

  1. 132
  2. 2546
  3. 631
  4. 548
  5. 9845

61. Which key should you hold to boot a mac in target mode?

Answers:

  1. c
  2. d
  3. p
  4. t
  5. m

62. What is the orange button in the MacOS X windows title bar?

Answers:

  1. Auto resize
  2. Minimize in the dock
  3. Open
  4. Close
  5. None of the above

63. How do you customize a toolbar?

Answers:

  1. By double clicking it
  2. By right clicking it
  3. You cannot
  4. None of the above

64. If you have only one button on your mouse, which key would you press to emulate the right button?

Answers:

  1. command
  2. option
  3. ctrl
  4. shift
  5. fn

65. Can we mount windows shares on MAC OS X?

Answers:

  1. yes
  2. no

66. What is Boot Camp?

Answers:

  1. A recruitment pamphlet
  2. A tool to run Windows natively on a Mac
  3. A booting assistant
  4. None of the above

67. What system will you use to execute a command each day at 3pm?

Answers:

  1. You cannot
  2. cron
  3. at
  4. jobs
  5. None of the above

68. Is it possible to use a Mac to share an internet connection?

Answers:

  1. yes
  2. no

69. What is the Mac OS X printing system?

Answers:

  1. an hp printing system
  2. cups
  3. a linux printing system
  4. None of the above

70. What are the possible views for items in Finder windows in Leopard?

Answers:

  1. Icons, stacks, columns and list
  2. Only icons
  3. Icons, list, columns and cover flow
  4. None of the above

71. What does ~ mean in a path?

Answers:

  1. Hard drive root
  2. Document folder
  3. Home folder
  4. Network root
  5. None of the above

72. In Mac OS X 10.5, where can you change the default paper size?

Answers:

  1. You cannot
  2. In the Print & Fax preference pane
  3. In the print dialog
  4. None of the above

73. Which of the following applications have tabs in Leopard?

Answers:

  1. Safari
  2. Terminal
  3. Mail
  4. iTunes

74. What is the default filesystem under MacOS X 10.5?

Answers:

  1. UFS
  2. EXT3
  3. ZFS
  4. HFS+
  5. NTFS

75. What happens if the target of a hardlink is deleted?

Answers:

  1. The hardlink is not valid anymore.
  2. The hardlink stays valid.

76. Does Safari 5.x support SSL versions 2 and 3 and Transport Layer Security (TLS)?

Answers:

  1. Yes
  2. No

926 total views, 3 views today