SPLK-1003 Exam QuestionsBrowse all questions from this exam

SPLK-1003 Exam - Question 80


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?

Show Answer
Correct Answer: D

To mask Social Security Numbers (SSNs) in log events, the configuration must be done using the transforms.conf file with a REGEX pattern to identify SSNs and the FORMAT parameter to mask them. The DEST_KEY parameter specifies the field where the masked data will be placed, which is _raw in this case. The transforms.conf file is specifically meant for defining transformations and masking rules, making it the correct choice for this operation.

Discussion

15 comments
Sign in to comment
ugo1Option: D
Nov 10, 2020

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

Racgud
Nov 26, 2020

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

Racgud
Nov 26, 2020

looks like both are correct, the same sentence can be found in: https://docs.splunk.com/Documentation/Splunk/8.1.0/Admin/Transformsconf

Splunkv
Apr 19, 2021

Correct Answer is D. DEST_KEY is not a attribute in props.conf spec

lollo1234
Mar 18, 2021

No, props.conf doesn't have a REGEX config-parameter, transforms.conf does.

Hamiltonian
Jun 23, 2021

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.

TeeCeePOption: D
Dec 30, 2020

D slide 242 in data admin

hwanghoOption: D
Dec 30, 2020

Answer is D. Please check "Using Transforms" from Data Administration training Doc. -define the transformation in transforms.conf -invoke the transformation from props.conf

lilsemOption: D
Aug 31, 2021

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.

ckmunichOption: D
Aug 9, 2021

Answer is D: Configure the transforms.conf file The Splunk platform uses the transforms.conf file to perform the transformation of the data

Mando22Option: D
Sep 29, 2022

Correct Answer: D

afrobenOption: B
Dec 10, 2020

Props.conf specifies the transforms to use to anonymize your data. Correct answer is B.

MariuszSem
Aug 1, 2021

The correct answer is D

gsplunkerOption: D
Feb 12, 2021

Ans is D

AngusBlackOption: D
Jun 30, 2021

D is the least wrong answer. All of the REGEXs are wrong.

Hudda
Jul 7, 2021

Friends, many views on this question, could you please confirm the final answer?

splunkkidOption: D
Jul 1, 2022

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.

alejohuOption: D
Aug 16, 2022

Ans is D

emlchOption: B
Sep 5, 2022

props.conf invokes transforms.conf

kolaturkaOption: D
Apr 5, 2023

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

Mntman77Option: D
Jul 3, 2023

"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.