nerdexam
Microsoft

70-489 · Question #44

You need to ensure that users can upload pictures. Which code segment should you insert at line MP57?

The correct answer is B. Option B. This question tests knowledge of the correct code configuration required to enable picture or file uploads, likely in a SharePoint, ASP.NET, or web forms context. The specific option content was not provided (code images are missing).

Design and develop advanced Microsoft SharePoint 2013 solutions

Question

You need to ensure that users can upload pictures. Which code segment should you insert at line MP57?

Exhibit

70-489 question #44 exhibit

Options

  • AOption A
  • BOption B
  • COption C
  • DOption D

How the community answered

(36 responses)
  • A
    3% (1)
  • B
    75% (27)
  • C
    14% (5)
  • D
    8% (3)

Why each option

This question tests knowledge of the correct code configuration required to enable picture or file uploads, likely in a SharePoint, ASP.NET, or web forms context. The specific option content was not provided (code images are missing).

AOption A

Without the specific code content available, a precise reason cannot be stated - this option likely uses an incorrect control type, missing attribute, or wrong content type configuration that would prevent picture uploads from functioning.

BOption BCorrect

Without the actual code content of Option B available, a precise technical explanation cannot be given. Generally, enabling picture uploads in a web or SharePoint context requires configuring the file input control with the correct MIME type filter, setting the AllowMultiple or accept attributes appropriately, and ensuring the server-side handler processes binary stream data correctly.

COption C

Without the specific code content available, a precise reason cannot be stated - this option likely omits a required property or uses an incompatible approach for handling binary file data.

DOption D

Without the specific code content available, a precise reason cannot be stated - this option likely introduces a configuration that is either unsupported or conflicts with the upload requirement.

Concept tested: File upload control configuration for image uploads

Source: https://learn.microsoft.com/en-us/aspnet/core/mvc/models/file-uploads

Topics

#user profile#picture upload#file upload API#object model

Community Discussion

No community discussion yet for this question.

Full 70-489 Practice