MCSD Programming in HTML5 with JavaScript and CSS3

Here you have the best Microsoft 70-480 practice exam questions

  • Preview the first 5 of 270 questions for free
  • These questions were last updated on April 29, 2026
  • This site is not affiliated with or endorsed by Microsoft.
Question 1 of 270

DRAG DROP -

You are validating user input by using JavaScript and regular expressions.

A group of predefined regular expressions will validate two input fields:

  • An email address in a function named validateEmail (for example, firstname@contoso.com)
  • A nine-digit number that allows optional hyphens after the second and fifth character in a function named validateSSN(for example, 555555555 or 555-55-5555)

You need to use the correct expression to validate the input.

Which expression should you insert into each function? (To answer, drag the appropriate regular expression statement to the correct location. Each regular expression statement may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)

Select and Place:

Exam 70-480: Question 1 - Image 1
Answer

Suggested Answer

Exam 70-480: Question 1 - Image 2
Question 2 of 270

You are developing a customer web form that includes the following HTML.
<input id="txtValue" type="text" />
A customer must enter a valid age in the text box prior to submitting the form.
You need to add validation to the control.
Which code segment should you use?
Exam 70-480: Question 2 - Image 1
Answer

Suggested Answer

The suggested answer is D.

To validate that the input is a valid age, you need to ensure that the value entered into the input field is captured and checked against a regular expression that handles numbers. Option D uses the .val() method to get the value from the input field, which is the proper method for input elements. It then uses a regular expression (regex) to validate that the input is a numeric value, which matches the requirement of validating an age. Despite the presence of the leftover emailPattern.test(userinput) line, it correctly performs the necessary validation to check if the field is not empty and contains a valid numeric value.

Question 3 of 270

You are developing a customer contact form that will be displayed on a page of a company's website. The page collects information about the customer.

If a customer enters a value before submitting the form, it must be a valid email address.

You need to ensure that the data validation requirement is met.

What should you use?

Answer

Suggested Answer

The suggested answer is D.

Example:
<form>
E-mail:
<input type="email" name="email"/>
</form>
Reference:
http://www.w3schools.com/html/html5_form_input_types.asp
Question 4 of 270

DRAG DROP -

You are developing a form that captures a user's email address by using HTML5 and jQuery.

The form must capture the email address and return it as a query string parameter. The query string parameter must display the @ symbol that is used in the email address.

You need to implement this functionality.

How should you develop the form? (To answer, drag the appropriate code segment to the correct target or targets in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)

Select and Place:

Exam 70-480: Question 4 - Image 1
Answer

Suggested Answer

* The serialize() method creates a URL encoded text string by serializing form values.
You can select one or more form elements (like input and/or text area), or the form element itself.
The serialized values can be used in the URL query string when making an AJAX request.
Example: $("form").serialize());
* decodeURIComponent
The decodeURIComponent() function decodes a URI component.
Return Value: A String, representing the decoded URI
Incorrect Answers:
Not decodeURI:
decodeURI is intended for use on the full URI.
decodeURIComponent is intended to be used on .. well .. URI components that is any part that lies between separators (; / ? : @ & = + $ , #).
Reference: jQuery serialize() Method
http://www.w3schools.com/jquery/ajax_serialize.asp
http://www.w3schools.com/jsref/jsref_encodeuri.asp Exam 70-480: Question 4 - Image 2
Question 5 of 270

You are developing an application that consumes a Windows Communication Foundation (WCF) service.

The application interacts with the service by using the following code. (Line numbers are included for reference only.)

Exam 70-480: Question 5 - Image 1

You need to authenticate to the WCF service.

What should you do?

265 more questions await

Unlock the full Microsoft 70-480 question bank

5 of 270 completed2%

Choose your plan

One-time payment · No subscription · No hidden fees

Standard

Quick preparation

$25

30 days access

30 day access to all questions
Instant free updates
Highest passing rate in industry
Printable PDF download
No money-back guarantee
Best Value

Premium

Guaranteed success

$60$35

90 days access

PDF

Printable PDF download

New

Save every question as a PDF for offline study or printing.

90 day access to all questions
Instant free updates
Highest passing rate in industry
Pass guaranteed or money back

100% Money-Back Guarantee

Don't pass? Full refund.

4.9/5

Based on 4,416+ reviews

Trusted by thousands of professionals

Join certified professionals who passed their exams with Examice

Examice helped me pass my AWS certification on the first try! The questions were incredibly similar to the real exam. Comments helped me understand answers I was struggling with.
S
Sarah C.
Cloud Engineer
Great results in a short prep time. Passed on my first attempt.
D
David K.
Network Engineer
I needed to pass an exam for work, and this website delivered. The quality for the price is outstanding, and the support is really good. I passed without issues.
M
Michael R.
Security Analyst
Skeptical at first, but impressed. Every question included clear, detailed explanations.
L
Lisa M.
Solutions Architect
The guarantee gave me confidence to invest in the premium package. Turns out I didn't need it. Passed comfortably. The explanations for each answer were incredibly detailed and helped me grasp security concepts that I'd been struggling with for months.
R
Robert H.
Cybersecurity Consultant
Used Examice for my PMP certification. The questions were well structured and covered all exam domains thoroughly.
J
James T.
IT Manager
After failing my first attempt with other study materials, I switched to Examice and passed confidently on my second attempt.
A
Anna W.
Data Engineer
The premium package was worth it. 90 days of access gave me the flexibility to study when it worked for me, without feeling rushed.
E
Emily J.
DevOps Engineer
Straightforward questions that matched the real exam perfectly. Studied for two weeks and passed with a great score.
K
Karen P.
Systems Administrator

Frequently Asked Questions

Everything you need to know. Contact us for more.

Our Microsoft 70-480 questions are based on real exam experiences and are continuously updated to match the current exam format. We maintain a +99% pass rate because our questions closely mirror what you'll see on the actual exam.

With our Premium package, you get a 100% money-back guarantee. If you don't pass your exam after studying with our materials, simply contact us with your exam results and we'll refund your purchase. Terms and conditions apply, read our full refund policy to learn more.

Our question bank is updated regularly based on feedback from recent exam takers. We typically review and update our content every week with reports about new questions or changes to the exam format.

Standard package access cannot be extended. However, Premium package gives you 90 days which is typically more than enough time to prepare thoroughly. If you need additional time, you can purchase a new package at any time.

This is a one-time payment with no recurring charges. Once you purchase, you get full access to all exam questions for the duration of your package (30 days for Standard, 90 days for Premium). No hidden fees or automatic renewals.

Pass on your first try

All 270questions · Detailed explanations · Printable PDF · 90 days access

Money-back guaranteeSecure checkout
$35

one-time payment