0
0
GCPcloud~20 mins

Shared VPC concept in GCP - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Shared VPC Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Shared VPC Host Project Role

In Google Cloud, which role must a project have to act as a Shared VPC host?

AThe project must be a host project with Network Admin role.
BThe project must be a service project with Compute Network User role.
CThe project must be a service project with Owner role.
DThe project must be a host project with Compute Viewer role.
Attempts:
2 left
💡 Hint

Think about which project controls the network resources.

Architecture
intermediate
2:00remaining
Shared VPC Service Project Resource Access

Which statement best describes how a service project accesses resources in a Shared VPC?

AService projects cannot use Shared VPC networks; they only use peered networks.
BService projects use subnets from the host project's VPC network but manage their own firewall rules.
CService projects create and manage their own VPC networks independently.
DService projects use subnets from the host project's VPC network and rely on host project firewall rules.
Attempts:
2 left
💡 Hint

Consider who controls the network and security policies.

security
advanced
2:00remaining
Shared VPC Security Best Practice

Which practice improves security when using Shared VPC across multiple service projects?

AGrant all users Owner role on the host project to simplify management.
BUse IAM roles to grant least privilege access to service projects for network resources.
CAllow service projects to create their own firewall rules to increase flexibility.
DDisable VPC Service Controls to avoid access restrictions.
Attempts:
2 left
💡 Hint

Think about minimizing permissions to reduce risk.

service_behavior
advanced
2:00remaining
Impact of Removing a Service Project from Shared VPC

What happens to the VM instances in a service project when it is detached from the Shared VPC host project?

AVM instances continue running with the same network configuration without interruption.
BVM instances are deleted automatically upon detachment.
CVM instances lose network connectivity immediately and cannot communicate externally.
DVM instances are automatically migrated to a new VPC network in the service project.
Attempts:
2 left
💡 Hint

Consider what happens when the network is no longer attached.

Best Practice
expert
2:00remaining
Designing Shared VPC for Multiple Departments

You manage a Shared VPC for multiple departments in your organization. Which design approach best isolates network traffic while using a single Shared VPC host project?

ACreate separate subnets per department and use firewall rules to restrict traffic between them.
BUse a single subnet for all departments and rely on VM tags for traffic control.
CCreate multiple Shared VPC host projects, one per department, to isolate networks.
DAllow all departments to share the same subnet and firewall rules for simplicity.
Attempts:
2 left
💡 Hint

Think about network segmentation within a Shared VPC.