Google Cloud Associate Cloud Engineer Exam MCQ With Answers GCP ACE 11

 

Associate Cloud Engineer

Google Cloud


Google Cloud Associate Cloud Engineer

Associate Cloud Engineers deploy applications, monitor operations, and manage enterprise solutions. They use Google Cloud Console and the command-line interface to perform common platform-based tasks to maintain one or more deployed solutions that leverage Google-managed or self-managed services on Google Cloud.


The Associate Cloud Engineer exam assesses your ability to:


  • Set up a cloud solution environment
  • Plan and configure a cloud solution
  • Deploy and implement a cloud solution
  • Ensure successful operation of a cloud solution
  • Configure access and security

About this certification exam


  • Length: 2 hours
  • Registration fee: $125 (plus tax where applicable)
  • Languages: English, Japanese, Spanish, Portuguese
  • Exam format: 50-60 multiple choice and multiple select questions

GOOGLE CLOUD ASSOCIATE CLOUD ENGINEER MCQ

 
1. Your company is hosting their static website on Cloud Storage. You have implemented a change to add PDF files to the website. However, when the user clicks on the PDF file link it downloads the PDF instead of opening it within the browser. What would you change to fix the issue?

  1. Set content-type as object metadata to application/octet-stream on the files
  2. Set content-type as object metadata to application/pdf on the files
  3. Set content-type as object metadata to application/octet-stream on the bucket
  4. Set content-type as object metadata to application/pdf on the bucket

Answer: Set content-type as object metadata to application/pdf on the files


2. You currently are running an application on a machine type with 2 vCPUs and 4gb RAM. However, recently there have been plenty of memory problems. How to increase the memory of the application with minimal downtime?

  1. In GCP console, upgrade the memory of the Compute Engine instance
  2. Use gcloud compute instances increase-memory to increase the memory
  3. Use Live migration to move to machine type with higher memory
  4. Use Live migration to move to machine type with higher CPU

Answer: Use Live migration to move to machine type with higher memory 


3. Your billing department has asked you to help them track spending against a specific billing account. They've indicated that they prefer SQL querying to create their reports so that they don't need to learn new tools. The data should be as latest as possible. Which export option would work best for them?

  1. File Export with JSON and load to Cloud SQL and provide Cloud SQL access to billing department
  2. Create a sink to BigQuery and provide BigQuery access to billing department
  3. Create a sink to Cloud SQL and provide Cloud SQL access to billing department
  4. File Export with CSV and load to Cloud SQL and provide Cloud SQL access to billing department

Answer: Create a sink to BigQuery and provide BigQuery access to billing department


4. Your company hosts multiple applications on Compute Engine instances. They want the instances to be resilient to any Host maintenance activities performed on the instance. How would you configure the instances?

  1. Set automaticRestart availability policy to true
  2. Set automaticRestart availability policy to false
  3. Set onHostMaintenance availability policy to migrate instances
  4. Set onHostMaintenance availability policy to terminate instances

Answer: Set onHostMaintenance availability policy to migrate instances


5. You are developing a financial trading application that will be used globally. Data is stored and queried using a relational structure, and clients from all over the world should get the exact identical state of the data. The application will be deployed in multiple regions to provide the lowest latency to end users. You need to select a storage option for the application data while minimizing latency. What should you do?

  1. Use Cloud Bigtable for data storage.
  2. Use Cloud SQL for data storage.
  3. Use Cloud Spanner for data storage.
  4. Use Firestore for data storage.

Answer: Use Cloud Spanner for data storage


6. You are about to deploy a new Enterprise Resource Planning (ERP) system on Google Cloud. The application holds the full database in-memory for fast data access, and you need to configure the most appropriate resources on Google Cloud for this application. What should you do?

  1. Provision preemptible Compute Engine instances.
  2. Provision Compute Engine instances with GPUs attached.
  3. Provision Compute Engine instances with local SSDs attached.
  4. Provision Compute Engine instances with M1 machine type.

Answer: Provision Compute Engine instances with M1 machine type.


