exam questions

Exam 70-483 All Questions

View all questions & answers for the 70-483 exam

Exam 70-483 topic 2 question 12 discussion

Actual exam question from Microsoft's 70-483
Question #: 12
Topic #: 2
[All 70-483 Questions]

An application uses X509 certificates for data encryption and decryption. The application stores certificates in the Personal certificates collection of the Current
User store. On each computer, each certificate subject is unique.
The application includes a method named LoadCertificate. The LoadCertificate() method includes the following code. (Line numbers are included for reference only.)

The LoadCertificate() method must load only certificates for which the subject exactly matches the searchValue parameter value.
You need to ensure that the LoadCertificate() method loads the correct certificates.
Which code segment should you insert at line 06?

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
supersunny
Highly Voted 5 years, 11 months ago
D is correct
upvoted 7 times
...
venolium
Most Recent 4 years, 6 months ago
D) because X509FindType.FindBySubjectDistinguishedName is more specific than X509FindType.FindBySubject. .FindBySubject performers a case-insensitive string comparison, since we are looking for exact match use .FindBySubjectDistinguishedName https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.x509certificates.x509findtype?view=net-5.0
upvoted 3 times
auderis
4 years, 5 months ago
why not FindBySubjectKeyIdentifier?
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...