GoConqr has a new look! Let us know what you think.

Quiz

Untitled

Alexandru Bancila 39 questions

Take the quiz

Questions in this quiz (39)

  1. 1You migrated your applications to Google Cloud Platform and kept your existing monitoring platform. You now find that your notification system is too slow for time critical problems.
    What should you do?
    1. AMigrate some traffic back to your old platform and perform AB testing on the two platforms concurrently.
    2. BReplace your entire monitoring platform with Stackdriver.
    3. CInstall the Stackdriver agents on your Compute Engine instances.
    4. DUse Stackdriver to capture and alert on logs, then ship them to your existing platform.
  2. 2For this question, refer to the HipLocal case study.
    HipLocal's application uses Cloud Client Libraries to interact with Google Cloud. HipLocal needs to configure authentication and authorization in the Cloud Client Libraries to implement least privileged access for the application. What should they do?
    1. ACreate an API key. Use the API key to interact with Google Cloud.
    2. BUse the default compute service account to interact with Google Cloud.
    3. CCreate a service account for the application and for each Google Cloud API used by the application.
      Export and deploy the private keys used by the application. Use the service account with one Google Cloud API to interact with Google Cloud.
    4. DCreate a service account for the application. Export and deploy the private key for the application. Use the service account to interact with Google Cloud.
  3. 3You are developing an ecommerce web application that uses App Engine standard environment and Memorystore for Redis. When a user logs into the app, the application caches the user's information (e.g., session, name, address, preferences), which is stored for quick retrieval during checkout.
    While testing your application in a browser, you get a 502 Bad Gateway error. You have determined that the application is not connecting to Memorystore. What is the reason for this error?
    1. AThe firewall rule allowing a connection between App Engine and Memorystore was removed during an infrastructure update by the DevOps team.
    2. BYour Memorystore for Redis instance was deployed without a public IP address.
    3. CYou configured your Serverless VPC Access connector in a different region than your App Engine instance.
    4. DYou configured your application to use a Serverless VPC Access connector on a different subnet in a different availability zone than your App Engine instance.
  4. 4You are a lead developer working on a new retail system that runs on Cloud Run and Firestore. A web UI requirement is for the user to be able to browse through alt products. A few months after go-live, you notice that Cloud Run instances are terminated with HTTP 500: Container instances are exceeding memory limits errors during busy times This error coincides with spikes in the number of Firestore queries You need to prevent Cloud Run from crashing and decrease the number of Firestore queries. You want to use a solution that optimizes system performance What should you do?
    1. AModify the query that returns the product list using integer offsets
    2. BModify the query that returns the product list using cursors with limits
    3. CModify the Cloud Run configuration to increase the memory limits
    4. DCreate a custom jndex over the products
  5. 5You are a developer at a large organization. You have an application written in Go running in a production Google Kubernetes Engine (GKE) cluster. You need to add a new feature that requires access to BigQuery.
    You want to grant BigQuery access to your GKE cluster following Google-recommended best practices. What should you do?
    1. ACreate a Google service account with BigQuery access. Add the Google service account JSON key to Secret Manager, and use an init container to access the secret for the application to use.
    2. BCreate a Google service account and a Kubernetes service account. Configure Workload Identity on the GKE cluster, and reference the Kubernetes service account on the application Deployment.
    3. CCreate a Google service account with BigQuery access. Add the Google service account JSON key as a Kubernetes secret, and configure the application to use this secret.
    4. DCreate a Google service account with BigQuery access. Add the JSON key to Secret Manager, and use the Go client library to access the JSON key.
  6. 6HipLocal is configuring their access controls.
    Which firewall configuration should they implement?
    1. AAllow all traffic on port 443 into the network.
    2. BBlock all traffic on port 443.
    3. CAllow all traffic into the network.
    4. DAllow traffic on port 443 for a specific tag.
  7. 7You want to notify on-call engineers about a service degradation in production while minimizing development time.
    What should you do?
    1. AUse Cloud Pub/Sub to monitor resources and raise alerts.
    2. BUse Stackdriver Error Reporting to capture errors and raise alerts.
    3. CUse Cloud Function to monitor resources and raise alerts.
    4. DUse Stackdriver Monitoring to monitor resources and raise alerts.
  8. 8You are deploying your application on a Compute Engine instance that communicates with Cloud SQL. You will use Cloud SQL Proxy to allow your application to communicate to the database using the service account associated with the application's instance. You want to follow the Google-recommended best practice of providing minimum access for the role assigned to the service account. What should you do?
    1. AAssign the Cloud SQL Client role.
    2. BAssign the Cloud SQL Editor role.
    3. CAssign the Project Owner role.
    4. DAssign the Project Editor role.
  9. 9Your application is logging to Stackdriver. You want to get the count of all requests on all /api/alpha/* endpoints.
    What should you do?
    1. AExport the logs to Cloud Storage and count lines matching /api/alphA.
    2. BExport the logs to Cloud Pub/Sub and count lines matching /api/alphA.
    3. CAdd a Stackdriver counter metric for path:/api/alpha/.
    4. DAdd a Stackdriver counter metric for endpoint:/api/alpha/*.
  10. 10Your organization has recently begun an initiative to replatform their legacy applications onto Google Kubernetes Engine. You need to decompose a monolithic application into microservices. Multiple instances have read and write access to a configuration file, which is stored on a shared file system. You want to minimize the effort required to manage this transition, and you want to avoid rewriting the application code.
    What should you do?
    1. ACreate a new ConfigMap and volumeMount to store the contents of the configuration file.
    2. BCreate a new Cloud Storage bucket, and mount it via FUSE in the container.
    3. CCreate a new persistent disk, and mount the volume as a shared PersistentVolume.
    4. DCreate a new Filestore instance, and mount the volume as an NFS PersistentVolume.

Information

Description
Quiz on Untitled, created by Alexandru Bancila on 02/05/2025.
Language
English
Views
0
Tags
1000
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?