Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Security Operations Engineer Exam - Topic 4 Question 5 Discussion

Posted by Tasia on Nov 24, 2025 at 10:03 AM

You are implementing Google Security Operations (SecOps) for your organization. Your organization has their own threat intelligence feed that has been ingested to Google SecOps by using a native integration with a Malware Information Sharing Platform (MISP). You are working on the following detection rule to leverage the command and control (C2) indicators that were ingested into the entity graph.

What code should you add in the detection rule to filter for the domain IOCS?

Suggested Answer: B

This YARA-L rule is designed to correlate a real-time event (a DNS query, $dns) with known-bad indicators stored in the Google SecOps entity graph ($ioc). The code must correctly filter the entity graph to find the specific indicators from the custom MISP feed.

Two filters are required:

$ioc.graph.metadata.entity_type = 'DOMAIN_NAME': This line is essential to filter the entity graph for IoCs that are domains. The rule is trying to match a DNS query ($dns_query) to a known C2 domain, so the entity type must be DOMAIN_NAME.

$ioc.graph.metadata.source_type = 'ENTITY_CONTEXT': This is the key differentiator. The Google SecOps entity graph has multiple context sources. GLOBAL_CONTEXT (Option B) is for threat intelligence provided by Google (e.g., Google Threat Intelligence, Mandiant). DERIVED_CONTEXT (Option C) is for context inferred from UDM events. The prompt explicitly states the IoC feed is the organization's own 'threat intelligence feed... ingested... with... MISP.' This type of customer-provided, third-party intelligence is classified as ENTITY_CONTEXT. Adding this line ensures the rule only uses the custom MISP feed for its IoC data, as intended.

The other lines in the $ioc block, such as product_name = 'MISP', further refine this ENTITY_CONTEXT search.

(Reference: Google Cloud documentation, 'YARA-L 2.0 language syntax'; 'Context-aware detections with entity graph'; 'Populate the entity graph')


Get Premium Professional Security Operations Engineer Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
30 comments · newest first
EM
Emily 6 months ago
B is definitely the best choice. It aligns with our threat feed.
FR
Francine 6 months ago
D is confusing. Why use "source type unspecified"?
JE
Jenelle 7 months ago
I like B too. "GLOBAL_CONTEXT" makes sense for our setup.
AN
Anthony 7 months ago
Option A seems off. Typo in "MDOMAlN_NAME" is a red flag.
RO
Rosalind 7 months ago
Agreed! "DOMAIN_NAME" is the right format.
RO
Rosendo 7 months ago
I’m not convinced about C, the entity type looks wrong.
JA
Jamie 7 months ago
I think A has a typo, not sure it’ll work.
TR
Tracie 8 months ago
Option B looks correct for filtering domain IOCs.
RE
Ressie 8 months ago
B is the way to go. Can't go wrong with the "GLOBAL_CONTEXT" source type.
MI
Mirta 8 months ago
Haha, "source type unspecified" - that's a good one!
KA
Katie 8 months ago
I'm going with B as well. Looks like the proper syntax for the detection rule.
AI
Aide 9 months ago
Option B seems to be the right answer.
ER
Eric 9 months ago
I’m leaning towards option A, but I’m uncertain about the source type. Was it "GLOBAL_CONTEXT" or something else?
KA
Kathryn 9 months ago
I feel like "D0MAIN_NAME" in option C is a typo, but I can't recall if that would affect the rule's functionality.
NI
Nicolette 9 months ago
I think option B looks familiar; it seems to match the format we practiced with similar questions about filtering IOCs.
DO
Dominga 9 months ago
I remember we discussed the importance of using the correct entity type for domains, but I'm not sure if "DOMAIN_NAME" is case-sensitive in this context.
RE
Reita 9 months ago
Alright, I'm feeling confident about this one. I'll go with option B since it looks like the correct combination of entity_type and source_type for filtering domain IOCs.
RE
Renay 10 months ago
I think I've got a good handle on this. The key is to look for the "DOMAIN_NAME" entity_type and the appropriate source_type. I'll double-check the options carefully.
JO
Josue 10 months ago
I'm a bit confused by the different source_type options. I'll need to make sure I understand the differences between "GLOBAL_CONTEXT", "DERIVED_CONTEXT", and "source type unspecified".
QU
Queen 10 months ago
B) looks correct to me.
SA
Sabra 10 months ago
I think option B looks solid. Clear and straightforward.
AD
Adelina 11 months ago
Definitely going with B, it’s the cleanest option!
AN
Angelo 11 months ago
Wait, why is D using an asterisk? Seems off.
LE
Leonora 11 months ago
Okay, let me see here. The question is asking about filtering for domain IOCs, so I'll need to look for the right entity_type and source_type values.
CA
Carol 11 months ago
Hmm, this looks like a tricky one. I'll need to carefully read through the options and think about the differences in the source_type values.
FL
Flo 6 months ago
↳ replying to Carol
I’m still stuck between B and D.
MA
Maybelle 6 months ago
↳ replying to Carol
I like option D for its wildcard approach.
ME
Merrilee 6 months ago
↳ replying to Carol
Option A seems off with that typo.
BE
Bernadine 6 months ago
↳ replying to Carol
Right? I’m leaning towards option B.
TH
Thora 10 months ago
↳ replying to Carol
I agree, the source_type values are key here.
0/2000 characters

Save Cancel