Courseiva

CCNA Field Management And Calculated Fields Questions

32 questions · Field Management And Calculated Fields topic · All types, answers revealed

1
MCQhard

When creating a calculated field, what does the 'EVAL-' prefix in props.conf indicate?

A.It identifies a field for a lookup table.
B.It marks the field as a source for an alias.
C.It forces the field to be indexed.
D.It indicates a calculated field definition.
AnswerD

EVAL- is the required syntax for calculated fields in props.conf.

Why this answer

The 'EVAL-' prefix tells Splunk that the following expression should be evaluated as a calculated field.

2
MCQeasy

Which of the following is a requirement for using a CSV lookup?

A.A lookup definition must exist for the CSV file.
B.The CSV must be indexed into the _internal index.
C.The CSV must be placed in the /etc/indexes directory.
D.The CSV needs to be converted to JSON.
AnswerA

A definition is required to associate the file with a name for search-time use.

Why this answer

A lookup definition must be created that points to the CSV file uploaded to Splunk.

3
Multi-Selectmedium

Which TWO of the following are steps required to configure a CSV lookup?

Select 2 answers
A.Upload the CSV file.
B.Modify the raw data to include the CSV headers.
C.Create a lookup definition.
D.Restart the Splunk indexer.
E.Add the CSV to the license manager.
AnswersA, C

The file must be available in Splunk.

Why this answer

Uploading the file and defining the lookup object are the two fundamental steps.

4
MCQmedium

What is the purpose of the 'tags.conf' file?

A.It defines the search string for an event type.
B.It manages lookup table file paths.
C.It stores user-defined tags.
D.It configures the web interface dashboard colors.
AnswerC

tags.conf is the configuration file for tag mappings.

Why this answer

It stores the associations between tags and field-value pairs.

5
MCQhard

Which configuration file would you modify to assign a tag to a field-value pair manually?

A.props.conf
B.tags.conf
C.eventtypes.conf
D.transforms.conf
AnswerB

tags.conf is the correct location for tag definitions.

Why this answer

tags.conf is the configuration file where manual tag assignments are stored.

6
Multi-Selecteasy

Which TWO of the following are true about Tags?

Select 2 answers
A.Tags can only be created by the admin user.
B.Tags can be applied to event types.
C.Tags can be applied to field-value pairs.
D.Tags are case-sensitive.
E.Tags must be defined in indexes.conf.
AnswersB, C

This is a key way to organize data.

Why this answer

Tags can be applied to field-value pairs and event types, and they are case-insensitive.

7
MCQhard

You defined a lookup that is not working. You verified the CSV exists and the app permissions are correct. What search-time troubleshooting step should you perform?

A.Verify the lookup is applied to the correct sourcetype in props.conf.
B.Check the indexer logs for 'lookup_failure'.
C.Rebuild the tsidx files.
D.Run a search with 'metadata' command.
AnswerA

If the lookup isn't linked to the sourcetype, it will not trigger.

Why this answer

Checking the 'sourcetype' settings in props.conf is crucial to ensure the lookup is actually applied to the data.

8
Multi-Selecteasy

Which THREE of the following are valid ways to search for a tag named 'production'?

Select 3 answers
A.tag::production
B.tag=*
C.tag=production
D.tag::*=production
E.field=production
AnswersA, B, C

This is the primary syntax for tag searching.

Why this answer

You can use the tag:: prefix, search for the specific tag field, or use the UI to filter.

9
MCQhard

You want to create a lookup that updates automatically as new data arrives. Which feature should you use?

A.KV Store lookup.
B.Field alias.
C.Calculated field.
D.CSV file lookup.
AnswerA

KV store allows for read/write operations via the outputlookup command.

Why this answer

A KV store lookup allows for dynamic updates, unlike a static CSV lookup.

10
MCQhard

When configuring a field alias in props.conf, which of the following is true?

A.The alias appears in the 'interesting fields' list.
B.The alias name must be identical to the original field name.
C.The alias is applied before field extraction.
D.The alias must reference an external CSV.
AnswerA

Aliases are treated as fields and appear in the field picker.

Why this answer

Aliases are applied at search time and respect the order of operations, occurring after extractions.

11
MCQmedium

What is the result of applying multiple aliases to the same field?

A.The original field name is deleted.
B.The search will fail due to a conflict.
C.Only the first alias takes effect.
D.The field will have multiple valid names in the search.
AnswerD

Aliases provide multiple names that point to the same underlying value.

Why this answer

Splunk allows multiple aliases for the same field; all will result in the field being populated with the value.

12
Multi-Selecthard

Which THREE of the following are common issues that cause a lookup to fail?

Select 3 answers
A.Incorrect object permissions.
B.Case-sensitivity mismatch between search and lookup.
C.The lookup file is not uploaded.
D.The user is not an admin.
E.The index is full.
AnswersA, B, C

If the lookup isn't shared, it won't be visible to the user.

Why this answer

Missing permissions, incorrect case matching, and missing lookup files are all common failure points.

13
MCQhard

What is the effect of the 'overwrite' setting in a lookup configuration?

A.It deletes the original raw data.
B.It forces the lookup to run at index time.
C.It forces the lookup to run only for admins.
D.It replaces the existing field value with the lookup result.
AnswerD

Overwrite allows the lookup value to take precedence over the extracted value.

Why this answer

If overwrite is enabled, the lookup will replace existing fields in the event if the lookup fields have the same name.

14
Multi-Selecthard

Which THREE of the following items are configured in props.conf?

Select 3 answers
A.Index retention policy.
B.Search head distribution.
C.Field alias.
D.Automatic lookups.
E.Field extraction.
AnswersC, D, E

Aliases are defined here.

Why this answer

props.conf is the central hub for search-time configuration, including extractions, aliases, and lookups.

15
MCQeasy

What is the primary benefit of creating an Event Type?

A.To increase indexing performance.
B.To automate the ingestion of new data.
C.To hide events from unauthorized users.
D.To easily identify and group specific sets of events.
AnswerD

Grouping is the core purpose of event types.

Why this answer

Event types allow you to label a group of events based on a search, making them easier to identify in results.

16
MCQeasy

How can you view all existing field aliases in the Splunk Web interface?

A.Settings > Data inputs.
B.Settings > Fields > Field aliases.
C.Settings > Lookups.
D.Settings > Indexes.
AnswerB

This menu allows you to view and edit all field aliases.

Why this answer

Settings > Fields > Field aliases is the path to manage all aliases.

17
MCQeasy

You need to create a persistent field mapping that allows users to search for 'user_id' instead of 'uid' without modifying the underlying raw data. Which feature should you use?

A.Lookups
B.Field Extractions
C.Calculated Fields
D.Field Aliases
AnswerD

Field aliases are specifically designed to map one field name to another.

Why this answer

Field aliases provide a way to map a single field name to another, allowing for consistent naming across searches.

18
MCQmedium

You want to create a calculated field that multiplies 'price' by 'tax_rate'. Why should you avoid using a field alias for this?

A.Calculated fields are faster.
B.Field aliases do not support mathematical operators.
C.Calculated fields are more secure.
D.Aliases are deprecated.
AnswerB

Aliases only map one field to another; they do not perform arithmetic.

Why this answer

Calculated fields are used for dynamic evaluation, whereas aliases only map names.

19
Multi-Selecthard

Which THREE of the following are standard configuration files for field management?

Select 3 answers
A.indexes.conf
B.transforms.conf
C.fields.conf
D.inputs.conf
E.props.conf
AnswersB, C, E

Used for complex extractions and lookups.

Why this answer

props.conf, transforms.conf, and fields.conf are all critical for defining field behavior.

20
Multi-Selectmedium

Which THREE of the following are benefits of using calculated fields?

Select 3 answers
A.They allow for complex string manipulations.
B.They are stored as raw data.
C.They automatically increase index speed.
D.They replace the need for index-time extractions.
E.They perform math on extracted fields.
AnswersA, D, E

EVAL allows powerful string operations.

Why this answer

They enable mathematical operations, conditional logic, and string manipulations at search time.

21
Multi-Selectmedium

Which TWO of the following are valid lookup types?

Select 2 answers
A.KV Store lookup.
B.Raw log lookup.
C.CSV lookup.
D.SQL lookup.
E.TXT file lookup.
AnswersA, C

KV store is a powerful, native, searchable database.

Why this answer

CSV lookups and KV Store lookups are two of the most common types in Splunk.

22
MCQeasy

Where can you define an event type?

A.In the indexer's inputs.conf file.
B.In the user's .bashrc file.
C.In the Settings > Event types menu.
D.Directly in the search head's license file.
AnswerC

This is the standard UI path for creating event types.

Why this answer

Event types can be created via the Settings > Event types menu or by editing eventtypes.conf.

23
MCQeasy

Which of the following is true about field extractions?

A.They are only available for the 'admin' role.
B.They use regular expressions to parse data.
C.They must be defined at index time.
D.They only work on JSON data.
AnswerB

Regex is the primary tool for custom extractions.

Why this answer

Field extractions can be defined using regular expressions, which extract data from raw events.

24
Multi-Selecthard

Which THREE of the following are true regarding the order of operations for search-time field extractions?

Select 3 answers
A.Lookups happen before field extraction.
B.Tags are applied after all other field operations.
C.Calculated fields are applied after field aliases.
D.Field aliases happen before field extraction.
E.Field extraction happens before field aliases.
AnswersB, C, E

Correct, tags are a final layer of enrichment.

Why this answer

Field extraction, field aliases, and calculated fields happen in a specific sequence (extraction first, then aliases, then calculations).

25
MCQmedium

A user complains that a calculated field is not showing up. Which of the following is the best first step to troubleshoot?

A.Restart the Splunk service.
B.Check if the field is in the 'Selected Fields' or 'Interesting Fields' list.
C.Change the indexer's cluster master.
D.Delete the index and re-ingest the data.
AnswerB

If it's not listed, it hasn't been extracted or calculated.

Why this answer

Checking the 'Selected Fields' list in the search results is the best way to see if the field is present and extracted.

26
MCQmedium

You have a calculated field that performs a complex regex extraction and math calculation. When a user searches, the calculation is not appearing. What is the most likely cause?

A.The underlying extracted fields are not indexed.
B.The source fields required for the calculation are not extracted.
C.The lookup table is not defined.
D.The user lacks the 'can_run_calculated_fields' capability.
AnswerB

Calculated fields cannot evaluate if the input fields are missing.

Why this answer

Calculated fields require the source fields to be present in the event data before the calculation can be evaluated during search time.

27
Multi-Selecteasy

Which TWO of the following are valid ways to create field extractions?

Select 2 answers
A.Editing indexes.conf.
B.Using the Field Extractor UI tool.
C.Modifying the raw log files on the disk.
D.Using the 'index' command in the search bar.
E.Editing props.conf and transforms.conf.
AnswersB, E

The UI provides an interactive way to generate regex.

Why this answer

The Field Extractor (UI) and editing props.conf/transforms.conf are the two standard ways.

28
MCQhard

You are configuring a field lookup that needs to execute automatically for every search on a specific sourcetype. Where is the most appropriate place to configure this?

A.props.conf
B.indexes.conf
C.lookups.conf
D.transforms.conf
E.savedsearches.conf
AnswerA

props.conf is where the lookup definition is applied to the data stream.

Why this answer

Automatic lookups are defined in props.conf or via the 'Automatic lookups' menu in Manager, mapping the lookup table to a specific sourcetype.

29
MCQeasy

Which of the following best describes the difference between an event type and a tag?

A.Event types group events by search criteria, while tags label field values.
B.Event types are only for reports, while tags are for dashboard panels.
C.Event types only work in the search bar.
D.Tags are faster than event types for searching.
AnswerA

Event types are saved searches; tags are labels for field-value pairs.

Why this answer

Event types group events based on search strings, while tags are simple key-value pairs used to label events.

30
MCQmedium

You have a field 'status' that contains numerical codes. You want to create a field 'status_desc' that maps these codes to human-readable text. What is the recommended tool?

A.Calculated Field
B.Event Type
C.Field Lookup
D.Field Alias
AnswerC

Lookups are designed for data enrichment based on key values.

Why this answer

A lookup table is the standard way to map a key (status) to a value (status_desc).

31
MCQmedium

You have a field 'ip_address' and want to tag it with 'internal' for specific subnets. What is the most efficient way to manage this?

A.Manually tag every IP event one by one.
B.Write a search that updates the raw data.
C.Create an event type for the subnet, then tag the event type.
D.Use a calculated field to add the tag.
AnswerC

This is the standard approach for grouping and tagging at scale.

Why this answer

Event types can be used to label the subnets, and then tags can be applied to those event types.

32
MCQmedium

When using the 'inputfields' parameter in a lookup definition, what happens?

A.It maps search-time fields to lookup table columns.
B.It restricts the output fields to only those specified.
C.It hides the lookup results from unauthorized users.
D.It automatically indexes the lookup data.
AnswerA

Inputfields define the key mapping for the lookup request.

Why this answer

The inputfields parameter defines which fields in your search results should map to the fields in the lookup table.

Ready to test yourself?

Try a timed practice session using only Field Management And Calculated Fields questions.