exam questions

Exam SPLK-1002 All Questions

View all questions & answers for the SPLK-1002 exam

Exam SPLK-1002 topic 1 question 62 discussion

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

Which of the following searches would return a report of sales by product_name?

  • A. chart sales by product_name
  • B. chart sum(price) as sales by product_name
  • C. stats sum(price) as sales over product_name
  • D. timechart list(sales), values(product_name)
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Sartarus
Highly Voted 2 years, 8 months ago
C is not possible B its correcte
upvoted 22 times
gcalcaterra
2 years, 5 months ago
Correct, B is the answer. "over" and "by" can be used with chart, only "by" can be used with stats, so C doesn't work. https://docs.splunk.com/Documentation/Splunk/8.1.0/SearchReference/Chart https://docs.splunk.com/Documentation/Splunk/8.1.0/SearchReference/Stats
upvoted 14 times
...
...
Nourane
Highly Voted 2 years, 1 month ago
B is correct
upvoted 9 times
...
ymb
Most Recent 9 months, 1 week ago
C would result in an error
upvoted 2 times
...
monk85
9 months, 3 weeks ago
Selected Answer: B
only B is correct
upvoted 2 times
...
marda
1 year, 3 months ago
Selected Answer: B
B - P50 Also, as stated before "by" or no clause can be used with stats so C is out.
upvoted 4 times
...
jakal12345
1 year, 11 months ago
Correct Answer is A. The option B , treats sum(price) as number of sales .... BUT sum(price) of a product is NEVER the amount of sales ? sales means the number of products sold and it'll be a different field altogether.
upvoted 2 times
jakal12345
1 year, 11 months ago
Though the above interpretation holds true , I realized that the answer will be B , only , as a chart command must make use of a function , and that happens only in the option B. Please correct me If i'm wrong Thanks
upvoted 4 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago