For IndividualsFor Educators
ExpertMinds LogoExpertMinds
ExpertMinds

Ace your certifications with Practice Exams and AI assistance.

  • Browse Exams
  • For Educators
  • Blog
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Support
  • AWS SAA Exam Prep
  • PMI PMP Exam Prep
  • CPA Exam Prep
  • GCP PCA Exam Prep

© 2026 TinyHive Labs. Company number 16262776.

    PracticeGCP Associate Cloud Engineer (ACE)GCP Associate Cloud Engineer Practice Exam 5Question 37
    Easy1 markMultiple Choice
    Domain 4.4: Managing storage and database solutionsDomain 4Cloud Storagegsutil

    GCP ACE · Question 37 · Domain 4.4: Managing storage and database solutions

    You have an object named report.pdf in a Cloud Storage bucket. It is currently stored in the Standard storage class. You want to change its storage class to Nearline using the command line.

    Which command should you use?

    Answer options:

    A.

    gsutil rewrite -s nearline gs://my-bucket/report.pdf

    B.

    gsutil cp -c nearline gs://my-bucket/report.pdf

    C.

    gcloud storage class update nearline gs://my-bucket/report.pdf

    D.

    You cannot change the storage class of an existing object; you must download and re-upload it.

    How to approach this question

    Recall the specific gsutil command used to modify metadata/storage classes of existing objects.

    Full Answer

    A.gsutil rewrite -s nearline gs://my-bucket/report.pdf✓ Correct
    To change the storage class of an existing object in Cloud Storage without downloading and re-uploading it, you use the `gsutil rewrite` command with the `-s` flag to specify the new storage class. For example: `gsutil rewrite -s nearline gs://[BUCKET_NAME]/[OBJECT_NAME]`.

    Common mistakes

    Assuming objects are immutable regarding storage class, or guessing incorrect flags for `gsutil cp`.
    Question 36All questionsQuestion 38

    Practice the full GCP Associate Cloud Engineer Practice Exam 5

    50 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01You are starting a new initiative and need to create a new Google Cloud project using the command...EasyQ02A developer on your team needs to manage App Engine applications, including deploying new version...MediumQ03You have created a new Google Cloud project. You need to allow a specific group of developers to ...MediumQ04Which statement best describes the relationship between Google Cloud projects and billing accounts?EasyQ05Your company wants to be notified immediately in their Slack channel whenever their monthly Googl...Medium
    View all 50 questions →