Question 26 of 497
Configuring network servicesmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is pre-configured WAF rules, specifically the SQL injection (SQLi) rule set within Cloud Armor. This is correct because these rules provide a managed, signature-based defense that inspects HTTP(S) request bodies, headers, and URIs for known SQL injection patterns, blocking malicious queries before they reach your backend. On the Google Professional Cloud Network Engineer exam, this scenario tests your understanding of how Cloud Armor integrates with external HTTP(S) load balancers to provide application-layer security, often appearing as a direct question about the correct feature for SQLi protection. A common trap is confusing custom rules with pre-configured rules—remember that pre-configured WAF rules are Google-managed and updated automatically, while custom rules require manual definition. For a memory tip, think "SQLi = Pre-configured WAF" as the default, turnkey solution for injection attacks.

PCNE Configuring network services Practice Question

This PCNE practice question tests your understanding of configuring network services. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company wants to protect their application behind an external HTTP(S) load balancer from SQL injection attacks. Which Cloud Armor feature should be used?

Question 1mediummultiple choice
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Pre-configured WAF rules

Pre-configured WAF rules in Cloud Armor include a SQL injection (SQLi) rule that inspects HTTP(S) request bodies, headers, and URIs for SQL injection patterns. This rule uses a set of signatures to detect and block malicious SQL queries, directly addressing the requirement to protect against SQL injection attacks on an external HTTP(S) load balancer.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • IP allowlist/denylist

    Why it's wrong here

    IP lists control access by source IP, not application layer attacks.

  • Pre-configured WAF rules

    Why this is correct

    WAF rules include signatures for SQL injection and other common web attacks.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Named IP address lists

    Why it's wrong here

    Named IP lists are a way to group IP addresses, not a security rule.

  • Rate limiting

    Why it's wrong here

    Rate limiting controls request frequency, not specific attack payloads.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the misconception that IP-based controls (allowlist/denylist or named IP lists) can protect against application-layer attacks like SQL injection, but these features operate at Layer 3/4 and cannot inspect HTTP payloads.

Detailed technical explanation

How to think about this question

Cloud Armor's pre-configured WAF rules leverage the ModSecurity Core Rule Set (CRS) to detect SQL injection, cross-site scripting (XSS), and other OWASP Top 10 threats. The SQL injection rule (e.g., rule ID 942100) matches on SQL keywords and special characters like ' OR 1=1 --, and can be tuned with sensitivity levels (e.g., paranoia level 1-4) to reduce false positives. In a real-world scenario, a company might combine pre-configured WAF rules with custom rules to block application-specific SQL injection vectors that bypass generic signatures.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related PCNE practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free PCNE practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this PCNE question test?

Configuring network services — This question tests Configuring network services — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Pre-configured WAF rules — Pre-configured WAF rules in Cloud Armor include a SQL injection (SQLi) rule that inspects HTTP(S) request bodies, headers, and URIs for SQL injection patterns. This rule uses a set of signatures to detect and block malicious SQL queries, directly addressing the requirement to protect against SQL injection attacks on an external HTTP(S) load balancer.

What should I do if I get this PCNE question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This PCNE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCNE exam.