PCNE 模擬試験 1 (中堅向け / 25問 / 60分)
本番は 50〜60問 / 120分。本模試はコンパクト版 (実本番の約半分)。 Section 比率: S1 5, S2 5, S3 4, S4 4, S5 4, S6 3。 解答と解説は問題の直下。最初は隠して解いてください。
Q1
ある SaaS プロバイダが、複数の顧客 VPC からプライベートに自社 API へアクセスさせたい。最適なサービスは?
A. VPC Peering
B. Private Service Connect (Producer endpoint)
C. Shared VPC
D. Cloud Interconnect
解答
**B**。PSC は producer が endpoint を公開し、consumer 側からプライベートに API 呼び出しできる SaaS の定番。Q2
Custom-mode VPC で 10.0.0.0/16 の subnet を作った後、/14 に拡張したい。可能な操作は?
A. gcloud compute networks subnets expand-ip-range --prefix-length=14
B. VPC を作り直す
C. subnet を削除して再作成
D. Cloud Router で route 追加
解答
**A**。expand は可能、縮小は不可。Q3
Cloud Router で --advertised-route-priority=100 と 200 を 2 つの BGP セッションに設定。トラフィックは普通どちらに流れる?
A. priority 200 (大きい方)
B. priority 100 (小さい方)
C. ECMP で均等
D. 設定の順番
解答
**B**。BGP の MED は **小さいほど優先**。Cloud Router の route priority は MED として広告される。Q4
オンプレ DNS から GCP private zone を解決可能にしたい。必要な構成は (複数選択)?
A. inbound DNS server policy を VPC で有効化
B. オンプレ DNS で <inbound IP> への conditional forward
C. outbound forwarding zone を GCP 側で作成
D. Cloud Interconnect
解答
**A, B**。inbound policy で払い出された IP に対し、オンプレ側で conditional forward を設定。Q5
GKE クラスタの control plane に公開 IP を設定せず、IAM 認証で kubectl したい。最新の推奨方式は?
A. Private endpoint + master global access
B. Public endpoint + authorized networks
C. DNS-based endpoint for control plane
D. Cloud VPN + Authorized networks
解答
**C**。DNS-based endpoint。Q6
VPC Peering を A↔B, B↔C で構築。A から C への通信は?
A. 自動で通る
B. transitive のため通らない (NCC か追加 peering が必要)
C. firewall で許可すれば通る
D. Cloud Router で route 追加で通る
解答
**B**。VPC Peering は transitive 不可。NCC が公式解決策。Q7
Internal Application LB をマルチリージョンの VPC 内から利用可能にしたい。最適な構成は?
A. Regional Internal Application LB + global access
B. Cross-region Internal Application LB
C. Global External Application LB
D. External Passthrough NLB
解答
**B**。Cross-region Internal Application LB は最新追加。マルチリージョンの内部 L7 LB。Q8
NCC hub に SD-WAN (Cisco) を統合したい。spoke の種類は?
A. VPC spoke
B. Hybrid spoke (VPN tunnel)
C. Hybrid spoke (VLAN attachment)
D. Hybrid spoke (Router Appliance)
解答
**D**。Router Appliance spoke。Q9
2 つの VPC が同じ CIDR を使っており統合したい。最も推奨される手段は?
A. Private NAT (NCC で重複 IP 解決)
B. VPC Peering
C. Cloud NAT
D. Cloud Interconnect
解答
**A**。Private NAT は重複 IP 問題の公式ソリューション。Q10
Cloud NAT のポート枯渇を予防したい。最も効果的な設定 2 つは?
A. Dynamic port allocation 有効化
B. 追加 IP を pool に加える
C. min-ports-per-vm を 1024 に上げる
D. endpoint-independent mapping を有効化
解答
**A, B**。dynamic + 追加 IP。Q11
グローバル LB の HTTPS バックエンドにオンプレを混在させたい。Internal application LB ではなく External で同じことをしたい場合のバックエンド種別は?
A. Hybrid NEG
B. Internet NEG (FQDN)
C. Serverless NEG
D. Zonal NEG
解答
**B**。External LB でオンプレを混在させるには Internet NEG (FQDN/IP)。Hybrid NEG は **Internal** LB 用。Q12
Cloud DNS で 5 % のトラフィックを新版に振り分けたい。設定すべき routing policy は?
A. Weighted Round Robin (95/5)
B. Geolocation
C. Failover
D. Health Checked Multi-target
解答
**A**。WRR で重みで振り分け。Q13
Cloud Interconnect 99.99% SLA に必要な要素は (複数選択)?
A. 2 metros (異なる地理 PoP)
B. 4 VLAN attachments
C. 2 Cloud Routers
D. Static routing
解答
**A, B, C**。Dynamic routing 必須 (BGP)、static は不可。Q14
HA VPN over Cloud Interconnect を使う動機は?
A. Interconnect の帯域増加
B. Cloud Interconnect 上の通信を IPsec で暗号化 (compliance 要件)
C. BGP セッションの不要化
D. SD-WAN との統合
解答
**B**。Interconnect 自体は暗号化されないため。Q15
Cloud Router の BGP セッションで障害検出を 1 秒以下にしたい。設定は?
A. BFD 有効化
B. MD5 authentication
C. Hold timer を 3秒に変更
D. ASN を private に変更
解答
**A**。BFD で sub-second 検出。Q16
Connectivity Tests を実行したら "blocked by firewall rule deny-all-egress" と返った。次のアクション?
A. Cloud Armor policy を見直し
B. VPC firewall または NGFW policy で該当 source/dest を許可する rule を追加
C. VPC Peering を張る
D. Cloud NAT 設定変更
解答
**B**。Connectivity Tests のメッセージは原因リソース名を指す。firewall rule を追加 (priority 注意)。Q17
Cloud Load Balancer のヘルスチェッカー IP 範囲を許可する firewall rule に含めるべきソースは?
A. 0.0.0.0/0
B. 35.191.0.0/16 と 130.211.0.0/22
C. 10.0.0.0/8
D. 199.36.153.8/30
解答
**B**。Google の HC レンジ。HC が落ちる時の頻出原因。Q18
全プロジェクトに「外部 IP 取得禁止」を強制したい。最も適切な GCP の機構は?
A. Hierarchical firewall policy
B. Organization Policy (compute.vmExternalIpAccess)
C. Cloud Armor
D. VPC Service Controls
解答
**B**。Org Policy `compute.vmExternalIpAccess` で外部 IP 取得を禁止できる。Hierarchical FW は L3 通信の制御。Q19
L7 TLS 検査と IDS/IPS を VPC 内の east-west トラフィックに適用したい。最適な GCP マネージドサービスは?
A. Cloud NGFW Enterprise
B. Cloud Armor
C. Secure Web Proxy
D. VPC firewall rule
解答
**A**。Cloud NGFW Enterprise が L7 inspection + IPS をサポート。SWP は egress 専用。Q20
GCP 内 VM がインターネットへ egress する際、URL allow list で許可したい (*.github.com のみ)。最適な機能は?
A. Cloud NAT
B. Secure Web Proxy
C. Cloud Armor backend policy
D. VPC firewall rule
解答
**B**。Secure Web Proxy が egress L7 URL filtering の正解。Q21
オンプレからの BGP 学習ルートを Cloud Router で 特定の prefix だけ受け入れたい。設定は?
A. Custom learned routes で許可 prefix を明示
B. Cloud NGFW で deny
C. VPC firewall rule
D. Cloud DNS で blockhole
解答
**A**。Custom learned routes で受け入れる prefix を制御 (受け入れ範囲を制限)。Q22
GKE Service type=LoadBalancer でクライアント送信元 IP を保持する Internal LB が必要。どう構成?
A. networking.gke.io/load-balancer-type: "Internal" annotation で Internal Passthrough NLB を作る
B. Cloud NAT で SNAT
C. External Application LB
D. Cloud Armor で X-Forwarded-For
解答
**A**。Internal Passthrough NLB は IP/Port を保存する。GKE Service annotation で作成。Q23
DDoS 攻撃時の Network LB (L4) 保護を強化したい。最適な機能は?
A. Cloud Armor Advanced Network DDoS Protection
B. Cloud Armor edge policy (HTTP のみ対応)
C. Cloud NAT
D. VPC firewall rule
解答
**A**。L4 (Network Passthrough/Proxy LB) は Advanced Network DDoS Protection。Q24
ある内部 LB のヘルスチェックが断続的に失敗する。最初に切り分けるツールは?
A. Network Topology
B. Performance Dashboard (Google 側 vs project 側)
C. Connectivity Tests から HC IP を source に
D. Cloud Logging で全 VM logs
解答
**C**。Connectivity Tests で HC source IP 範囲を起点に backend へのテストを実行。Q25
オンプレ → GCP の Vertex AI API を プライベート IP で呼び出したい。最適な構成は?
A. Cloud Interconnect だけで自動的に private になる
B. PSC for Google APIs を構成 (consumer endpoint)
C. Cloud VPN 上で public API を呼ぶ
D. Cloud DNS の forwarding zone
解答
**B**。PSC for Google APIs は `googleapis.com` を private IP 経由で叩く構成 (Private Google Access for on-premises の発展形)。採点ガイドライン
| 正答数 | 評価 |
|---|---|
| 23+ / 25 (92%+) | 本番想定で合格圏内 |
| 19-22 / 25 (76-88%) | 弱いセクションを補強 |
| 14-18 / 25 (56-72%) | 学習資料を再読し、模擬試験2の前に Section 別問題集を再演習 |
| ≤13 / 25 (≤52%) | ロードマップに戻る |