Google Cloud Certified Associate Cloud Engineer Practice

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the Google Cloud Certified Associate Cloud Engineer Exam. Engage with interactive quizzes and detailed explanations tailored to help you master key concepts. Ensure you're ready for a successful career in the cloud computing industry!

Practice this question and more.


What does the following command achieve in Google Cloud? `gcloud compute firewall-rules create "a-firewall-rule" --network $SERVICES_NETWORK --allow tcp:22`

  1. Open port 22 to the internet

  2. Custom monitoring metric

  3. Cloud Functions

  4. Enable binary logging

The correct answer is: Open port 22 to the internet

The option A provided by the command opens port 22 for the specified network in Google Cloud, allowing traffic through tcp protocol. It does not monitor any custom metrics, create cloud functions or enable binary logging. This option is incorrect because it may pose a security risk by publicly exposing the port to the internet. Therefore, the correct answer is A. Other options may be more appropriate depending on the goal of the command.