Google Associate Cloud Engineer exam dumps

Google Associate Cloud Engineer practice question 222 of 375

Associate Cloud Engineer. Free level, Google Cloud. Free question with the correct answer and a full explanation.

Google Associate Cloud Engineer Question 222

Select 3Google Cloud Platform

As a Google Cloud Associate Cloud Engineer, you are tasked with deploying a new version of a web application on Google App Engine. You want to gradually shift traffic from the current version to the new version to minimize risk. Which of the following steps should you take to configure traffic splitting parameters effectively?

  1. A

    A) Use the Google Cloud Console to configure traffic splitting by specifying the percentage of traffic for each version.

  2. B

    B) Use the gcloud command-line tool to set up traffic splitting by IP address.

  3. C

    C) Modify the app.yaml file to include traffic splitting parameters directly.

  4. D

    D) Use the Google Cloud Console to deploy the new version and set up traffic splitting by cookie.

  5. E

    E) Use the gcloud command-line tool to allocate traffic using the 'gcloud app services set-traffic' command.

Show answer and explanation

Correct answers: A, D, E

Explanation

Traffic splitting in Google App Engine allows you to direct user traffic to different versions of your application in a controlled manner. This can be done using the Google Cloud Console or the gcloud command-line tool. Supported methods include splitting by percentage and by cookie, allowing you to test new versions before fully rolling them out. The 'gcloud app services set-traffic' command is specifically designed for setting up traffic splitting, making it a crucial tool for this task.

  • A. Correct.

    A) This is a correct option as the Google Cloud Console allows you to specify traffic splitting by percentage.

  • B. Incorrect.

    B) Traffic splitting by IP address is not supported directly via gcloud command-line tool, making this an incorrect option.

  • C. Incorrect.

    C) The app.yaml file is used for configuration of app-specific settings but does not directly support traffic splitting parameters, making this option incorrect.

  • D. Correct.

    D) This is a correct option as the Google Cloud Console allows you to set up traffic splitting by cookie, which is a supported method.

  • E. Correct.

    E) This is a correct option as the 'gcloud app services set-traffic' command is used to configure traffic splitting for different versions.

Timed practice exam

Take a Google Associate Cloud Engineer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam