HomeExamsUITETAUIMPRFIC3070
TETAUIMPRFIC3070

Infosys Certified VueJS Professional

Practice with real exam-pattern questions for Infosys Certified VueJS Professional. Each question includes a detailed explanation to help you understand the concept, not just memorise the answer. Try 10 questions free — no login required.

IntermediateUI210 min
Free questions

10 Infosys Certified VueJS Professional practice questions with answers

Real Lex exam-pattern multiple-choice questions for the Infosys Certified VueJS Professional certification. Each question includes the correct answer. The full question bank is available to Premium members.

  1. Question 1

    Joseph knows the source of the HTML content is safe and wants to render the proper HTML content on the browser.

    JavaScript Code:

          const { createApp } = Vue
            const app = createApp({
               data() {
                  return {
                     GoogleSearch: '<a href="http://google.com">Google</a>'
                  }
               }
          }).mount('#app')

    What is the right syntax to be written in html template to get the output as Google on browsers?

    • <p> {{GoogleSearch}} </p>
      Correct
    • B
      <p> GoogleSearch </p>
    • C
      <p v-link='GoogleSearch'></p>
    • D
      <p v-html='GoogleSearch'></p>
  2. Question 2

    Vue.js follows ________, which helps developers add versatility and adaptability to their code. And _______ enables Vue to compare a full-features framework and a library to see what makes things easy for the developers to create an app.

    • Reactivity; Virtual DOMCorrect
    • BComponent-Based; Virtual DOM
    • CIncrementally adoptable ecosystem; versatility
    • DReactivity; versatile
  3. Question 3

    Which of the feature of Vue.js helps with optimizing application performance?

    • ReactivityCorrect
    • BComponent-Based
    • CVirtual DOM
    • DVersatile
  4. Question 4

    Select the correct statements regarding Vue.js concepts from the below-given options:

    • As we can bind data from a view to the model, we can also bind props using the same v-bind directive for passing information from parent to child components

      Correct
    • B

      Vue.js instance can be created using the createApp() method of Vue.js

    • C

      An element with v-show will always be rendered and remains in the DOM, whereas v-show only toggles the display CSS property of the element

    • D

      In Vue.JS, by default, any style we set up in any component will be applied only within that particular component though it is not scoped

  5. Question 5

    William created a simple Vue instance, as shown below:

    <div id="app">
    	<h3>User Details</h3>
    	{{getData("Mary")}}
    </div>
    <script>
    	const { createApp } = Vue
    	var bioData = [{ name: "Mary", placeOfBirth: "New York", age: 34 }];
    	const app = createApp({
         	data() {
            	return { bioData }
          	},
            methods: {
            	getData: function (name, age) {
                  	return this.name == this.bioData[0].name
                }
            }
      	}).mount('#app')
    </script>

    Predict the output of the code.

    • ErrorCorrect
    • B

      User Details

      false

    • C

      User Details

      Mary

    • D

      User Details

      true

  6. Question 6

    Consider the below code snippet and predict the output of it. Assume that all the required setup is done.

       <div id="app">
            <h3>User Details</h3>
            {{getBioData()}}
        </div>
        <script>
            const { createApp } = Vue
            var bioData = { userName: "Sam", placeOfBirth: "New York", age: 34 };
            const app = createApp({
                data() {
                    return { bioData }
                },
                methods: {
                    getBioData: () => {
                        return "User Name: " + this.userName + " User Age: " + this.age;
                    },
                }
            }).mount('#app')
        </script>

    • User DetailsCorrect
    • B

      User Details

      User Name: Marry User Age: 34

    • C

      User Details

      User Name : User Age :

    • D

      User Details

      User name : undefined User age : undefined

  7. Question 7

    Consider the below code snippet and predict the output of it. Assume that all the required setup is done.

    <div id="app">
    	<h3>Vue Instance</h3>
    	<p>{{content}}</p>
    	<p>{{status}}</p>
    </div>
    <script>
    	const { createApp } = Vue
    	var courseList = [{ courseName: "Vue.js", trainingDays: 5 }, { courseName: "CSS", trainingDays: 2 }]
     	const app = createApp({
        	data() {
               	return { content: courseList }
           	},
            methods: {
            	getBioData: () => {
                	return "User Name: " + this.userName + " User Age: " + this.age;
                },
            }
     	}).mount('#app')
        courseList.push({ courseName: "Sass", trainingDays: 1 })
        app.status = "Course in progress"
    </script>

    • [ { "courseName": "Vue.js", "trainingDays": 5 }, { "courseName": "CSS", "trainingDays": 2 }, { "courseName": "Sass", "trainingDays": 1 } ]
      Course in progress

      Correct
    • B

      [ { "courseName": "Vue.js", "trainingDays": 5 }, { "courseName": "CSS", "trainingDays": 2}]

    • C

      [ { "courseName": "Vue.js", "trainingDays": 5 }, { "courseName": "CSS", "trainingDays": 2 }, { "courseName": "Sass", "trainingDays": 1 } ]

    • DNone of the given options
  8. Question 8

    Which of the following code will render the below output if num is an array as num=[1,2,3,4,5]?
    1 2 3 4 5

    • {{num}} Correct
    • B{num}
    • C

      {(num)}

    • Dnum
  9. Question 9

    Which of the following statements are true about v-show?

    1. v-show only toggles the CSS display property of the element
    2. v-show doesn't support the <template> element
    3. v-show can be used with v-else
    4. v-show hide or show element

    • Only i, ii and iiiCorrect
    • BOnly i, ii and iv
    • COnly i and iv
    • DAll are true
  10. Question 10

    Consider the below code snippet:

    <span v-for="num in 10">
    	<span v-if="num%2==0">{{num}}</span>&nbsp;
    </span>
    <span v-else>0</span>      

    What will be the output for this?

    • 0 2 0 4 0 6 0 8 0 10Correct
    • BNo output and error in the console as v-else is not immediately placed after a v-if
    • C2 4 6 8 10 0 and error in console as v-else is not immediately placed after a v-if
    • D1 2 3 4 5 6 7 8 9 10
