Question 48 of 284
Single answerYou 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?
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.
✓
Correct Answer: C
Set Content-Type metadata to application/pdf on the PDF file objects.
▥
Explanation
The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Google certification topics.