Google Cloud Platform Associate Cloud Engineer Practice Test Set 3

Your manager is making a presentation to executives in your company advocating that you start using Kubernetes Engine. You suggest that the manager highlight all the features Kubernetes provides to reduce the workload on DevOps engineers. You describe several features, including all of the following except which one?


Options are :

  • D. Automatic upgrading of cluster software as needed
  • C. Automatic scaling of nodes in the cluster
  • A. Load balancing across Compute Engine VMs that are deployed in a Kubernetes cluster
  • B. Security scanning for vulnerabilities (Correct)

Answer : B. Security scanning for vulnerabilities

You are deploying a Python web application to GCP. The application uses only custom code and basic Python libraries. You expect to have sporadic use of the application for the foreseeable future and want to minimize both the cost of running the application and the DevOps overhead of managing the application. Which computing service is the best option for running the application?


Options are :

  • B. App Engine standard environment (Correct)
  • C. App Engine flexible environment
  • D. Kubernetes Engine
  • A. Compute Engine

Answer : B. App Engine standard environment

Google Cloud Platform Associate Cloud Engineer Practice Test Set 2

You are planning how to grant privileges to users of your companyís GCP account. You need to document what each user will be able to do. Auditors are most concerned about a role called Organization IAM roles. You explain that users with that role can perform a number of tasks, which include all of the following except which one?


Options are :

  • B. Determining what privileges a user should be assigned (Correct)
  • D. Delegating other management roles to other users
  • C. Defining IAM policies over the resource hierarchy
  • A. Defining the structure of the resource hierarchy

Answer : B. Determining what privileges a user should be assigned

A product manager at your company reports that customers are complaining about the reliability of one of your applications. The application is crashing periodically, but developers have not found a common pattern that triggers the crashes. They are concerned that they do not have good insight into the behavior of the application and want to perform a detailed review of all crash data. Which Stackdriver tool would you use to view consolidated crash information?


Options are :

  • C. Logging
  • A. DataProc
  • B. Monitoring
  • D. Error Reporting (Correct)

Answer : D. Error Reporting

A software engineer comes to you for a recommendation. She has implemented a machine learning algorithm to identify cancerous cells in medical images. The algorithm is computationally intensive, makes many mathematical calculations, requires immediate access to large amounts of data, and cannot be easily distributed over multiple servers. What kind of Compute Engine configuration would you recommend?


Options are :

  • C. Mid-level memory, high CPU
  • A. High memory, high CPU
  • D. High CPU, GPU
  • B. High memory, high CPU, GPU (Correct)

Answer : B. High memory, high CPU, GPU

Google Cloud Platform Associate Cloud Engineer Practice Test Set 3

A colleague has asked for your assistance setting up a test environment in Google Cloud. They have never worked in GCP. You suggest starting with a single VM. Which of the following is the minimal set of information you will need?


Options are :

  • D. A name for the VM, a machine type, a region, a zone, and an IP address
  • C. A name for the VM, a machine type, a region, a zone, and a CIDR block
  • A. A name for the VM and a machine type
  • B. A name for the VM, a machine type, a region, and a zone (Correct)

Answer : B. A name for the VM, a machine type, a region, and a zone

You are deploying an API to the public Internet and are concerned that your service will be subject to DDoS attacks. Which GCP service should you consider to protect your API?


Options are :

  • B. Cloud CDN
  • C. Cloud IAM
  • A. Cloud Armor (Correct)
  • D. VPCs

Answer : A. Cloud Armor

Your company is about to release a new online service that builds on a new user interface experience driven by a set of services that will run on your servers. There is a separate set of services that manage authentication and authorization. A data store set of services keeps track of account information. All three sets of services must be highly reliable and scale to meet demand. Which of the GCP services is the best option for deploying this?


Options are :

  • C. Cloud Functions
  • A. App Engine standard environment
  • B. Compute Engine
  • D. Kubernetes Engine (Correct)

Answer : D. Kubernetes Engine

