After-Session Quiz - Networking

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

5/21/24, 11:59 AM After-session quiz: Networking

After-session quiz: Networking Total points 11/18

This quiz covers the topics from the prior week's coursework. Your identity is not tracked:
this quiz is for practice and self-assessment.

Note that questions on the actual exam will not often be simple knowledge recall.

You need a 6 GBps connection between your GCP project and on- *0/1
premises datacenter. The best choice is

Cloud VPN

Direct Interconnect

Hybrid Interconnect

Partner Interconnect

Correct answer

Partner Interconnect

Your company wants to run penetration security testing that primarily *1/1
matches an end user perspective. What action would you take?

Use on-premises scanners over public Internet.

Use on-premises scanners over VPN.

Deploy scanners in the cloud and test from there.

Notify Google you are going to run a penetration test.

https://docs.google.com/forms/d/e/1FAIpQLSc6hPazmn7TSRsjqze2claH9n9JfX6cuGEsYRAZQAn-BfI3YQ/viewscore?viewscore=AE0zAgCYe8TJWte… 1/8
5/21/24, 11:59 AM After-session quiz: Networking

VPC firewall rules are applied to traffic that is * 0/1

entering a VM from outside the VPC subnet

entering a VM from outside its project

entering a VM from outside the VPC network

entering a VM regardless of origin

Correct answer

entering a VM regardless of origin

To ensure that a load balancer only sends requests to virtual machines *0/1
that are working, you would use

Health check

Readiness probe

Liveness probe

Uptime check

Correct answer

Health check

https://docs.google.com/forms/d/e/1FAIpQLSc6hPazmn7TSRsjqze2claH9n9JfX6cuGEsYRAZQAn-BfI3YQ/viewscore?viewscore=AE0zAgCYe8TJWte… 2/8
5/21/24, 11:59 AM After-session quiz: Networking

Which option will give the best network performance for a virtual *0/1
machine with 2 vCPUs and 8 GB memory on the default VPC?

Assign a Custom Machine Type

Assign 4 Network Interfaces

Assign 16 vCPUs

Assign 32 GB Memory

Correct answer

Assign 16 vCPUs

To connect a network between GCP projects, you should use * 1/1

Dedicated Interconnect

Dedicated Peering

VPC Peering

Carrier Peering

All GCP resources are associated with * 1/1

a service account

a user

a project

a billing account

https://docs.google.com/forms/d/e/1FAIpQLSc6hPazmn7TSRsjqze2claH9n9JfX6cuGEsYRAZQAn-BfI3YQ/viewscore?viewscore=AE0zAgCYe8TJWte… 3/8
5/21/24, 11:59 AM After-session quiz: Networking

A Virtual Private Cloud network is * 1/1

regional

multi-regional

zonal

global

Which load-balancing option is best for a large-scale, world-wide web app *1/1
with a lot of static data?

TCP load balancer with SSL

HTTP load balancer with SSL and CDN

TCP load balancer with SSL and CDN

HTTP load balancer with SSL

How can application parts, owned by different project teams, *1/1


communicate over RFC1918 addresses?

Parts communicate using HTTPS

Communicate over global load balancers, one per project

Single project, same VPC

Shared VPC, each team's project a service of the Shared VPC project

https://docs.google.com/forms/d/e/1FAIpQLSc6hPazmn7TSRsjqze2claH9n9JfX6cuGEsYRAZQAn-BfI3YQ/viewscore?viewscore=AE0zAgCYe8TJWte… 4/8
5/21/24, 11:59 AM After-session quiz: Networking

Static web data loads slowly for users in other regions. How can you best *1/1
improve peformance?

Use Premium Network for VMs

Scale up the size of the VMs

Distribute data using Cloud CDN

Move the VMs to a location nearer the users

You want to be notified if your application is down. Which tool can *0/1
provide the basis for an alert?

Readiness probe

Health check

Uptime check

Liveness probe

Correct answer

Uptime check

You are expanding from US to Europe. Which option routes users to the *1/1
nearest healthy server?

VPN

Global load balancing

Simple network management protocol

Content delivery network

https://docs.google.com/forms/d/e/1FAIpQLSc6hPazmn7TSRsjqze2claH9n9JfX6cuGEsYRAZQAn-BfI3YQ/viewscore?viewscore=AE0zAgCYe8TJWte… 5/8
5/21/24, 11:59 AM After-session quiz: Networking

Google Cloud Load Balancing can balance HTTP traffic across multiple *1/1
regions

True

False

A managed instance group is thrashing: it keeps adding more VMs, and *1/1
then shutting them down. The VMs are working properly. Fix it by

Decreasing the time autoscalers consider when making decisions

Increasing the time autoscalers consider when making decisions

Increasing the maximum number of VMs in the instance group

Decreasing the minimum number of VMs in the instance group

An existing application uses websockets. To help migrate the application *1/1


to cloud you should:

Do nothing to the application. HTTP(S) load balancing natively supports


websocket proxying.

Redesign the application to use distributed sessions instead of websockets.

Review websocket encryption requirements with the security team.

Redesign the application to use HTTP streaming.

https://docs.google.com/forms/d/e/1FAIpQLSc6hPazmn7TSRsjqze2claH9n9JfX6cuGEsYRAZQAn-BfI3YQ/viewscore?viewscore=AE0zAgCYe8TJWte… 6/8
5/21/24, 11:59 AM After-session quiz: Networking

How to avoid dropped incoming data during workload spikes - without *0/1
increasing the number of VMs?

Use local SSDs on VMs

Add memory to the VMs

Write to Cloud Memorystore and have VMs read from cache

Write to Cloud Pub/Sub and have VMs read from queue

Correct answer

Write to Cloud Pub/Sub and have VMs read from queue

A Virtual Private Cloud subnet is * 0/1

regional

global

zonal

multi-regional

Correct answer

regional

This form was created inside of itseniors. Report Abuse

Forms

https://docs.google.com/forms/d/e/1FAIpQLSc6hPazmn7TSRsjqze2claH9n9JfX6cuGEsYRAZQAn-BfI3YQ/viewscore?viewscore=AE0zAgCYe8TJWte… 7/8
5/21/24, 11:59 AM After-session quiz: Networking

https://docs.google.com/forms/d/e/1FAIpQLSc6hPazmn7TSRsjqze2claH9n9JfX6cuGEsYRAZQAn-BfI3YQ/viewscore?viewscore=AE0zAgCYe8TJWte… 8/8

You might also like