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 2 Question 14 Discussion

Posted by Gwenn on May 17, 2026 at 08:42 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
24 comments · newest first
SH
Sharika 2 days ago
C has a typo, so I’d avoid it. B is cleaner.
SH
Shonda 8 days ago
I’m leaning towards A. The entity type is crucial.
DE
Denae 13 days ago
I agree, B seems to have the right syntax.
JA
Jacquelyne 18 days ago
This question is tricky! I think option B looks solid.
CA
Caprice 23 days ago
I’m not sure about C. The entity type looks off to me.
FE
Fernanda 28 days ago
I feel like B is the safest choice. Clear and straightforward.
NI
Nikita 1 month ago
Option D is interesting, but the wildcard might be risky.
DI
Diego 1 month ago
I'm leaning towards A. The entity type matches well.
LE
Lettie 1 month ago
I agree, B seems to have the right syntax.
WI
Wilson 2 months ago
This question is tricky! I think option B looks solid.
AR
Art 2 months ago
Wait, is "D0MAIN_NAME" even a valid format? Sounds fishy.
NA
Natalya 2 months ago
Totally agree with B, it just makes sense!
LO
Lorean 2 months ago
I'm leaning towards D, but the "source type unspecified" part seems off.
DE
Desmond 2 months ago
I think A has a typo with "MDOMAlN_NAME."
JA
Jacqueline 2 months ago
Option B looks correct with "DOMAIN_NAME" and "GLOBAL_CONTEXT."
TA
Tandra 3 months ago
I agree with B, but I’m surprised about the source type in A.
MA
Marcelle 3 months ago
Wait, why is D using an asterisk? Seems off.
MA
Magdalene 3 months ago
Definitely going with B, it’s the cleanest.
JI
Jin 3 months ago
I think A has a typo, not sure it’ll work.
WI
Winifred 3 months ago
Option B looks correct to me.
CH
Chantell 4 months ago
I’m a bit confused about the source types. I remember "DERIVED_CONTEXT" being mentioned, but I can't remember if it applies here. I should have reviewed that section more thoroughly.
RO
Roxanne 4 months ago
I think I might have seen a question similar to this where the entity type was crucial. I’m leaning towards option A, but I’m not confident about the spelling in the entity type.
AR
Arthur 4 months ago
I feel like option B looks familiar from our last mock exam. It had the right entity type, but I can't recall if "GLOBAL_CONTEXT" is the correct source type.
LE
Leandro 5 months ago
I remember we discussed the importance of correctly identifying the entity type in our practice sessions. I think "DOMAIN_NAME" is the right format, but I'm not sure about the source type.
0/2000 characters

Save Cancel