Google Cloud Platform Associate Cloud Engineer Practice Test Set 4

If you use a cluster that is managed by a cloud provider, which of these will be managed for you by the cloud provider?


Options are :

  • C. Some security management tasks
  • A. Monitoring
  • D. All of the above (Correct)
  • B. Networking

Answer : D. All of the above

What server configuration is required to use Cloud Functions?


Options are :

  • B. Cluster configuration
  • C. Pub/Sub configuration
  • D. None (Correct)
  • A. VM configuration

Answer : D. None

If you wanted to set the preemptible property using Cloud Console, in which section of the Create An Instance page would you find the option?


Options are :

  • C. Sole Tenancy
  • A. Availability Policy (Correct)
  • B. Identity And API Access
  • D. Networking

Answer : A. Availability Policy

Google Cloud Platform Associate Cloud Engineer Practice Test Set 3

Investing in servers for extended periods of time, such as committing to use servers for three to five years, works well when?


Options are :

  • B. A company can accurately predict server need for an extended period of time (Correct)
  • A. A company is just starting up
  • C. A company has a fixed IT budget
  • D. A company has a variable IT budget

Answer : B. A company can accurately predict server need for an extended period of time

You are experimenting with GCP for your company. You do not have permission to incur costs. How can you experiment with GCP without incurring charges?


Options are :

  • C. You can use only free services in GCP. (Correct)
  • A. You canít; all services incur charges.
  • B. You can use a personal credit card to pay for charges.
  • D. You can use only serverless products, which are free to use.

Answer : C. You can use only free services in GCP.

Your team is developing a new pipeline to analyze a stream of data from sensors on manufacturing devices. The old pipeline occasionally corrupted data because parallel threads overwrote data written by other threads. You decide to use Cloud Functions as part of the pipeline. As a developer of a Cloud Function, what do you have to do to prevent multiple invocations of the function from interfering with each other?


Options are :

  • C. Schedule each invocation to run in a separate thread.
  • B. Schedule each invocation to run in a separate process.
  • D. Nothing. GCP ensures that function invocations do not interfere with each other. (Correct)
  • A. Include a check in the code to ensure another invocation is not running at the same time.

Answer : D. Nothing. GCP ensures that function invocations do not interfere with each other.

Google Cloud Platform Associate Cloud Engineer Practice Test Set 4

What is the lowest level of the resource hierarchy?


Options are :

  • D. VM instance
  • C. File
  • A. Folder
  • B. Project (Correct)

Answer : B. Project

When using the Cloud SDK command-line interface, which of the following is part of commands for administering resources in Compute Engine?


Options are :

  • A. gcloud compute instances (Correct)
  • C. gcloud instances compute
  • B. gcloud instances
  • D. None of the above

Answer : A. gcloud compute instances

You are designing an application that uses a series of services to transform data from its original form into a format suitable for use in a data warehouse. Your transformation application will write to the message queue as it processes each input file. You donít want to give users permission to write to the message queue. You could allow the application to write to the message queue by using which of the following?


Options are :

  • C. Messaging account
  • A. Billing account
  • B. Service account (Correct)
  • D. Folder

Answer : B. Service account

All of the following parameters can be set when adding an additional disk through Google Cloud Console, except one. Which one?


Options are :

  • B. Encryption key management
  • D. Source image for the disk
  • C. Block size (Correct)
  • A. Disk type

Answer : C. Block size

Kubernetes reserves CPU resources in percentage of cores available. The percentage is what range?


Options are :

  • A. 1 percent to 10 percent
  • D. 10 percent to 12 percent
  • C. 0.25 percent to 2 percent
  • B. 0.25 percent to 6 percent (Correct)

Answer : B. 0.25 percent to 6 percent

What is a one-time task you will need to complete before using the console?


Options are :

  • B. Create a project
  • A. Set up billing (Correct)
  • D. Specify a default zone
  • C. Create a storage bucket

Answer : A. Set up billing