7. You have developed an application that consists of multiple microservices, with each microservice packaged in its own Docker container image. You want to deploy the entire application on Google Kubernetes Engine so that each microservice can be scaled individually. What should you do?

  1. Create and deploy a Custom Resource Definition per microservice.
  2. Create and deploy a Docker Compose File.
  3. Create and deploy a Job per microservice.
  4. Create and deploy a Deployment per microservice.

Answer: Create and deploy a Deployment per microservice.


8. You will have several applications running on different Compute Engine instances in the same project. You want to specify at a more granular level the service account each instance uses when calling Google Cloud APIs. What should you do?

  1. When creating the instances, specify a Service Account for each instance.
  2. When creating the instances, assign the name of each Service Account as instance metadata.
  3. After starting the instances, use gcloud compute instances update to specify a Service Account for each instance.
  4. After starting the instances, use gcloud compute instances update to assign the name of the relevant Service Account as instance metadata.

Answer:  When creating the instances, specify a Service Account for each instance.

 
9. You are creating an application that will run on Google Kubernetes Engine. You have identified MongoDB as the most suitable database system for your application and want to deploy a managed MongoDB environment that provides a support SLA. What should you do?

  1. Create a Cloud Bigtable cluster, and use the HBase API.
  2. Deploy MongoDB Atlas from the Google Cloud Marketplace.
  3. Download a MongoDB installation package, and run it on Compute Engine instances.
  4. Download a MongoDB installation package, and run it on a Managed Instance Group.

Answer: Deploy MongoDB Atlas from the Google Cloud Marketplace.


10. You are managing a project for the Business Intelligence (BI) department in your company. A data pipeline ingests data into BigQuery via streaming. You want the users in the BI department to be able to run the custom SQL queries against the latest data in BigQuery. What should you do?

  1. Create a Data Studio dashboard that uses the related BigQuery tables as a source and give the BI team view access to the Data Studio dashboard.
  2. Create a Service Account for the BI team and distribute a new private key to each member of the BI team.
  3. Use Cloud Scheduler to schedule a batch Dataflow job to copy the data from BigQuery to the BI teamגTM€s internal data warehouse.
  4. Assign the IAM role of BigQuery User to a Google Group that contains the members of the BI team.

Answer:  Assign the IAM role of BigQuery User to a Google Group that contains the members of the BI team.


11. Your company is moving its entire workload to Compute Engine. Some servers should be accessible through the Internet, and other servers should only be accessible over the internal network. All servers need to be able to talk to each other over specific ports and protocols. The current on-premises network relies on a demilitarized zone (DMZ) for the public servers and a Local Area Network (LAN) for the private servers. You need to design the networking infrastructure on Google Cloud to match these requirements. What should you do?

  1. 1. Create a single VPC with a subnet for the DMZ and a subnet for the LAN. 2. Set up firewall rules to open up relevant traffic between the DMZ and the LAN subnets, and another firewall rule to allow public ingress traffic for the DMZ.
  2. 1. Create a single VPC with a subnet for the DMZ and a subnet for the LAN. 2. Set up firewall rules to open up relevant traffic between the DMZ and the LAN subnets, and another firewall rule to allow public egress traffic for the DMZ.
  3. 1. Create a VPC with a subnet for the DMZ and another VPC with a subnet for the LAN. 2. Set up firewall rules to open up relevant traffic between the DMZ and the LAN subnets, and another firewall rule to allow public ingress traffic for the DMZ.
  4. 1. Create a VPC with a subnet for the DMZ and another VPC with a subnet for the LAN. 2. Set up firewall rules to open up relevant traffic between the DMZ and the LAN subnets, and another firewall rule to allow public egress traffic for the DMZ.

Answer: 1. Create a single VPC with a subnet for the DMZ and a subnet for the LAN. 2. Set up firewall rules to open up relevant traffic between the DMZ and the LAN subnets, and another firewall rule to allow public ingress traffic for the DMZ.


12. Your company has reserved a monthly budget for your project. You want to be informed automatically of your project spend so that you can take action when you approach the limit. What should you do?

  1. Link a credit card with a monthly limit equal to your budget.
  2. Create a budget alert for 50%, 90%, and 100% of your total monthly budget.
  3. In App Engine Settings, set a daily budget at the rate of 1/30 of your monthly budget.
  4. In the GCP Console, configure billing export to BigQuery. Create a saved view that queries your total spend.

