exam questions

Exam SPLK-1003 All Questions

View all questions & answers for the SPLK-1003 exam

Exam SPLK-1003 topic 1 question 80 discussion

Actual exam question from Splunk's SPLK-1003
Question #: 80
Topic #: 1
[All SPLK-1003 Questions]

Social Security Numbers (PII) data is found in log events, which is against company policy. SSN format is as follows: 123-44-5678.
Which configuration file and stanza pair will mask possible SSNs in the log events?

  • A. props.conf [mask-SSN] REX = (?ms)^(.)\<[SSN>\d{3}-?\d{2}-?(\d{4}.*)$" FORMAT = $1<SSN>###-##-$2 KEY = _raw
  • B. props.conf [mask-SSN] REGEX = (?ms)^(.)\<[SSN>\d{3}-?\d{2}-?(\d{4}.*)$" FORMAT = $1<SSN>###-##-$2 DEST_KEY = _raw
  • C. transforms.conf [mask-SSN] REX = (?ms)^(.)\<[SSN>\d{3}-?\d{2}-?(\d{4}.*)$" FORMAT = $1<SSN>###-##-$2 DEST_KEY = _raw
  • D. transforms.conf [mask-SSN] REGEX = (?ms)^(.)\<[SSN>\d{3}-?\d{2}-?(\d{4}.*)$" FORMAT = $1<SSN>###-##-$2 DEST_KEY = _raw
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
ugo1
Highly Voted 4 years, 7 months ago
The Ans is D because transforms.conf is the right configuration file to state the regex expression. https://docs.splunk.com/Documentation/Splunk/8.1.0/Admin/Transformsconf
upvoted 23 times
Racgud
4 years, 6 months ago
Wrong - B is correct "Props.conf is commonly used for: Anonymizing certain types of sensitive incoming data, such as credit card or social security numbers, using sed scripts." src: https://docs.splunk.com/Documentation/Splunk/8.1.0/Admin/Propsconf
upvoted 2 times
Racgud
4 years, 6 months ago
looks like both are correct, the same sentence can be found in: https://docs.splunk.com/Documentation/Splunk/8.1.0/Admin/Transformsconf
upvoted 1 times
Splunkv
4 years, 1 month ago
Correct Answer is D. DEST_KEY is not a attribute in props.conf spec
upvoted 6 times
...
...
lollo1234
4 years, 2 months ago
No, props.conf doesn't have a REGEX config-parameter, transforms.conf does.
upvoted 3 times
...
Hamiltonian
3 years, 11 months ago
Hense the phrase "sed scripts". SEDCMDs are not being used in any of the answers. Thus, the answer is dealing with TRANSFORMS. TRANSFORMS are invoked by the props.conf file, but the transformations, i.e., REGEX, FORMAT, etc are specified in the transforms.conf.
upvoted 3 times
...
...
...
TeeCeeP
Highly Voted 4 years, 5 months ago
D slide 242 in data admin
upvoted 9 times
...
chkie
Most Recent 1 week, 2 days ago
Selected Answer: D
D seems legit
upvoted 1 times
...
65aab2c
8 months ago
The answer is D. Per the data Admin class: Props would send to the Transform Conf. where it would apply the masking rule.
upvoted 1 times
...
Mntman77
1 year, 11 months ago
"D" is correct... see ref: https://bluefletch.com/the-magic-of-splunk-how-to-throw-away-data/#:~:text=DEST_KEY%20%3D%20queue%20FORMAT%20%3D%20nullQueue%20Notice%20the,it%20to%20the%20indexer%29%20or%20%E2%80%98nullQueue%E2%80%99%20%28ignore%20it%29.
upvoted 1 times
...
kolaturka
2 years, 2 months ago
The correct answer is D. The transforms.conf file is used to define field extractions and data masking rules. In this case, we want to mask Social Security Numbers (SSN) found in log events. We can achieve this using a regular expression and the FORMAT parameter to replace the SSN with a masked value. The DEST_KEY parameter is used to specify the destination field for the masked data. Here is an explanation of the stanza: [mask-SSN] REGEX = (?ms)^(.)\<[SSN>\d{3}-?\d{2}-?(\d{4}.*)$" FORMAT = $1<SSN>###-##-$2 DEST_KEY = _raw
upvoted 2 times
...
Mando22
2 years, 8 months ago
Correct Answer: D
upvoted 2 times
...
emlch
2 years, 9 months ago
props.conf invokes transforms.conf
upvoted 1 times
...
alejohu
2 years, 10 months ago
Selected Answer: D
Ans is D
upvoted 1 times
...
splunkkid
2 years, 11 months ago
Selected Answer: D
Ans: D A & B is definitely incorrect as format & dest_key are not attributes under props.conf, C is incorrect as the attribute should be REGEX instead of REX.
upvoted 1 times
...
lilsem
3 years, 9 months ago
The confusion comes from the fact, that without props.conf, transform.conf won't work, as you have to reference the "options" from the latter in the props.conf file; but the configurations we see in the answers, are proper to transforms.conf file, and REGEX attribute is to be used in this file, not REX, so that leads us to the D answer.
upvoted 3 times
...
ckmunich
3 years, 10 months ago
Answer is D: Configure the transforms.conf file The Splunk platform uses the transforms.conf file to perform the transformation of the data
upvoted 2 times
...
Hudda
3 years, 11 months ago
Friends, many views on this question, could you please confirm the final answer?
upvoted 1 times
...
AngusBlack
3 years, 11 months ago
D is the least wrong answer. All of the REGEXs are wrong.
upvoted 1 times
...
gsplunker
4 years, 4 months ago
Ans is D
upvoted 1 times
...
hwangho
4 years, 5 months ago
Answer is D. Please check "Using Transforms" from Data Administration training Doc. -define the transformation in transforms.conf -invoke the transformation from props.conf
upvoted 4 times
...
afroben
4 years, 6 months ago
Props.conf specifies the transforms to use to anonymize your data. Correct answer is B.
upvoted 1 times
MariuszSem
3 years, 10 months ago
The correct answer is D
upvoted 3 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 ...