Summer Certification Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Pass the Google Google Cloud Certified Associate-Cloud-Engineer Questions and answers with CertsForce

Viewing page 9 out of 11 pages
Viewing questions 81-90 out of questions
Questions # 81:

You are using Deployment Manager to create a Google Kubernetes Engine cluster. Using the same Deployment Manager deployment, you also want to create a DaemonSet in the kube-system namespace of the cluster. You want a solution that uses the fewest possible services. What should you do?

Options:

A.

Add the cluster’s API as a new Type Provider in Deployment Manager, and use the new type to create the DaemonSet.


B.

Use the Deployment Manager Runtime Configurator to create a new Config resource that contains the DaemonSet definition.


C.

With Deployment Manager, create a Compute Engine instance with a startup script that uses kubectl to create the DaemonSet.


D.

In the cluster’s definition in Deployment Manager, add a metadata that has kube-system as key and the DaemonSet manifest as value.


Expert Solution
Questions # 82:

You’ve deployed a microservice called myapp1 to a Google Kubernetes Engine cluster using the YAML file specified below:

Question # 82

You need to refactor this configuration so that the database password is not stored in plain text. You want to follow Google-recommended practices. What should you do?

Options:

A.

Store the database password inside the Docker image of the container, not in the YAML file.


B.

Store the database password inside a Secret object. Modify the YAML file to populate the DB_PASSWORD environment variable from the Secret.


C.

Store the database password inside a ConfigMap object. Modify the YAML file to populate the DB_PASSWORD environment variable from the ConfigMap.


D.

Store the database password in a file inside a Kubernetes persistent volume, and use a persistent volume claim to mount the volume to the container.


Expert Solution
Questions # 83:

You are a Google Cloud organization administrator. You need to configure organization policies and log sinks on Google Cloud projects that cannot be removed by project users to comply with your company ' s security policies. The security policies are different for each company department Each company department has a user with the Project Owner role assigned to their projects. What should you do?

Options:

A.

Organize projects under folders for each department. Configure both organization policies and log sinks on the folders


B.

Organize projects under folders for each department. Configure organization policies on the organization and log sinks on the folders.


C.

Use a standard naming convention for projects that includes the department name. Configure organization policies on the organization and log sinks on the projects.


D.

Use a standard naming convention for projects that includes the department name. Configure both organization policies and log sinks on the projects.


Expert Solution
Questions # 84:

Your company is running a three-tier web application on virtual machines that use a MySQL database. You need to create an estimated total cost of cloud infrastructure to run this application on Google Cloud instances and Cloud SQL. What should you do?

Options:

A.

Use the Google Cloud Pricing Calculator to determine the cost of every Google Cloud resource you expect to use. Use similar size instances for the web server, and use your current on-premises machines as a comparison for Cloud SQL.


B.

Implement a similar architecture on Google Cloud, and run a reasonable load test on a smaller scale. Check the billing information, and calculate the estimated costs based on the real load your system usually handles.


C.

Use the Google Cloud Pricing Calculator and select the Cloud Operations template to define your web application with as much detail as possible.


D.

Create a Google spreadsheet with multiple Google Cloud resource combinations. On a separate sheet, import the current Google Cloud prices and use these prices for the calculations within formulas.


Expert Solution
Questions # 85:

You are designing an application that uses WebSockets and HTTP sessions that are not distributed across the web servers. You want to ensure the application runs properly on Google Cloud Platform. What should you do?

Options:

A.

Meet with the cloud enablement team to discuss load balancer options.


B.

Redesign the application to use a distributed user session service that does not rely on WebSockets and HTTP sessions.


C.

Review the encryption requirements for WebSocket connections with the security team.


D.

Convert the WebSocket code to use HTTP streaming.


Expert Solution
Questions # 86:

You want to configure autohealing for network load balancing for a group of Compute Engine instances that run in multiple zones, using the fewest possible steps. You need to configure re-creation of VMs if they are unresponsive after 3 attempts of 10 seconds each. What should you do?

Options:

A.

Create an HTTP load balancer with a backend configuration that references an existing instance group. Set the health check to healthy (HTTP).


B.

Create an HTTP load balancer with a backend configuration that references an existing instance group. Define a balancing mode and set the maximum RPS to 10.


C.

Create a managed instance group. Set the Autohealing health check to healthy (HTTP).


D.

Create a managed instance group. Verify that the autoscaling setting is on.


Expert Solution
Questions # 87:

You want to send and consume Cloud Pub/Sub messages from your App Engine application. The Cloud Pub/Sub API is currently disabled. You will use a service account to authenticate yourapplication to the API. You want to make sure your application can use Cloud Pub/Sub. What should you do?

Options:

A.

Enable the Cloud Pub/Sub API in the API Library on the GCP Console.


B.

Rely on the automatic enablement of the Cloud Pub/Sub API when the Service Account accesses it.


C.

Use Deployment Manager to deploy your application. Rely on the automatic enablement of all APIs used by the application being deployed.


D.

Grant the App Engine Default service account the role of Cloud Pub/Sub Admin. Have your application enable the API on the first connection to Cloud Pub/Sub.


Expert Solution
Questions # 88:

You need to set a budget alert for use of Compute Engineer services on one of the three Google Cloud Platform projects that you manage. All three projects are linked to a single billing account. What should you do?

Options:

A.

Verify that you are the project billing administrator. Select the associated billing account and create a budget and alert for the appropriate project.


B.

Verify that you are the project billing administrator. Select the associated billing account and create a budget and a custom alert.


C.

Verify that you are the project administrator. Select the associated billing account and create a budget for the appropriate project.


D.

Verify that you are project administrator. Select the associated billing account and create a budget and a custom alert.


Expert Solution
Questions # 89:

You are deploying a production application on Compute Engine. You want to prevent anyone from accidentally destroying the instance by clicking the wrong button. What should you do?

Options:

A.

Disable the flag “Delete boot disk when instance is deleted.”


B.

Enable delete protection on the instance.


C.

Disable Automatic restart on the instance.


D.

Enable Preemptibility on the instance.


Expert Solution
Questions # 90:

You need to deploy an application in Google Cloud using savorless technology. You want to test a new version of the application with a small percentage of production traffic. What should you do?

Options:

A.

Deploy the application lo Cloud. Run. Use gradual rollouts for traffic splitting .


B.

Deploy the application lo Google Kubemetes Engine. Use Anthos Service Mesh for traffic splitting.


C.

Deploy the application to Cloud functions. Saucily the version number in the functions name.


D.

Deploy the application to App Engine. For each new version, create a new service.


Expert Solution
Viewing page 9 out of 11 pages
Viewing questions 81-90 out of questions