You recently migrated an ecommerce application to Google Cloud. You now need to prepare the application for the upcoming peak traffic season. You want to follow Google-recommended practices. What should you do first to prepare for the busy season?
A. Migrate the application to Cloud Run, and use autoscaling.
B. Pre-provision the additional compute power that was used last season, and expect growth.
C. Load test the application to profile its performance for scaling.
D. Create a Terraform configuration for the application's underlying infrastructure to quickly deploy to additional regions.
正解:C
解説: (Pass4Test メンバーにのみ表示されます)
質問 2:
Your company wants to implement a CD pipeline in Cloud Deploy for a web service deployed to GKE. The web service currently does not have any automated testing. The Quality Assurance team must manually verify any new releases of the web service before any production traffic is processed. You need to design the CD pipeline. What should you do?
A. Create two pipeline stages, and use a canary deployment strategy.
B. Create a single pipeline stage, and use a canary deployment strategy.
C. Create two pipeline stages, and use a standard deployment strategy.
D. Create a single pipeline stage, and use a standard deployment strategy.
正解:C
解説: (Pass4Test メンバーにのみ表示されます)
質問 3:
You support a trading application written in Python and hosted on App Engine flexible environment. You want to customize the error information being sent to Stackdriver Error Reporting. What should you do?
A. Install the Stackdriver Error Reporting library for Python, and then run your code on Google Kubernetes Engine.
B. Install the Stackdriver Error Reporting library for Python, and then run your code on App Engine flexible environment.
C. Install the Stackdriver Error Reporting library for Python, and then run your code on a Compute Engine VM.
D. Use the Stackdriver Error Reporting API to write errors from your application to ReportedErrorEvent, and then generate log entries with properly formatted error messages in Stackdriver Logging.
正解:D
解説: (Pass4Test メンバーにのみ表示されます)
質問 4:
You need to enforce several constraint templates across your Google Kubernetes Engine (GKE) clusters. The constraints include policy parameters, such as restricting the Kubernetes API. You must ensure that the policy parameters are stored in a GitHub repository and automatically applied when changes occur. What should you do?
A. When there is a change in GitHub, use a webhook to send a request to Cloud Service Mesh, and apply the change.
B. Configure Config Connector with the GitHub repository. When there is a change in the repository, use Config Connector to apply the change.
C. Configure Config Sync with the GitHub repository. When there is a change in the repository, use Config Sync to apply the change.
D. Set up a GitHub action to trigger Cloud Build when there is a parameter change. In Cloud Build, run a gcloud CLI command to apply the change.
正解:C
解説: (Pass4Test メンバーにのみ表示されます)
質問 5:
Your application images are built and pushed to Google Container Registry (GCR). You want to build an automated pipeline that deploys the application when the image is updated while minimizing the development effort. What should you do?
A. Use a custom builder in Cloud Build to trigger a Jenkins pipeline.
B. Use Cloud Pub/Sub to trigger a Spinnaker pipeline.
C. Use Cloud Pub/Sub to trigger a custom deployment service running in Google Kubernetes Engine (GKE).
D. Use Cloud Build to trigger a Spinnaker pipeline.
正解:B
解説: (Pass4Test メンバーにのみ表示されます)
質問 6:
You are ready to deploy a new feature of a web-based application to production. You want to use Google Kubernetes Engine (GKE) to perform a phased rollout to half of the web server pods.
What should you do?
A. Use a partitioned rolling update.
B. Use a replica set in the deployment specification.
C. Use Node taints with NoExecute.
D. Use a stateful set with parallel pod management policy.
正解:A
解説: (Pass4Test メンバーにのみ表示されます)
質問 7:
Your company operates in a highly regulated domain. Your security team requires that only trusted container images can be deployed to Google Kubernetes Engine (GKE). You need to implement a solution that meets the requirements of the security team, while minimizing management overhead. What should you do?
A. Grant the roles/artifactregistry. writer role to the Cloud Build service account. Confirm that no employee has Artifact Registry write permission.
B. Use Cloud Run to write and deploy a custom validator Enable an Eventarc trigger to perform validations when new images are uploaded.
C. Configure Binary Authorization in your GKE clusters to enforce deploy-time security policies
D. Configure Kritis to run in your GKE clusters to enforce deploy-time security policies.
正解:C
質問 8:
Your company recently migrated to Google Cloud. You need to design a fast, reliable, and repeatable solution for your company to provision new projects and basic resources in Google Cloud. What should you do?
A. Write a Terraform module and save it in your source control repository. Copy and run the apply command to create the new project.
B. Use the Terraform repositories from the Cloud Foundation Toolkit. Apply the code with appropriate parameters to create the Google Cloud project and related resources.
C. Write a script by using the gcloud CLI that passes the appropriate parameters from the request. Save the script in a Git repository.
D. Use the Google Cloud console to create projects.
正解:B
解説: (Pass4Test メンバーにのみ表示されます)
質問 9:
You are developing reusable infrastructure as code modules. Each module contains integration tests that launch the module in a test project. You are using GitHub for source control. You need to Continuously test your feature branch and ensure that all code is tested before changes are accepted. You need to implement a solution to automate the integration tests. What should you do?
A. Use Cloud Build to run tests in a specific folder. Trigger Cloud Build for every GitHub pull request.
B. Ask the pull request reviewers to run the integration tests before approving the code.
C. Use Cloud Build to run the tests. Trigger all tests to run after a pull request is merged.
D. Use a Jenkins server for Cl/CD pipelines. Periodically run all tests in the feature branch.
正解:A
解説: (Pass4Test メンバーにのみ表示されます)
田崎** -
仕事で使うようになり勉強開始。Professional-Cloud-DevOps-Engineer問題集で準備するのに数日しかかかりませんでした。