aiotestking uk

70-480 Exam Questions - Online Test


70-480 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

Q1. You are developing a web application by using HTML5. 

You have the following requirements. . The color of a menu item must change when a user hovers over the item. . The color of the menu item must change back to its original color after five seconds. You need to ensure that the animation is applied to all menu items. 

Which CSS3 code should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: C

Q2. You develop an HTML5 chat application. 

You need to provide real-time updates to the messages that users post in the chat application. 

What should you do? 

A. Use get o to obtain data updates. 

B. Use a RESTful web service. 

C. Use WebSockets. 

D. Use ajaxo to obtain data updates. 

Answer: C

Q3. 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? 

A. <input name="email" type="url"/> 

B. <input name="email" type="text" required="required"/> 

C. <input name="email" type="text"/> 

D. <input name="email" type="email"/> 

Answer:

Q4. 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.) 

You need to authenticate to the WCF service. 

What should you do? 

A. At line 11, add the following lines of code. ,username: yourusername ,password: yourpassword 

B. At line 11, add the following line of code. ,credentials: prompt 

C. At line 06, replace the code with the following line of code. url: "http://contoso.com/Service.svc/GetCountry? Username=username&password=psssword", 

D. At line 11, add the following line of code. The username and password will be stored in an XML file. ,credentials: credentials.xml 

Answer:

Q5. You create an application that sends information to a web service by using the following code: (Line numbers are included for reference only.) 

When the web service returns a non-zero result code, you must raise an exception that contains the result code. 

You need to implement the code that generates the exception. 

Which line of code should you insert at line 04? 

A. CustomError .prototype = Error.prototype; 

B. CustomError ["ErrorType"] = Error; 

C. CustomError.customError = true; 

D. Error-constructor = CustomError; 

Answer:

Q6. You are developing a web page by using HTML5. 

You have the following requirements: 

. An H1 element must be placed at the top left corner of the page. 

. The size and location of the H1 element must not change if additional elements are added to the page. 

You need to position the H1 element on the page. 

Which CS53 style should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: A

Q7. You are developing a web page that has a group of HI and H2 elements. The page also includes a CSS class named underlineMe. 

You have the following requirements: 

The font color of all H1 and H2 elements must be changed to red. 

The CSS class underlineMe must be applied to all H1 and H2 elements. 

You need to update the web page to meet the requirements. Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q8. You are modifying a blog site to improve search engine readability. 

You need to group relevant page content together to maximize search engine readability. 

Which tag should you use? 

A. <article> 

B. <table> 

C. <div> 

D. <span> 

Answer:

Q9. You are developing an e-commerce website. Users place products into a shopping cart. You need to ensure that the shopping cart data is available between browser sessions. Which object should you use to store the shopping cart data? 

A. clientStorage 

B. localStorage 

C. applicationStorage 

D. sessionStorage 

Answer: B