Topic 2: Misc. Questions
Your team is setting up a build pipeline for an application that will run in Google Kubernetes Engine (GKE). For security reasons, you only want images produced by the pipeline to be deployed to your GKE cluster. Which combination of Google Cloud services should you use?
A. Google Cloud Deploy. Artifact Registry, and Google Cloud Armor
B. Google Cloud Deploy, Cloud Storage and Google Cloud Armor
C. Cloud Build, Cloud Storage, and Binary Authorization
D. Cloud Build. Artifact Registry and Binary Authorization
Your team develops services that run on Google Kubernetes Engine. You need to standardize their log data using Google-recommended practices and make the data more useful in the fewest number of steps. What should you do? (Choose two.)
A. Create aggregated exports on application logs to BigQuery to facilitate log analytics.
B. Create aggregated exports on application logs to Cloud Storage to facilitate log analytics.
C. Write log output to standard output (stdout) as single-line JSON to be ingested into Cloud Logging as structured logs.
D. Mandate the use of the Logging API in the application code to write structured logs to Cloud Logging.
E. Mandate the use of the Pub/Sub API to write structured data to Pub/Sub and create a Dataflow streaming pipeline to normalize logs and write them to BigQuery for analytics.
You recently developed an application that monitors a large number of stock prices. You
need to configure Pub/Sub to receive a high volume messages and update the current
stock price in a single large in-memory database The downstream service needs only the
most up-to-date prices in the in-memory database to perform stock trading transactions.
Each message contains three pieces of information.
• Stock symbol
• Stock price
• Timestamp for the update
.
How should you set up your Pub/Sub subscription?
A. Create a pull subscription with both ordering and exactly-once delivery turned off
B. Create a pull subscription with exactly-once delivery enabled
C. Create a push subscription with exactly-once delivery enabled
D. Create a push subscription with both ordering and exactly-once delivery turned off
You have an application deployed in Google Kubernetes Engine (GKE) that reads and processes Pub/Sub messages. Each Pod handles a fixed number of messages per minute. The rate at which messages are published to the Pub/Sub topic varies considerably throughout the day and week, including occasional large batches of messages published at a single moment. You want to scale your GKE Deployment to be able to process messages in a timely manner. What GKE feature should you use to automatically adapt your workload?
A. Vertical Pod Autoscaler in Auto mode
B. Vertical Pod Autoscaler in Recommendation mode
C. Horizontal Pod Autoscaler based on an external metric
D. Horizontal Pod Autoscaler based on resources utilization
Your development team has built several Cloud Functions using Java along with corresponding integration and service tests. You are building and deploying the functions and launching the tests using Cloud Build. Your Cloud Build job is reporting deployment failures immediately after successfully validating the code. What should you do?
A. Check the maximum number of Cloud Function instances
B. Verify that your Cloud Build trigger has the correct build parameters
C. Retry the tests using the truncated exponential backoff polling strategy
D. Verify that the Cloud Build service account is assigned the Cloud Functions Developer role.
Page 2 out of 51 Pages |
Previous |