Pricing

Pay once. Clear every cert this year.

One subscription, full Telegram channel access, every PDF posted during your membership.

Monthly
50% OFF
₹1,300₹2,600
Per month · cancel anytime
  • Full access to all 1,357+ certifications
  • Monthly updated question banks
  • Telegram private channel access
  • Cancel anytime
Get Monthly
POPULAR
Quarterly
44% OFF
₹1,800₹3,200
That's ₹600/mo · billed for 3 months
  • Everything in Monthly
  • Save ₹2,100 vs monthly billing
  • Priority answer key requests
  • Best for increasing DQ score fast
Get Quarterly
BEST VALUE
Lifetime
52% OFF
₹2,400₹5,000
One-time · lifetime access
  • Everything in Quarterly
  • Lifetime channel access — no renewals
  • All future certifications included
  • Priority response from admin team
Get Lifetime
FAQ

Common questions, straight answers.

A monthly-updated Telegram channel where we post real exam-pattern question banks and detailed answer keys for 1,357+ Infosys Lex certifications. You join once, you get every PDF posted during your membership.

Right after payment on our Graphy page, you'll receive a private invite link to the Telegram channel. Access is instant — usually under 30 seconds.

We compile question banks from the actual Lex test pattern, sourced and verified by 180K+ community members who've recently cleared these exams. Match rate is consistently 85–95%.

Every single month. When Infosys rolls out new versions of certifications, we post updated dumps within 7–10 days. You'll see channel activity weekly.

Clearing certifications is one of the highest-weighted DQ factors. Members typically clear 3–5 certifications in their first 3 months, which moves DQ scores up by a full band.

i
InfyLexDumps

Independent exam preparation platform for Infosys Lex certifications. Real exam-pattern question banks, monthly updates, 180K+ community members.

Join Premium Telegram
Contact
  • @prepflixadmin
  • admin@prepflix.net
This platform is an independent educational resource and is not affiliated with or endorsed by Infosys Ltd. All certification names referenced are property of their respective owners.
© 2026 InfyLexDumps
Join Premium Telegram