Spring Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Pass the Google Cloud DevOps Engineer Professional-Cloud-DevOps-Engineer Questions and answers with CertsForce

Viewing page 4 out of 6 pages
Viewing questions 31-40 out of questions
Questions # 31:

Your organization recently adopted a container-based workflow for application development. Your team develops numerous applications that are deployed continuously through an automated build pipeline to the production environment. A recent security audit alerted your team that the code pushed to production could contain vulnerabilities and that the existing tooling around virtual machine (VM) vulnerabilities no longer applies to the containerized environment. You need to ensure the security and patch level of all code running through the pipeline. What should you do?

Options:

A.

Set up Container Analysis to scan and report Common Vulnerabilities and Exposures.


B.

Configure the containers in the build pipeline to always update themselves before release.


C.

Reconfigure the existing operating system vulnerability software to exist inside the container.


D.

Implement static code analysis tooling against the Docker files used to create the containers.


Expert Solution
Questions # 32:

You support a high-traffic web application and want to ensure that the home page loads in a timely manner. As a first step, you decide to implement a Service Level Indicator (SLI) to represent home page request latency with an acceptable page load time set to 100 ms. What is the Google-recommended way of calculating this SLI?

Options:

A.

Buckelize Ihe request latencies into ranges, and then compute the percentile at 100 ms.


B.

Bucketize the request latencies into ranges, and then compute the median and 90th percentiles.


C.

Count the number of home page requests that load in under 100 ms, and then divide by the total number of home page requests.


D.

Count the number of home page requests that load in under 100 ms. and then divide by the total number of all web application requests.


Expert Solution
Questions # 33:

You deploy a new release of an internal application during a weekend maintenance window when there is minimal user traffic. After the window ends, you learn that one of the new features isn't working as expected in the production environment. After an extended outage, you roll back the new release and deploy a fix. You want to modify your release process to reduce the mean time to recovery so you can avoid extended outages in the future. What should you do?

Choose 2 answers

Options:

A.

Before merging new code, require 2 different peers to review the code changes.


B.

Adopt the blue/green deployment strategy when releasing new code via a CD server.


C.

Integrate a code linting tool to validate coding standards before any code is accepted into the repository.


D.

Require developers to run automated integration tests on their local development environments before release.


E.

Configure a CI server.Add a suite of unit tests to your code and have your CI server run them on commit and verify any changes.


Expert Solution
Questions # 34:

You recently noticed that one of your services has exceeded the error budget for the current rolling window period. Your company’s product team is about to launch a new feature. You want to follow Site Reliability Engineering (SRE) practices. What should you do?

Options:

A.

Notify the team about the lack of error budget and ensure that all their tests are successful so the launch will not further risk the error budget.


B.

Notify the team that their error budget is used up. Negotiate with the team for a launch freeze or tolerate a slightly worse user experience.


C.

Escalate the situation and request additional error budget.


D.

Look through other metrics related to the product and find SLOs with remaining error budget. Reallocate the error budgets and allow the feature launch.


Expert Solution
Questions # 35:

Your company uses a CI/CD pipeline with Cloud Build and Artifact Registry to deploy container images to Google Kubernetes Engine (GKE). Images are tagged with the latest commit hash and promoted to production after successful testing in the development and pre-production environments. A recent production deployment caused the application to fail due to untested integration functionality, requiring a disruptive manual rollback. During the rollback, you noticed many old and unused container images accumulating in Artifact Registry. You need to improve rollout and rollback management and clean up the old container images. What should you do?

Options:

A.

Adopt Cloud Deploy for managing deployments, and schedule a Cloud Build job for container image cleanup.


B.

Deploy Cloud Service Mesh across the GKE clusters, and manually clean up Artifact Registry images.


C.

Adopt Cloud Deploy for managing deployments, and implement an Artifact Registry cleanup policy.


D.

Set up a rollback pipeline in Cloud Build, and implement an Artifact Registry cleanup policy.


Expert Solution
Questions # 36:

You manage your company's primary revenue-generating application. You have an error budget policy in place that freezes production deployments when the application is close to breaching its SLO. A number of issues have recently occurred, and the application has exhausted its error budget. You need to deploy a new release to the application that includes a feature urgently required by your largest customer. You have been told that the release has passed all unit tests. What should you do?

Options:

A.

Start the deployment of the feature immediately.


B.

Delay the deployment of the feature until the error budget is replenished.


C.

Re-run the unit tests, and start the deployment of the feature if the tests pass.


D.

Deploy the feature to a subset of users, and gradually roll out to all users if there are no errors reported.


Expert Solution
Questions # 37:

Your application images are built using Cloud Build and pushed to Google Container Registry (GCR). You want to be able to specify a particular version of your application for deployment based on the release version tagged in source control. What should you do when you push the image?

Options:

A.

Reference the image digest in the source control tag.


B.

Supply the source control tag as a parameter within the image name.


C.

Use Cloud Build to include the release version tag in the application image.


D.

Use GCR digest versioning to match the image to the tag in source control.


Expert Solution
Questions # 38:

You are building the Cl/CD pipeline for an application deployed to Google Kubernetes Engine (GKE) The application is deployed by using a Kubernetes Deployment, Service, and Ingress The application team asked you to deploy the application by using the blue'green deployment methodology You need to implement the rollback actions What should you do?

Options:

A.

Run the kubectl rollout undo command


B.

Delete the new container image, and delete the running Pods


C.

Update the Kubernetes Service to point to the previous Kubernetes Deployment


D.

Scale the new Kubernetes Deployment to zero


Expert Solution
Questions # 39:

Your organization uses a change advisory board (CAB) to approve all changes to an existing service You want to revise this process to eliminate any negative impact on the software delivery performance What should you do?

Choose 2 answers

Options:

A.

Replace the CAB with a senior manager to ensure continuous oversight from development to deployment


B.

Let developers merge their own changes but ensure that the team's deployment platform can roll back changes if any issues are discovered


C.

Move to a peer-review based process for individual changes that is enforced at code check-in time and supported by automated tests


D.

Batch changes into larger but less frequent software releases


E.

Ensure that the team's development platform enables developers to get fast feedback on the impact of their changes


Expert Solution
Questions # 40:

You are designing a deployment technique for your applications on Google Cloud. As part Of your deployment planning, you want to use live traffic to gather performance metrics for new versions Ofyour applications. You need to test against the full production load before your applications are launched. What should you do?

Options:

A.

Use A/B testing with blue/green deployment.


B.

Use shadow testing with continuous deployment.


C.

Use canary testing with continuous deployment.


D.

Use canary testing with rolling updates deployment,


Expert Solution
Viewing page 4 out of 6 pages
Viewing questions 31-40 out of questions