Your company just experienced a Google Kubernetes Engine (GKE) API outage due to a zone failure. You want to deploy a highly available GKE architecture that minimizes service interruption to users in the event of a future zone failure. What should you do?
A. Deploy GKE on-premises clusters
B. Deploy Zonal clusters
C. Deploy Regional clusters
D. Deploy Multi-Zone clusters
正解:C
解説: (Pass4Test メンバーにのみ表示されます)
質問 2:
You are developing an application that reads credit card data from a Pub/Sub subscription. You have written code and completed unit testing. You need to test the Pub/Sub integration before deploying to Google Cloud. What should you do?
A. Create a service to publish messages, and deploy the Pub/Sub emulator. Publish a standard set of testing messages from the publishing service to the emulator.
B. Create a service to publish messages, and deploy the Pub/Sub emulator. Collect the messages from Pub/Sub in production, and publish them to the emulator.
C. Create a service to publish messages, and deploy the Pub/Sub emulator. Generate random content in the publishing service, and publish to the emulator.
D. Create a service to publish messages to your application. Collect the messages from Pub/Sub in production, and replay them through the publishing service.
正解:A
質問 3:
You deployed a new application to Google Kubernetes Engine and are experiencing some performance degradation. Your logs are being written to Cloud Logging, and you are using a Prometheus sidecar model for capturing metrics. You need to correlate the metrics and data from the logs to troubleshoot the performance issue and send real-time alerts while minimizing costs. What should you do?
A. Export the Cloud Logging logs and stream the Prometheus metrics to BigQuery. Run a recurring query to join the results, and send notifications using Cloud Tasks.
B. Export the Prometheus metrics and use Cloud Monitoring to view them as external metrics. Configure Cloud Monitoring to create log-based metrics from the logs, and correlate them with the Prometheus data.
C. Create custom metrics from the Cloud Logging logs, and use Prometheus to import the results using the Cloud Monitoring REST API.
D. Export the Cloud Logging logs and the Prometheus metrics to Cloud Bigtable. Run a query to join the results, and analyze in Google Data Studio.
正解:B
質問 4:
You want to migrate an on-premises container running in Knative to Google Cloud. You need to make sure that the migration doesn't affect your application's deployment strategy, and you want to use a fully managed service. Which Google Cloud service should you use to deploy your container?
A. Compute Engine
B. Cloud Run
C. App Engine flexible environment
D. Google Kubernetes Engine
正解:B
解説: (Pass4Test メンバーにのみ表示されます)
質問 5:
Which service should HipLocal use to enable access to internal apps?
A. Cloud Identity-Aware Proxy
B. Cloud Armor
C. Virtual Private Cloud
D. Cloud VPN
正解:A
質問 6:
You are deploying a microservices application to Google Kubernetes Engine (GKE) that will broadcast livestreams. You expect unpredictable traffic patterns and large variations in the number of concurrent users. Your application must meet the following requirements:
* Scales automatically during popular events and maintains high availability
* Is resilient in the event of hardware failures
How should you configure the deployment parameters? (Choose two.)
A. Distribute your workload evenly using a multi-zonal node pool.
B. Create a managed instance group for Compute Engine with the cluster nodes. Configure autoscaling rules for the managed instance group.
C. Use cluster autoscaler to resize the number of nodes in the node pool, and use a Horizontal Pod Autoscaler to scale the workload.
D. Distribute your workload evenly using multiple zonal node pools.
E. Create alerting policies in Cloud Monitoring based on GKE CPU and memory utilization. Ask an on-duty engineer to scale the workload by executing a script when CPU and memory usage exceed predefined thresholds.
正解:A,C
質問 7:
Your company has deployed a new API to App Engine Standard environment. During testing, the API is not behaving as expected. You want to monitor the application over time to diagnose the problem within the application code without redeploying the application.
Which tool should you use?
A. Stackdriver Monitoring
B. Stackdriver Debug Logpoints
C. Stackdriver Trace
D. Stackdriver Debug Snapshots
正解:A
解説: (Pass4Test メンバーにのみ表示されます)
質問 8:
You plan to deploy a new application revision with a Deployment resource to Google Kubernetes Engine (GKE) in production. The container might not work correctly. You want to minimize risk in case there are issues after deploying the revision. You want to follow Google-recommended best practices. What should you do?
A. Perform a rolling update with a HorizontalPodAutoscaler scale-down policy value of 0.
B. Convert the Deployment to a StatefulSet, and perform a rolling update with a HorizontalPodAutoscaler scale-down policy value of 0.
C. Convert the Deployment to a StatefulSet, and perform a rolling update with a PodDisruptionBudget of 80%.
D. Perform a rolling update with a PodDisruptionBudget of 80%.
正解:D
解説: (Pass4Test メンバーにのみ表示されます)
Ogino -
Professional-Cloud-Developer試験によく出題される、最重要用語や問題傾向を掲載しているから気に入ってます。