Exam SPLK-1003 All QuestionsBrowse all questions from this 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?

    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
ugo1Option: D

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

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

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

Splunkv

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

lollo1234

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

Hamiltonian

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

D slide 242 in data admin

hwanghoOption: D

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

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.

Mando22Option: D

Correct Answer: D

ckmunichOption: D

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

Mntman77Option: D

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

kolaturkaOption: D

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

emlchOption: B

props.conf invokes transforms.conf

alejohuOption: D

Ans is D

splunkkidOption: 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.

Hudda

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

AngusBlackOption: D

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

gsplunkerOption: D

Ans is D

afrobenOption: B

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

MariuszSem

The correct answer is D