questions
Q14 Match the following options related to Keycloak. ... bin standalone.bat Realm Add Users list Booting Keycloak Server keycloak.json Configuration template Q15 Which of the below statements are safe to use? (Assume all the required set up is done) a) <img src={this.props.imgUrl}/> b) <p> {this.props.name} </p> c) <p dangerouslySetInnerHTML={{_html:this.props.content}}> Q16 Consider the below Routes: <Switch> <Route path="/home" component={Home} /> <Route exact path="/" render={O => (<Redirect to="/home" />)} > <Route component={NotFound} /> </Switch> Which component will be rendered when the URL is http://localhost:3000 a) It will be redirected to home and Home component will be rendered b) NotFound c) No component will be rendered d) Error will be logged Q17 Identify the incorrect statements from the below-given options: (multiple Select) a) React is Safe from all the XSS attacks 10/14 b) JSX prevents injection attacks c) Keycloak uses open protocol standards OpenID Connector d) Sanitization prevents all types XSS attacks Q18 Which of the followings are true: I. HOCs should be a pure function with no side-effects. II. HOCs should not be used in the render method. Only I Only II Both I & II O None Q19 Which of the following hooks can be used as an alternative for shouldComponentUpdate lifecycle method in a functional component a) useState b) useEffect c) use Memo d) useRef
React js Q14 Match the following options related to Keycloak. ... bin standalone.bat Realm Add Users list Booting Keycloak Server
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am