Answer: Create a budget alert for 50%, 90%, and 100% of your total monthly budget.


13. Your company has a mission-critical application that serves users globally. You need to select a transactional, relational data storage system for this application. Which two products should you consider?

  1. BigQuery
  2. Cloud SQL
  3. Cloud Spanner
  4. Cloud Bigtable
  5. Cloud Datastore

Answer: 
2.Cloud SQL
3.Cloud Spanner


14. You created an update for your application on App Engine. You want to deploy the update without impacting your users.You want to be able to roll back as quickly as possible if it fails. What should you do?

  1. Delete the current version of your application. Deploy the update using the same version identifier as the deleted version.
  2. Notify your users of an upcoming maintenance window. Deploy the update in that maintenance window.
  3. Deploy the update as the same version that is currently running.
  4. Deploy the update as a new version. Migrate traffic from the current version to the new version.

Answer: Deploy the update as a new version. Migrate traffic from the current version to the new version.


15. You have just created a new project which will be used to deploy a globally distributed application. You will use Cloud Spanner for data storage. You want to create a Cloud Spanner instance. You want to perform the first step in preparation of creating the instance. What should you do?

  1. Enable the Cloud Spanner API.
  2. Configure your Cloud Spanner instance to be multi-regional.
  3. Create a new VPC network with subnetworks in all desired regions.
  4. Grant yourself the IAM role of Cloud Spanner Admin.

Answer: Enable the Cloud Spanner API.


16. You have created a new project in Google Cloud through the gcloud command line interface (CLI) and linked a billing account. You need to create a new Compute Engine instance using the CLI. You need to perform the prerequisite stops. What should you do?

  1. Create a Cloud Monitoring Workspace.
  2. Create a VPC network in the project.
  3. Enable the compute googleapis.com API.
  4. Grant yourself the IAM role of Computer Admin.

Answer: Enable the compute googleapis.com API.


17. Your company has developed a n What should you do?

  1. Deploy the application on GKE, and add a HorizontalPodAutoscaler to the deployment.
  2. Deploy the application on GKE, and add a VerticalPodAutoscaler to the deployment.
  3. Create a GKE cluster with autoscaling enabled on the node pool. Set a minimum and maximum for the size of the node pool.
  4. Create a separate node pool for each application, and deploy each application to its dedicated node pool.

Answer: Create a GKE cluster with autoscaling enabled on the node pool. Set a minimum and maximum for the size of the node pool.


18. You need to manage a third-party application that will run on a Compute Engine instance. Other Compute Engine instances are already running with default configuration. Application installation files are hosted on Cloud Storage. You need to access these files from the new instance without allowing other virtual machines (VMs) to access these files. What should you do?

  1. Create the instance with the default Compute Engine service account. Grant the service account permissions on Cloud Storage.
  2. Create the instance with the default Compute Engine service account Add metadata to the objects on Cloud Storage that matches the metadata on the new instance.
  3. Create a new service account and assign this service account to the new instance. Grant the service account permissions on Cloud Storage. Most Voted
  4. Create a new service account and assign this service account to the new instance. Add metadata to the objects on Cloud Storage that matches the metadata on the new instance.

Answer: Create a new service account and assign this service account to the new instance. Grant the service account permissions on Cloud Storage. Most Voted


19. You need to configure optimal data storage for files stored in Cloud Storage for minimal cost. The files are used in a mission-critical analytics pipeline that is used continually The users are in Boston, MA (United States). What should you do?

  1. Configure regional storage for the region closest to the users. Configure a Nearline storage class.
  2. Configure regional storage for the region closest to the users. Configure a Standard storage class. Most Voted
  3. Configure dual-regional storage for the dual region closest to the users. Configure a Nearline storage class.
  4. Configure dual-regional storage for the dual region closest to the users. Configure a Standard storage class.

Answer: Configure regional storage for the region closest to the users. Configure a Standard storage 
class. Most Voted


20. You are developing a new web application that will be deployed on Google Cloud Platform. As part of your release cycle, you want to test updates to your application on a small portion of real user traffic. The majority of the users should still be directed towards a stable version of your application. What should you do?

  1. Deploy the application on App Engine. For each update, create a new version of the same service. Configure traffic splitting to send a small percentage of traffic to the new version. Most Voted
  2. Deploy the application on App Engine. For each update, create a new service. Configure traffic splitting to send a small percentage of traffic to the new service.
  3. Deploy the application on Kubernetes Engine. For a new release, update the deployment to use the new version.
  4. Deploy the application on Kubernetes Engine. For a new release, create a new deployment for the now version. Update the service to use the new deployment.

Answer: Deploy the application on App Engine. For each update, create a new version of the same service. Configure traffic splitting to send a small percentage of traffic to the new version. Most Voted


21. You need to add a group of new users to Cloud Identity. Some of the users already have existing Google accounts. You want to follow one of Google's recommended practices and avoid conflicting accounts. What should you do?

  1. Invite the user to transfer their existing account.
  2. Invite the user to use an email alias to resolve the conflict.
  3. Tell the user that they must delete their existing account.
  4. Tell the user to remove all personal email from the existing account.

Answer: Invite the user to transfer their existing account.


22. You need to manage a Cloud Spanner instance for best query performance. Your instance in production runs in a single Google Cloud region. You need to improve performance in the shortest amount of time. You want to follow Google best practices for service configuration. What should you do?

  1. Create an alert in Cloud Monitoring to alert when the percentage of high priority CPU utilization reaches 45%. If you exceed this threshold, add nodes to your instance.
  2. Create an alert in Cloud Monitoring to alert when the percentage of high priority CPU utilization reaches 45%. Use database query statistics to identify queries that result in high CPU usage, and then rewrite those queries to optimize their resource usage.
  3. Create an alert in Cloud Monitoring to alert when the percentage of high priority CPU utilization reaches 65%. If you exceed this threshold, add nodes to your instance. Most Voted
  4. Create an alert in Cloud Monitoring to alert when the percentage of high priority CPU utilization reaches 65%. Use database query statistics to identify queries that result in high CPU usage, and then rewrite those queries to optimize their resource usage.

Answer: Create an alert in Cloud Monitoring to alert when the percentage of high priority CPU utilization reaches 65%. If you exceed this threshold, add nodes to your instance. Most Voted


23. Your company has an internal application for managing transactional orders. The application is used exclusively by employees in a single physical location. The application requires strong consistency, fast queries, and ACID guarantees for multi-table transactional updates. The first version of the application is implemented in PostgreSQL, and you want to display it to the cloud with minimal code changes. Which database is most appropriate for this application?

  1. BigQuery
  2. Cloud SQL Most Voted
  3. Cloud Spanner
  4. Cloud Datastore

Answer: Cloud SQL Most Voted


24. You are assigned to maintain a Google Kubernetes Engine (GKE) cluster named 'dev' that was deployed on Google Cloud. You want to manage the GKE configuration using the command line interface (CLI). You have just downloaded and installed the Cloud SDK. You want to ensure that future CLI commands by default address this specific cluster What should you do?

  1. Use the command gcloud config set container/cluster dev. Most Voted
  2. Use the command gcloud container clusters update dev.
  3. Create a file called gke.default in the ~/.gcloud folder that contains the cluster name.
  4. Create a file called defaults.json in the ~/.gcloud folder that contains the cluster name.

Answer: Use the command gcloud config set container/cluster dev. Most Voted


25. The sales team has a project named Sales Data Digest that has the ID acme-data-digest. You need to set up similar Google Cloud resources for the marketing team but their resources must be organized independently of the sales team. What should you do?

  1. Grant the Project Editor role to the Marketing team for acme-data-digest.
  2. Create a Project Lien on acme-data-digest and then grant the Project Editor role to the Marketing team.
  3. Create another project with the ID acme-marketing-data-digest for the Marketing team and deploy the resources there. Most Voted
  4. Create a new project named Marketing Data Digest and use the ID acme-data-digest. Grant the Project Editor role to the Marketing team.

Answer: Create another project with the ID acme-marketing-data-digest for the Marketing team and deploy the resources there. Most Voted




Post a Comment