The CEO of your startup just read a news report about a company that was attacked by something called cache poisoning. The CEO wants to implement additional security measures to reduce the risk of DNS spoofing and cache poisoning. What would you recommend?


Options are :

  • D. Deleting CNAME records
  • A. Using DNSSEC (Correct)
  • B. Adding SOA records
  • C. Adding CNAME records

Answer : A. Using DNSSEC

You have created a Cloud Spanner instance and database. According to Google best practices, how often should you update VM packages using apt-get?


Options are :

  • C. Every 30 days.
  • A. Every 24 hours.
  • B. Every 7 days.
  • D. Never, Cloud Spanner is a managed service. (Correct)

Answer : D. Never, Cloud Spanner is a managed service.

What features can you configure when running a Second Generation MySQL database in Cloud SQL?


Options are :

  • B. Maintenance windows
  • D. All of the above (Correct)
  • A. Machine type
  • C. Failover replicas

Answer : D. All of the above

You are using Cloud Console to create a VM that you want to exist in a custom subnet you just created. What section of the Create Instance form would you use to specify the custom subnet?


Options are :

  • D. Sole Tenancy tab of Management, Security, Disks, Networking
  • C. Sole Tenancy tab of Management, Security, Disks, Networking, Sole Tenancy
  • B. Management tab of the Management, Security, Disks, Networking, Sole Tenancy section
  • A. Networking tab of the Management, Security, Disks, Networking, Sole Tenancy section (Correct)

Answer : A. Networking tab of the Management, Security, Disks, Networking, Sole Tenancy section

As required by your companyís policy, you need to back up your Datastore database at least once per day. An auditor is questioning whether or not Datastore export is sufficient. You explain that the Datastore export command produces what outputs?


Options are :

  • A. A single entity file
  • C. A metadata file and a folder with the data (Correct)
  • D. A metadata file, an entity file, and a folder with the data
  • B. A metadata file

Answer : C. A metadata file and a folder with the data

The command to create a VPC from the command line is:


Options are :

  • D. gcloud compute create networks
  • B. gcloud networks vpc create
  • A. gcloud compute networks create (Correct)
  • C. gsutil networks vpc create

Answer : A. gcloud compute networks create

You are deploying a Cloud Launcher application that includes a LAMP stack. What software will this deploy?


Options are :

  • B. Linux only
  • C. MySQL and Apache only
  • D. Apache, MySQL, Linux, and PHP (Correct)
  • A. Apache server and Linux only

Answer : D. Apache, MySQL, Linux, and PHP

Which of the following statements about Cloud Storage is not true?


Options are :

  • D. Cloud Storage is designed for high durability.
  • B. Lifecycle configurations can be used to change storage class from regional to multiregional. (Correct)
  • C. Cloud Storage does not provide block-level access to data within files stored in buckets.
  • A. Cloud Storage buckets can have retention periods.

Answer : B. Lifecycle configurations can be used to change storage class from regional to multiregional.

An application development team is deploying a set of specialized service endpoints and wants to limit traffic so that only traffic going to one of the endpoints is allowed through by firewall rules. The service endpoints will accept any UDP traffic and each endpoint will use a port in the range of 20000Ė30000. Which of the following commands would you use?


Options are :

  • B. gcloud network firewall-rules create fwr1 --allow=udp:20000-30000 --direction=ingress
  • A. gcloud compute firewall-rules create fwr1 --allow=udp:20000-30000 --direction=ingress (Correct)
  • D. gcloud compute firewall-rules create fwr1 --direction=ingress
  • C. gcloud compute firewall-rules create fwr1 --allow=udp

Answer : A. gcloud compute firewall-rules create fwr1 --allow=udp:20000-30000 --direction=ingress

What command launches a deployment?


Options are :

  • C. gcloud deployment-manager deployments launch
  • A. gcloud deployment-manager deployments create (Correct)
  • D. gcloud cloud-launcher deployments launch
  • B. gcloud cloud-launcher deployments create

Answer : A. gcloud deployment-manager deployments create

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions