0
0
GCPcloud~10 mins

Cloud Interconnect for dedicated connections in GCP - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create a Cloud Interconnect resource with a specified name.

GCP
resource "google_compute_interconnect" "my_interconnect" {
  name = "[1]"
  location = "us-central1"
  interconnect_type = "DEDICATED"
}
Drag options to blanks, or click blank then click option'
Ainterconnect-123
Bcloud-conn
Cmy-interconnect-1
Dgcp-link
Attempts:
3 left
💡 Hint
Common Mistakes
Using spaces or special characters in the name.
Leaving the name blank.
2fill in blank
medium

Complete the code to specify the interconnect type as dedicated.

GCP
resource "google_compute_interconnect" "example" {
  name = "dedicated-conn"
  location = "us-central1"
  interconnect_type = "[1]"
}
Drag options to blanks, or click blank then click option'
AVIRTUAL
BPARTNER
CDEDICATED
DSHARED
Attempts:
3 left
💡 Hint
Common Mistakes
Using "PARTNER" which is for partner interconnects.
Using invalid or unsupported types.
3fill in blank
hard

Fix the error in the code by selecting the correct location for the interconnect.

GCP
resource "google_compute_interconnect" "conn" {
  name = "dedicated-conn"
  location = "[1]"
  interconnect_type = "DEDICATED"
}
Drag options to blanks, or click blank then click option'
Aeurope-west1-c
Bus-central1-a
Cus-east1-b
Dus-central1
Attempts:
3 left
💡 Hint
Common Mistakes
Using zone names instead of region names.
Using unsupported or invalid locations.
4fill in blank
hard

Fill both blanks to define the bandwidth and admin enabled status for the interconnect.

GCP
resource "google_compute_interconnect" "conn" {
  name = "dedicated-conn"
  location = "us-central1"
  interconnect_type = "DEDICATED"
  bandwidth = "[1]"
  admin_enabled = [2]
}
Drag options to blanks, or click blank then click option'
A10
B100
Ctrue
Dfalse
Attempts:
3 left
💡 Hint
Common Mistakes
Using bandwidth as a number without quotes.
Using strings instead of booleans for admin_enabled.
5fill in blank
hard

Fill all three blanks to configure the interconnect with a description, customer name, and link type.

GCP
resource "google_compute_interconnect" "conn" {
  name = "dedicated-conn"
  location = "us-central1"
  interconnect_type = "DEDICATED"
  description = "[1]"
  customer_name = "[2]"
  link_type = "[3]"
}
Drag options to blanks, or click blank then click option'
APrimary connection for data
BAcmeCorp
CLINK_TYPE_ETHERNET_10G_LR
DBackup link
Attempts:
3 left
💡 Hint
Common Mistakes
Using invalid link_type values.
Leaving description or customer_name empty.