Google Associate Cloud Engineer exam dumps

Google Associate Cloud Engineer practice question 199 of 375

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

Google Associate Cloud Engineer Question 199

Select 3Google Cloud Platform

You are managing a Google Kubernetes Engine (GKE) cluster and want to configure it to pull container images from Google Cloud's Artifact Registry. Which steps should you take to ensure the GKE nodes can access the Artifact Registry?

  1. A

    Ensure that the GKE nodes have the 'Artifact Registry Reader' IAM role.

  2. B

    Use a service account key and configure it on each node manually.

  3. C

    Enable the Artifact Registry API in your Google Cloud project.

  4. D

    Add the '--enable-artifact-registry' flag when creating the GKE cluster.

  5. E

    Configure Workload Identity to allow GKE to authenticate with Artifact Registry.

Show answer and explanation

Correct answers: A, C, E

Explanation

To allow GKE nodes to pull images from Artifact Registry, you need to ensure they have the necessary IAM permissions by assigning the 'Artifact Registry Reader' role. Additionally, enabling the Artifact Registry API in your project is crucial for accessing Artifact Registry features. Configuring Workload Identity is a best practice for securely managing authentication between GKE and Artifact Registry.

  • A. Correct.

    Assigning the 'Artifact Registry Reader' IAM role to the GKE nodes allows them to pull images stored in Artifact Registry.

  • B. Incorrect.

    Using a service account key manually on each node is not recommended due to security risks and maintenance overhead.

  • C. Correct.

    Enabling the Artifact Registry API is necessary for using Artifact Registry features in your project.

  • D. Incorrect.

    There is no '--enable-artifact-registry' flag available when creating a GKE cluster.

  • E. Correct.

    Configuring Workload Identity allows GKE workloads to authenticate with Artifact Registry securely, without needing long-lived credentials.

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