You have an application deployed in production. When a new version is deployed, some issues don't arise until the application receives traffic from users in production. You want to reduce both the impact and the number of users affected.
Which deployment strategy should you use?
A. Blue/green deployment
B. Rolling deployment
C. Canary deployment
D. Recreate deployment
正解:A
解説: (Pass4Test メンバーにのみ表示されます)
質問 2:
You need to configure a Deployment on Google Kubernetes Engine (GKE). You want to include a check that verifies that the containers can connect to the database. If the Pod is failing to connect, you want a script on the container to run to complete a graceful shutdown. How should you configure the Deployment?
A. Create the Deployment with an initContainer that checks the service availability. Configure a Prestop lifecycle handler that runs the shutdown script if the Pod is failing.
B. Create two jobs: one that checks whether the container can connect to the database, and another that runs the shutdown script if the Pod is failing.
C. Create the Deployment with a livenessProbe for the container that will fail if the container can't connect to the database. Configure a Prestop lifecycle handler that runs the shutdown script if the container is failing.
D. Create the Deployment with a PostStart lifecycle handler that checks the service availability. Configure a PreStop lifecycle handler that runs the shutdown script if the container is failing.
正解:C
解説: (Pass4Test メンバーにのみ表示されます)
質問 3:
You are planning to deploy your application in a Google Kubernetes Engine (GKE) cluster. Your application can scale horizontally, and each instance of your application needs to have a stable network identity and its own persistent disk.
Which GKE object should you use?
A. StatefulSet
B. ReplicaController
C. ReplicaSet
D. Deployment
正解:A
解説: (Pass4Test メンバーにのみ表示されます)
質問 4:
You have an application deployed in production. When a new version is deployed, you want to ensure that all production traffic is routed to the new version of your application. You also want to keep the previous version deployed so that you can revert to it if there is an issue with the new version.
Which deployment strategy should you use?
A. Blue/green deployment
B. Rolling deployment
C. Canary deployment
D. Recreate deployment
正解:A
質問 5:
You have a web application that publishes messages to Pub/Sub. You plan to build new versions of the application locally and need to quickly test Pub/Sub integration tor each new build. How should you configure local testing?
A. Install Cloud Code on the integrated development environment (IDE) Navigate to Cloud APIs, and enable Pub/Sub against a valid Google Project ID. When developing locally, configure your application to call pubsub.googleapis com
B. Install the Pub/Sub emulator using gcloud and start the emulator with a valid Google Project ID. When developing locally, configure your application to use the local emulator by exporting the fuhsub emulator Host variable
C. In the Google Cloud console, navigate to the API Library and enable the Pub/Sub API When developing locally, configure your application to call pubsub.googleapis com
D. Run the gclcud config set api_endpoint_overrides/pubsub https: / 'pubsubemulator.googleapi3.com.
coin/ command to change the Pub/Sub endpoint prior to starting the application
正解:A
質問 6:
You are planning to deploy hundreds of microservices in your Google Kubernetes Engine (GKE) cluster. How should you secure communication between the microservices on GKE using a managed service?
A. Deploy open source Istio in your GKE cluster, and enable mTLS in your Service Mesh
B. Install cert-manager on GKE to automatically renew the SSL certificates.
C. Install Anthos Service Mesh, and enable mTLS in your Service Mesh.
D. Use global HTTP(S) Load Balancing with managed SSL certificates to protect your services
正解:C
解説: (Pass4Test メンバーにのみ表示されます)
質問 7:
Your company has a BigQuery data mart that provides analytics information to hundreds of employees. One user of wants to run jobs without interrupting important workloads. This user isn't concerned about the time it takes to run these jobs. You want to fulfill this request while minimizing cost to the company and the effort required on your part.
What should you do?
A. Allow the user to run jobs when important workloads are not running.
B. Add the user as a job.user role in the existing project.
C. Ask the user to run the jobs as batch jobs.
D. Create a separate project for the user to run jobs.
正解:D
質問 8:
You manage an ecommerce application that processes purchases from customers who can subsequently cancel or change those purchases. You discover that order volumes are highly variable and the backend order-processing system can only process one request at a time. You want to ensure seamless performance for customers regardless of usage volume. It is crucial that customers' order update requests are performed in the sequence in which they were generated. What should you do?
A. Use a Pub/Sub subscriber in pull mode and use a data store to manage ordering.
B. Send the purchase and change requests as REST requests to the backend.
C. Use a Pub/Sub subscriber in push mode and use a data store to manage ordering.
D. Send the purchase and change requests over WebSockets to the backend.
正解:A
解説: (Pass4Test メンバーにのみ表示されます)
清水** -
休みの時間をかけて練習を全部勉強して、試験合格しました。よかったです。ありがとうございました。