How does Angular handle Cross-Site Scripting (XSS) attacks in its applications?

) Angular prevents all forms of XSS attacks by disallowing any user input in the application.

Angular automatically encodes all user inputs to make them safe for rendering in the DOM.

Angular treats all values as untrusted by default and escapes them when inserted into the DOM using interpolation or binding.

Angular relies on third-party libraries to sanitize user inputs and prevent XSS attacks.

Verified Answer
Correct Option - c

To get all Infosys Certified Angular Architect Exam questions Join Group https://bit.ly/infy_premium_group

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in