nerdexam
EC-Council

312-50V13 · Question #28

Which results will be returned with the following Google search query? site:target.com ­ site:Marketing.target.com accounting

The correct answer is D. Results matching "accounting" in domain target.com but not on the site Marketing.target.com. This Google search query combines an inclusion operator for a domain with an exclusion operator for a subdomain, along with a keyword.

Submitted by the_admin· Mar 6, 2026Footprinting and Reconnaissance

Question

Which results will be returned with the following Google search query? site:target.com ­ site:Marketing.target.com accounting

Options

  • AResults from matches on the site marketing.target.com that are in the domain target.com but do
  • BResults matching all words in the query.
  • CResults for matches on target.com and Marketing.target.com that include the word "accounting"
  • DResults matching "accounting" in domain target.com but not on the site Marketing.target.com

How the community answered

(51 responses)
  • A
    2% (1)
  • B
    6% (3)
  • C
    2% (1)
  • D
    90% (46)

Why each option

This Google search query combines an inclusion operator for a domain with an exclusion operator for a subdomain, along with a keyword.

AResults from matches on the site marketing.target.com that are in the domain target.com but do

The `-site:` operator *excludes* results from the specified site, it does not include them.

BResults matching all words in the query.

While it matches all words, this choice does not accurately describe the domain inclusion and exclusion specified by the `site:` and `-site:` operators.

CResults for matches on target.com and Marketing.target.com that include the word "accounting"

The `-site:Marketing.target.com` operator explicitly excludes results from that subdomain, so they would not be included in the search results.

DResults matching "accounting" in domain target.com but not on the site Marketing.target.comCorrect

The `site:target.com` operator limits the search results to the `target.com` domain. The `-site:Marketing.target.com` operator specifically excludes any results from the `Marketing.target.com` subdomain, ensuring that only results from `target.com` that are not part of `Marketing.target.com` are returned, matching the keyword 'accounting'.

Concept tested: Google advanced search operators

Source: https://support.google.com/websearch/answer/134479?hl=en

Topics

#Google Dorking#OSINT#information gathering

Community Discussion

No community discussion yet for this question.

Full 312-50V13 Practice