GoogleGoogle
ASSOCIATE-CLOUD-ENGINEER · Question #25
ASSOCIATE-CLOUD-ENGINEER Question #25: Real Exam Question with Answer & Explanation
The correct answer is C: Set Content-Type metadata to application/pdf on the PDF file objects.. https://cloud.google.com/storage/docs/metadata#content-type
Submitted by jakub_pl· Mar 30, 2026
Question
You host a static website on Cloud Storage. Recently, you began to include links to PDF files on this site. Currently, when users click on the links to these PDF files, their browsers prompt them to save the file onto their local system. Instead, you want the clicked PDF files to be displayed within the browser window directly, without prompting the user to save the file locally. What should you do?
Options
- AEnable Cloud CDN on the website frontend.
- BEnable `Share publicly' on the PDF file objects.
- CSet Content-Type metadata to application/pdf on the PDF file objects.
- DAdd a label to the storage bucket with a key of Content-Type and value of application/pdf.
Explanation
Community Discussion
No community discussion yet for this question.