exam questions

Exam Associate Cloud Engineer All Questions

View all questions & answers for the Associate Cloud Engineer exam

Exam Associate Cloud Engineer topic 1 question 82 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 82
Topic #: 1
[All Associate Cloud Engineer Questions]

Your VMs are running in a subnet that has a subnet mask of 255.255.255.240. The current subnet has no more free IP addresses and you require an additional
10 IP addresses for new VMs. The existing and new VMs should all be able to reach each other without additional routes. What should you do?

  • A. Use gcloud to expand the IP range of the current subnet.
  • B. Delete the subnet, and recreate it using a wider range of IP addresses.
  • C. Create a new project. Use Shared VPC to share the current network with the new project.
  • D. Create a new subnet with the same starting IP but a wider range to overwrite the current subnet.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
JustLearning
Highly Voted 4 years, 2 months ago
A: Expand the existing subnet. https://cloud.google.com/sdk/gcloud/reference/compute/networks/subnets/expand-ip-range
upvoted 56 times
...
glam
Highly Voted 3 years, 10 months ago
A. Use gcloud to expand the IP range of the current subnet.
upvoted 11 times
...
JB28
Most Recent 7 months, 3 weeks ago
The correct answer is A. Use gcloud to expand the IP range of the current subnet. Expanding the primary IPv4 address range of a subnet does not cause a break or gap in network connectivity2. DHCP leases are not broken. IP addresses of running VMs at the time of the expansion do not change. You cannot “un-expand” or contract the range after it’s expanded. Expansion is permanent.
upvoted 2 times
...
BAofBK
10 months ago
The correct answer is A
upvoted 1 times
...
Captain1212
1 year ago
Selected Answer: A
A is correct , as you need to expand it
upvoted 2 times
...
trainingexam
1 year, 2 months ago
Selected Answer: A
gcloud compute networks subnets expand-ip-range NAME --prefix-length=PREFIX_LENGTH [--region=REGION] [GCLOUD_WIDE_FLAG …]
upvoted 2 times
...
dasgcp
1 year, 5 months ago
Selected Answer: C
You can't expand the subnet because the question states "The current subnet has no more free IP addresses", correct answer is C.
upvoted 3 times
KerolesKhalil
1 year, 2 months ago
that's exactly why you expand the subnet =D
upvoted 8 times
...
...
Jimut
1 year, 5 months ago
Selected Answer: A
Use gcloud to expand the IP range of the current subnet.
upvoted 1 times
...
Mobin92
1 year, 6 months ago
Selected Answer: A
A. Use gcloud to expand the IP range of the current subnet.
upvoted 1 times
...
Buruguduystunstugudunstuy
1 year, 6 months ago
Selected Answer: A
Answer A (Use gcloud to expand the IP range of the current subnet): This option is correct because it allows you to expand the primary IP range of the existing subnet to accommodate the additional 10 IP addresses required for the new VMs. This can be done without deleting or recreating the subnet, which saves time and avoids disrupting any existing resources that are using the subnet.
upvoted 3 times
...
Bobbybash
1 year, 6 months ago
Selected Answer: A
A To get an additional 10 IP addresses for new VMs running in a subnet that has no more free IP addresses and where existing and new VMs should be able to reach each other without additional routes, you should use gcloud to expand the IP range of the current subnet. This can be achieved by modifying the IP range of the subnet with the gcloud command-line tool. You can use the following command to increase the range of the subnet: gcloud compute networks subnets expand [SUBNET_NAME] --range=[NEW_IP_RANGE] Make sure to specify the name of the subnet you want to modify, and choose a new IP range that includes the current range and 10 additional IP addresses.
upvoted 3 times
...
ChillinBoy
1 year, 8 months ago
Selected Answer: A
A 100%
upvoted 1 times
...
cslince
1 year, 8 months ago
Selected Answer: A
A: Expand the existing subnet.
upvoted 1 times
...
leogor
1 year, 9 months ago
Selected Answer: A
expand the IP range of the current subnet
upvoted 1 times
...
dennydream
1 year, 10 months ago
Why in the world would C be the answer? A is def the answer.
upvoted 1 times
...
Charumathi
1 year, 11 months ago
A. is correct, gcloud compute networks subnets expand-ip-range - expand the IP range of a Compute Engine subnetwork gcloud compute networks subnets expand-ip-range NAME --prefix-length=PREFIX_LENGTH [--region=REGION] [GCLOUD_WIDE_FLAG …]
upvoted 1 times
...
gcpBeginner
1 year, 11 months ago
correct answer is A. Use gcloud to expand the IP range of the current subnet.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago