Courseiva
Advanced Visualization and LookupsmediumMultiple ChoiceObjective-mapped

SPLK-1002 Advanced Visualization and Lookups Practice Question

A lookup table maps combinations of 'source_ip' and 'dest_port' to a 'policy' field. The lookup is defined in transforms.conf with a max_match of 1. Which lookup command syntax will correctly perform the lookup?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

lookup policy_lookup source_ip dest_port OUTPUT policy

The lookup command takes a space-separated list of event fields to match against lookup fields in order.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • lookup policy_lookup source_ip dest_port

    Why it's wrong here

    Missing OUTPUT clause; output fields must be specified.

  • lookup policy_lookup (source_ip, dest_port) OUTPUT policy

    Why it's wrong here

    Parentheses are not supported.

  • lookup policy_lookup source_ip dest_port OUTPUT policy

    Why this is correct

    This syntax correctly maps event fields to lookup fields.

  • lookup policy_lookup source_ip, dest_port OUTPUT policy

    Why it's wrong here

    Comma separation is invalid; fields must be space-separated.

About these practice questions

This SPLK-1002 question is part of Courseiva's 475-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SPLK-1002 practice question is part of Courseiva's free Splunk certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SPLK-1002 exam.