Cloud Logging and Kubernetes Management Quiz
24 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What should you do to minimize costs while using Cloud Logging with BigQuery?

  • Create a logs export with Cloud Pub/Sub and configure a Cloud Function to filter logs.
  • Filter Compute Engine logs and create a BigQuery export as a sink. (correct)
  • Assign the BigQuery Data Editor role to service accounts and set the logs destination.
  • Create a Cloud Function to execute a query and use Cloud Scheduler to run it daily.
  • Which option utilizes the fewest services when creating a DaemonSet in a Kubernetes cluster with Deployment Manager?

  • Create a Compute Engine instance with a startup script to use kubectl for the DaemonSet.
  • Add the cluster's API as a new Type Provider and create the DaemonSet.
  • Add a metadata entry in the cluster's definition with the DaemonSet manifest. (correct)
  • Use the Runtime Configurator to create a Config resource with the DaemonSet definition.
  • In a cloud logging context, what role should be assigned to service accounts to permit them to write logs to BigQuery?

  • BigQuery Data Owner
  • Cloud Logging Admin
  • BigQuery Viewer
  • BigQuery Data Editor (correct)
  • Which strategy is NOT a recommended method for log retention in Google Cloud Logging?

    <p>Setting a global retention policy for all logs.</p> Signup and view all the answers

    What service can be used to monitor and filter specific logs for a Kubernetes cluster?

    <p>Cloud Pub/Sub</p> Signup and view all the answers

    When configuring a service to run a DaemonSet, which Kubernetes object is essential?

    <p>DaemonSet</p> Signup and view all the answers

    What is the primary purpose of using Cloud Scheduler in a logging architecture?

    <p>To automate the triggering of log-related functions.</p> Signup and view all the answers

    Which service type should you create to expose an application on a public IP address using HTTPS in Google Kubernetes Engine?

    <p>Create a Service of type NodePort with Ingress to expose via Cloud Load Balancer.</p> Signup and view all the answers

    What is the first step to estimate costs for a Kubernetes cluster using GCP's pricing calculator?

    <p>Enter the number of nodes, average hours, and average days.</p> Signup and view all the answers

    Which option provides an efficient way to streamline Kubernetes resource deployment via Deployment Manager?

    <p>Combining resource metadata into a single deployment configuration.</p> Signup and view all the answers

    How can you improve an application's exposure to public traffic in a GKE cluster with autoscaling enabled?

    <p>Create a Service of type LoadBalancer with HTTPS configuration.</p> Signup and view all the answers

    What is the primary benefit of using persistent disk storage in GCP?

    <p>It allows for high IOPs and data persistence across node failures.</p> Signup and view all the answers

    Which approach is incorrect for configuring public access to an application in GKE?

    <p>Configure DNS to point directly to a ClusterIP service.</p> Signup and view all the answers

    When should you use the local SSD option in GCP?

    <p>When you require high throughput and low latency for temporary storage.</p> Signup and view all the answers

    What is a mistake when estimating costs for high IOPs workloads in GCP Kubernetes?

    <p>Neglecting to include GPU costs for performance scaling.</p> Signup and view all the answers

    Which configuration is optimal for maintaining high availability and accessibility of your application on GKE?

    <p>Deploy multiple replicas with a Service of type LoadBalancer.</p> Signup and view all the answers

    What is the most appropriate way to grant an auditor access to read project items without modifying them?

    <p>Select the built-in IAM project Viewer role and add the user's account to this role.</p> Signup and view all the answers

    How can two groups of Compute Engine instances from different GCP projects communicate?

    <p>Share the VPC from one project with the Compute Engine instances in the other project.</p> Signup and view all the answers

    What should you do to provide your Machine Learning team access to Nvidia Tesla P100 GPUs in a GKE cluster?

    <p>Deploy a custom GKE cluster with specialized nodes for GPU workloads.</p> Signup and view all the answers

    Which of the following approaches best represents a log retention strategy in a GCP environment?

    <p>Configure logs to be deleted after one year to save space.</p> Signup and view all the answers

    When managing billing accounts in GCP, which practice should be avoided?

    <p>Assign billing account permissions to all users in the organization.</p> Signup and view all the answers

    Which service type in GKE is most suitable for running long-lived applications?

    <p>Deployments</p> Signup and view all the answers

    In the context of IAM roles, which option is most aligned with providing minimal necessary permissions?

    <p>Create a custom role with only the necessary permissions for the task.</p> Signup and view all the answers

    What is essential for ensuring proper access and management of GPUs in GKE clusters for specific workloads?

    <p>Use node pools with GPUs and configure workload permissions accordingly.</p> Signup and view all the answers

    More Like This

    Use Quizgecko on...
    Browser
    Browser