exam questions

Exam 1z0-821 All Questions

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

Exam 1z0-821 topic 1 question 84 discussion

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

User brian changes the permissions for db_data this command:
chmod 4755 db_data
What is true?

  • A. db_data now has permissions rwsr-xr-x and can be deleted only by user brian.
  • B. db_data now has permissions rwsr-xr-x and, if executed, will inn with the permissions of user brian.
  • C. db_data now has permissions rwxr-sr-x and can be deleted only by members of the group owning it.
  • D. The permissions for db_data cannot be determined, because the permissions prior to the change have not been specified.
  • E. db_data must be an ordinary file, because special permissions cannot be set on a directory.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Use the chmod command to change permissions for a file or directory. You must be the owner of a file or directory, or have root access, to change its permissions.
Here we do not know if brian owns db_data.
Note:

Permission -
7 full
6 read and write
5 read and execute
4 read only
3 write and execute
2 write only
1 execute only
0 none
0 --- no permission
1 --x execute
2 -w- write
3 -wx write and execute
4 r-- read
5 r-x read and execute
6 rw- read and write
7 rwx read, write and execut
Solaris: Solaris Advanced User's Guide

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
dlicheri
6 months ago
C is wrong. The correct answer is B Sticky bit 1 - Can only be set on directory SUID 2 - Group (2755) 4 - Owner (4755) chmod 4755 file -name would result in any user, being able to run file-name as owner
upvoted 1 times
...
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago