Splunk Certified Cybersecurity Defense Analyst SPLK-5001 Question # 3 Topic 1 Discussion

Splunk Certified Cybersecurity Defense Analyst SPLK-5001 Question # 3 Topic 1 Discussion

SPLK-5001 Exam Topic 1 Question 3 Discussion:
Question #: 3
Topic #: 1

While testing the dynamic removal of credit card numbers, an analyst lands on using therexcommand. What mode needs to be set to in order to replace the defined values with X?

| makeresults

| eval ccnumber="511388720478619733"

| rex field=ccnumber mode=???"s/(\d{4}-){3)/XXXX-XXXX-XXXX-/g"

Please assume that the aboverexcommand is correctly written.


A.

sed


B.

replace


C.

mask


D.

substitute


Get Premium SPLK-5001 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.