nerdexam
EC-Council

312-50V9 · Question #437

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

The correct answer is B. Results matching "accounting" in domain target.com but not on the site Marketing.target.com. The Google 'site:' operator restricts results to a domain, '-site:' excludes a subdomain, and a plain keyword further filters matching pages.

Footprinting and Reconnaissance

Question

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

Options

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

How the community answered

(30 responses)
  • A
    3% (1)
  • B
    90% (27)
  • D
    7% (2)

Why each option

The Google 'site:' operator restricts results to a domain, '-site:' excludes a subdomain, and a plain keyword further filters matching pages.

AResults matching all words in the query

The site: and -site: operators are domain filters rather than keyword matches, so results are not simply pages that match all words in the query string.

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

The 'site:target.com' operator restricts results to the target.com domain, while '-site:Marketing.target.com' explicitly excludes that subdomain from those results. The keyword 'accounting' then filters for pages containing that word, returning only target.com pages - excluding Marketing.target.com - that mention accounting.

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

The '-site:' operator excludes Marketing.target.com, so results from that subdomain are specifically omitted - the opposite of what this choice claims.

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

The '-site:Marketing.target.com' operator explicitly excludes that subdomain, so results from Marketing.target.com are not returned regardless of the keyword match.

Concept tested: Google advanced search operators site and exclusion

Source: https://support.google.com/websearch/answer/2466433

Topics

#Google dorking#site operator#OSINT#search engine reconnaissance

Community Discussion

No community discussion yet for this question.

Full 312-50V9 Practice