For IndividualsFor Educators
ExpertMinds LogoExpertMinds
ExpertMinds

Ace your certifications with Practice Exams and AI assistance.

  • Browse Exams
  • For Educators
  • Blog
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Support
  • AWS SAA Exam Prep
  • PMI PMP Exam Prep
  • CPA Exam Prep
  • GCP PCA Exam Prep

© 2026 TinyHive Labs. Company number 16262776.

    PracticeGCP Associate Cloud Engineer (ACE)GCP Associate Cloud Engineer Practice Exam 2Question 39
    Medium1 markMultiple Choice
    Domain 4.5: Managing networking resourcesCompute EngineNetworkingStatic IP

    GCP ACE · Question 39 · Domain 4.5: Managing networking resources

    You have a Compute Engine instance running a web server. It currently has an ephemeral external IP address. You want to ensure that if the instance is restarted, its public IP address does not change.

    Which TWO steps must you take? (Select TWO)

    Answer options:

    A.

    Reserve a static external IP address in the same region as the instance.

    B.

    Reserve a global static external IP address.

    C.

    Assign the reserved static IP address to the instance's network interface.

    D.

    Configure Cloud DNS to point to the ephemeral IP.

    E.

    Promote the ephemeral IP to a static IP using the gcloud compute instances update command.

    How to approach this question

    Understand the lifecycle of external IP addresses in GCP.

    Full Answer

    To give a VM a permanent public IP, you must first reserve a Regional Static External IP address. Then, you edit the VM's network interface, unassign the ephemeral IP, and assign the newly reserved static IP.

    Common mistakes

    Reserving a Global IP, which cannot be attached to a standard regional VM.
    Question 38All questionsQuestion 40

    Practice the full GCP Associate Cloud Engineer Practice Exam 2

    50 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01Your company is migrating to Google Cloud and needs to establish a resource hierarchy. You have t...EasyQ02You are managing access to a GCP project. You need to grant 15 developers the ability to view Com...MediumQ03You have created a new GCP project using the Cloud Console. You want to deploy a Cloud Function u...EasyQ04Your startup has a strict monthly cloud budget of $500. You want to be notified immediately if yo...EasyQ05Your finance team wants to perform complex SQL analysis on your GCP billing data to understand co...Medium
    View all 50 questions →