Question 194 of 500
Planning and configuring a cloud solutionhardMultiple ChoiceObjective-mapped

Google ACE Planning and configuring a cloud solution Practice Question

This ACE practice question tests your understanding of planning and configuring a cloud solution. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. 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.

Exhibit

Refer to the exhibit.

$ gcloud compute instances describe my-vm --zone=us-central1-a
...
networkInterfaces:
- network: https://www.googleapis.com/compute/v1/projects/my-project/global/networks/default
  subnetwork: https://www.googleapis.com/compute/v1/projects/my-project/regions/us-central1/subnetworks/default
  accessConfigs:
  - name: external-nat
    type: ONE_TO_ONE_NAT
    natIP: 34.71.192.55
tags:
  items:
  - web-server
serviceAccounts:
- email: 123456789-compute@developer.gserviceaccount.com
  scopes:
  - https://www.googleapis.com/auth/cloud-platform

Firewall rules:
- name: allow-http-from-internet
  direction: INGRESS
  priority: 1000
  sourceRanges:
  - 0.0.0.0/0
  allowed:
  - IPProtocol: tcp
    ports:
    - '80'
  targetTags:
  - web-server
- name: deny-all-ingress
  direction: INGRESS
  priority: 2000
  sourceRanges:
  - 0.0.0.0/0
  denied:
  - IPProtocol: all

Based on the exhibit, which type of traffic will successfully reach the instance?

Question 1hardmultiple choice
Full question →

Exhibit

Refer to the exhibit.

$ gcloud compute instances describe my-vm --zone=us-central1-a
...
networkInterfaces:
- network: https://www.googleapis.com/compute/v1/projects/my-project/global/networks/default
  subnetwork: https://www.googleapis.com/compute/v1/projects/my-project/regions/us-central1/subnetworks/default
  accessConfigs:
  - name: external-nat
    type: ONE_TO_ONE_NAT
    natIP: 34.71.192.55
tags:
  items:
  - web-server
serviceAccounts:
- email: 123456789-compute@developer.gserviceaccount.com
  scopes:
  - https://www.googleapis.com/auth/cloud-platform

Firewall rules:
- name: allow-http-from-internet
  direction: INGRESS
  priority: 1000
  sourceRanges:
  - 0.0.0.0/0
  allowed:
  - IPProtocol: tcp
    ports:
    - '80'
  targetTags:
  - web-server
- name: deny-all-ingress
  direction: INGRESS
  priority: 2000
  sourceRanges:
  - 0.0.0.0/0
  denied:
  - IPProtocol: all

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

HTTP traffic from the internet (port 80)

Option C is correct because the exhibit shows a security group rule allowing inbound HTTP traffic (port 80) from 0.0.0.0/0, which permits any source on the internet to reach the instance on that port. Security groups in Google Cloud are stateful, so the corresponding outbound return traffic is automatically allowed. No other rule permits HTTPS or all traffic, and the implicit deny-all rule blocks anything not explicitly allowed.

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.

  • HTTPS traffic (port 443) from the internet

    Why it's wrong here

    Only port 80 is explicitly allowed; port 443 is denied by the deny-all rule.

  • All inbound traffic

    Why it's wrong here

    The deny-all rule would block all traffic not explicitly allowed, and only HTTP is allowed.

  • HTTP traffic from the internet (port 80)

    Why this is correct

    The allow rule matches HTTP from any source and applies to the instance.

    Related concept

    Read the scenario before looking for a memorised answer.

  • No traffic; the deny-all rule takes effect

    Why it's wrong here

    The allow rule has lower priority number (1000) so it is evaluated first and allows HTTP; the deny-all rule (2000) is only evaluated if no allow rule matches, but since HTTP matches, it is allowed.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the misconception that the implicit deny-all rule blocks all traffic indiscriminately, but candidates must remember that explicit allow rules take precedence and permit matching traffic before the deny rule is evaluated.

Detailed technical explanation

How to think about this question

Google Cloud security groups (firewall rules) are stateful, meaning that if you allow inbound traffic, the corresponding outbound response traffic is automatically permitted regardless of outbound rules. The implicit deny-all rule is always evaluated last, so any traffic that matches an explicit allow rule (like port 80 from 0.0.0.0/0) is permitted before reaching the deny. In a real-world scenario, if you needed to allow HTTPS, you would add a separate rule for TCP port 443, as security groups do not infer higher-layer protocols from lower-layer rules.

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 healthcare organisation deploys an application with a public-facing web tier and a private database tier. The database subnet has no public IP and only accepts connections from the web tier's security group. Questions like this test whether you can design cloud network isolation using VNets/VPCs, subnets, and security group rules.

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 ACE 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 ACE 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 ACE question test?

Planning and configuring a cloud solution — This question tests Planning and configuring a cloud solution — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: HTTP traffic from the internet (port 80) — Option C is correct because the exhibit shows a security group rule allowing inbound HTTP traffic (port 80) from 0.0.0.0/0, which permits any source on the internet to reach the instance on that port. Security groups in Google Cloud are stateful, so the corresponding outbound return traffic is automatically allowed. No other rule permits HTTPS or all traffic, and the implicit deny-all rule blocks anything not explicitly allowed.

What should I do if I get this ACE 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 ACE 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 ACE exam.