Google Associate Cloud Engineer exam dumps

Google Associate Cloud Engineer practice question 152 of 375

Associate Cloud Engineer. Free level, Google Cloud. Free question with the correct answer and a full explanation.

Google Associate Cloud Engineer Question 152

Select 2Google Cloud Platform

You are tasked with setting up a Virtual Private Cloud (VPC) for a new project on Google Cloud Platform. The VPC needs to have two subnets, one for the web servers in the us-central1 region and another for the database servers in the europe-west1 region. Which steps should you take to correctly configure this VPC?

  1. A

    Create a new VPC and enable 'Automatic' subnet creation to automatically generate subnets in both regions.

  2. B

    Create a new VPC with 'Custom' subnet creation and manually specify subnet ranges for us-central1 and europe-west1.

  3. C

    Set the 'Network' option to 'Default' to utilize existing subnets in the required regions.

  4. D

    Create two separate VPCs, one for each region, to ensure isolation of the subnets.

  5. E

    Use Cloud Console or gcloud command-line tool to define custom subnet ranges for the web and database subnets within the same VPC.

Show answer and explanation

Correct answers: B, E

Explanation

To meet the requirement of having specific subnets for web servers and database servers in different regions, using 'Custom' mode in VPC creation allows you to define subnets with specific IP ranges and regions. Additionally, utilizing Cloud Console or gcloud enables precise control over these settings, ensuring that both subnets are part of the same VPC, which is essential for network management and application connectivity.

  • A. Incorrect.

    Automatic subnet creation results in a single subnet per region, which might not meet specific IP range requirements.

  • B. Correct.

    Custom subnet creation allows you to specify individual subnet ranges and regions, meeting the requirements for different IP ranges in us-central1 and europe-west1.

  • C. Incorrect.

    The 'Default' network option is a preconfigured VPC with global subnets, which may not meet specific custom subnet requirements.

  • D. Incorrect.

    Creating separate VPCs is unnecessary and does not align with the need for a single VPC spanning multiple regions.

  • E. Correct.

    Using Cloud Console or gcloud to define custom subnet ranges allows precise control over IP allocation and ensures the subnets are within the same VPC.

Timed practice exam

Take a Google Associate Cloud Engineer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam