1Z0-820 · Question #2
Consider the following rule file for use with the Basic Audit Reporting Tool (BART). CHECK all IGNORE dirmtime /etc/security /etc/notices IGNORE contents /export/home IGNORE mtime size contents /var…
The correct answer is A. /var/dhcp Attribute: size uid gid mode acl D. /etc/security/exec_attr Attribute: size uid mode acl mtime devnode. Looking at the BART rule file, I'll trace through the directives to explain each choice. Why A and D are correct: The rule IGNORE dirmtime /etc/security only strips the directory-modification-time attribute from /etc/security paths, leaving all other "all" attributes intact…
Question
Consider the following rule file for use with the Basic Audit Reporting Tool (BART). CHECK all IGNORE dirmtime /etc/security /etc/notices IGNORE contents /export/home IGNORE mtime size contents /var CHECK You are using BART to detect inappropriate changes to the file system. Identify the two correct statements describing the attributes recorded.
Options
- A/var/dhcp Attribute: size uid gid mode acl
- B/etc/hosts Attributes: size uid gid mode acl intime dest
- C/var/spool/mqueue Attribute: size uid gid mode acl dirmtime
- D/etc/security/exec_attr Attribute: size uid mode acl mtime devnode
- E/export/home/kate/.profile Attributes: uid gid mode acl dirmtime
- F/export/home/rick/.profile Attributes: size uid gid mode acl mtime contents
How the community answered
(64 responses)- A64% (41)
- B9% (6)
- C2% (1)
- E20% (13)
- F5% (3)
Explanation
Looking at the BART rule file, I'll trace through the directives to explain each choice.
Why A and D are correct: The rule IGNORE dirmtime /etc/security only strips the directory-modification-time attribute from /etc/security paths, leaving all other "all" attributes intact. /etc/security/exec_attr is a device file, so D correctly lists its applicable attributes (including devnode) without dirmtime. /var/dhcp at that path receives standard file attributes - size, uid, gid, mode, acl - consistent with no rule specifically overriding those attributes for that entry.
Why the distractors fail:
- B includes
dest(a symlink-specific attribute) andintimefor/etc/hosts, which is a regular file - neither attribute applies. - C lists
sizefor/var/spool/mqueue, butIGNORE mtime size contents /varexplicitly removessizefrom all /var paths;sizemust not appear. - E includes
dirmtimefor/export/home/kate/.profile, which is a regular file -dirmtimeis a directory-only attribute and cannot apply here. - F lists
contentsfor/export/home/rick/.profile, butIGNORE contents /export/homeexplicitly removes that attribute from all /export/home paths.
Memory tip: Think "IGNORE = subtract." For each path in a choice, scan the rule file for any matching IGNORE entry and cross out those attributes. If the option still lists a removed attribute (F lists contents, C lists size), it's wrong. If it lists a type-mismatched attribute (E uses dirmtime on a file, B uses dest on a non-symlink), it's also wrong.
Topics
Community Discussion
No community discussion yet for this question.