exam questions

Exam 1z0-100 All Questions

View all questions & answers for the 1z0-100 exam

Exam 1z0-100 topic 1 question 29 discussion

Actual exam question from Oracle's 1z0-100
Question #: 29
Topic #: 1
[All 1z0-100 Questions]

Examine the commands used by root to create the chrooted environments in the /jail directory:
# mkdir /jail/bin/jail/lib64
# cp /bin/bash/jail/bin
linux-vdso.so.1 => (0x00007fff68dff000)
libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00000033e00000)
lid1.so.2 => /lib64/libc.so.6 (0x00000033e1600000)
/lib64/id-linix-86-64.so.2 (0x00000033e0e00000)
# cp /lib64/libtinfo.so.5/jail/lib64
# cp /lib64/libd1.so.6 /jail/lib64
# cp /lib64/libc.so.6 /jail/lib64
# cp /lib64/id-linux-x86-64.so.2 /jail/lib64
The user root then issues this command:
# chroot /jail
What is the output from the cd, pwd, and 1s commands?

  • A. bash-4.1# cdbash-4.1# pwd/rootbash-4.1# 1sbash" 1s: command not found
  • B. bash-4.1# cdbash: cd: /root: No such file or directory bash-4.1# pwd/bash-4.1 # 1sbash: 1s: command not found
  • C. bash-4.1# cdbash: cd: command not foundbash: pwd: command not foundbash-4.1# 1s
  • D. bash: 1s; # cdbash: cd: /root: unable to access chrooted file or directory /rootbash-4.1# pwd/bash-4.1 # 1sbin lib64
  • E. bash-4.1# cdbash: cd: /root: No such file or directory bash-4.1# pwd/bash-4.1# 1sbin lib64
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Currently there are no comments in this discussion, be the first to comment!
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...