WordPress 5.1 Fiverr Test Answers 2022

WordPress 5.1 Fiverr Test Answers 2022 




Fiverr WordPress 5.1 Test Questions and Answers 2022


If you looking for Fiverr WordPress 5.1 Test Answers, you will find the latest and updated answer to the WordPress 5.1 Fiverr Test Answers and get a free Certificate from here. This article will help you with the Fiverr WordPress 5.1 Skill Assessment answers in the easiest ways.

WordPress 5.1 Fiverr Test Questions with answers. Score up to a 9+ in your Fiverr WordPress Test.

 Important Notice

To ensure transparency, we do not charge any subscription or registration fees on our platform. Our revenue is solely generated from the advertisements you interact with. Feel free to support us by clicking on an ad if you wish. Your engagement in clicking at least one ad is greatly appreciated.

Always remember nothing is free in this world.

I appreciate your visit to our site! To keep our content free and accessible, we rely on ad revenue. If you could support us by clicking on one of the ads you see here, it would greatly help us continue providing great content.

Thank you for your support! 



1. Which of the following options is the correct order (by priority in uses to display tag in template hierarchy?

 

tag-[slug].php, tag.php, tag-{id}.php, archive.php, index.php

tag-{slug}.php, tag-{id}.php, tag.php, archive.php, index.php

archive.php, index.php, tag-[slug].php, tag-{id}.php, tag.php

tag-{id}.php, tag-[slug].php, tag.php, archive.php, index.php

 

2. In relation to posts screen, which of the following columns are displayed in the table of posts?

 

Title

ID

Categories

Tags

Author

 

3. Choose True or False

You can use the pre_get_posts Filter hook for including custom posts into your main query of blog posts.

 

False

True

 

4. Which of the following options is the correct order of rendering the date-based archive index pages in template hierarchy?

 

date.php, archive.php, index.php

date.php, index.php, archive.php

index.php, date.php, archive.php

 

5. In WordPress, which of the following template tags is used to tell WordPress to get the blog title out of the database and add it in the template File?

 

get_headero

get_footer

the_title

bloginfo(‘name')

 

6. What does the “Error 145” in WordPress indicate?

 

It indicates that the cache on your server is full.

It indicates that a table in your database is corrupted.

It indicates a missing column in your database.

None of the above.

 

7. In relation to get the blog indexed in Google Search, which of the following terms processes the information and also determines the quality of the content, so that the information can be placed appropriate by on google pages?

 

Crawling

Indexing

Googlebot

 

8. Which of the following statements are correct about the “Pages” post type in WordPress?

 

You can place them into a hierarchical order where a page can be the parent or child of another page creating a page structure.

They can be displayed in a reversed time-based order.

They do not make use of categories like posts do

None of above

 

9. While exporting your WordPress data, which of the following data can you export?

Posts

Pages

Comments

Categories

Custom taxonomies

 

All 1,2,3,4 and 5

Only 1,2,4 and 5

Only 2,3,4 and 5

Only 2, 4 and 5

Only 1,2,3 and 5

 

10. In relation to WordPress, which of the following cookies are stored on the visitors’ computers when they comment on your blog?

 

Comment_author_ (HASH)

Wp-settings (time) {UID} cookies

WordPress_logged_in_ [Hash]

Comment_author_email_(HASH)

 

11. Which of the following plugins can be used to improve the performance by caching your WordPress posts and pages as the static files?

W3 Total Cache

WP Super cache

Cache Enabler

 

All 1, 2 and 3-Ans

Only 1 and 2

Only 1 and 3

Only 2 and 3

 

12. Which of the following options is the correct order of rendering the databased archive index pages in template hierarchy?

Ans: data.php.index.php.archive.php

 

13. Choose True or False

By default, all the published pages are added to the menu automatically by WordPress.

 

True

False

 

14. Which of the following options are the correct cookies that WordPress uses for the users who have registered an account with the WordPress site?
WordPress_logged_in_[HASH]

Comment_author_url_(HASH)

WordPress-[hash]

Comment_author-(HASH)

 

15. Which of the following is the correct option that is the default theme of WordPress 5?

 

Gravatar

Twenty Nineteen

Permalink

None of the above.

 

16. In WordPress which of the following types of items you can add into your menu?

Pages

Categories

Custom links

 

All 1, 2 and 3

Only 1 and 2

Only 1 and 3

Only 2 and 3

 

17. In relation to caching in WordPress, varnish cache application is supported on which of the following platforms?

 

Windows 7

Linux

FreeBSD

 

18. In which of the following orders, 404 template Files are called in template hierarchy?

 

404.php, index.php

index.php, 404.php, archive.php

index.php, 404.php

404.php, archive.php, index.php

 

19. In relation to screen options in WordPress, which of the following items/modules is/are hidden by default?

Posts

Tags

 

Only 1

Only 2

Both 1 and 2

Neither 1 nor 2

 

20. Select True or False.

WP super Cache is not a static page caching plugin for WordPress.

 

True

False

 

21. If you have shell access to your server, then which of the following commands can you use to change the file permissions for file recursively?

 

find /path/to/your/wordpress/install/ -type d-exec chmod 777 ( \;

find /path/to/your/wordpress/install/-type f -exec chmod 755 {}\;

locate /path/to/your/wordpress/install/-type f-exec chmod 6440\;

find /path/to/your/wordpress/install/ -type f -exec chmod 644 [\;

 

22. Which of the following types of permalinks are available in WordPress 5?

Default
PATHINFO
mod_rewrite

 

23. The MySQL Workbench tool can be used for taking backups of WordPress databases. With which of the following operating systems, can you use this tool?

Windows
Mac
Linux

 

24. Which of the following options are the correct tables that will always be backed up while taking backups in WordPress?

wp_links
wp_terms
wp_users
wp_postmeta

 

25. In WordPress, “Revisions” and “Attachments” post types are stored in wp_posts table.

True

False

 

26. Which of the following options is a condensed summary of your blog post?

Post slug
Plugin
Permalink
Excerpt

 

27. What does the “Error 145” in WordPress indicate?

It indicates that the cache on your server is full.
It indicates that a table in your database is corrupted.
It indicates a missing column in your database.
None of the above.

 

28. Which of the following options are the correct requirements for using “Pretty” permalinks?
1. An .htaccess file
2. Apache web server with the mod_rewrite module installed
3. The FollowSymLinks option enabled in the WordPress’s home directory

All 1, 2, and 3
Only 1 and 2
Only 1 and 3
Only 2 and 3

 

29. You can adjust the length of cookies with the auth_cookie_expiration’ hook.

 

True
False

 

30. Which of the following options is the correct order (by priority in use) to display home page in the template hierarchy?

 

home.php, index.php, front-page.php, page.php
front-page.php, home.php, page.php, index.php
index.php, front-page.php, home.php, page.php
front-page.php, index.php, home.php, page.php

 

31. In relation to WordPress editor, which of the following options is the default block type?

 

Paragraph

Image

Heading

Gallery

 

32. Which of the following statements are correct about the W3 Total Cache (W3Tc) plugin?

 

It helps to reduce response time by creating static HTML version of pages and permits web servers to serve them without invoking PHP.
It helps for caching database queries (objects).
It manages the headers such as entity tag, cache-control, expires, etc.

 

33. Which of the following plugins can be used to improve the performance by caching your WordPress posts and pages as the static files?

W3 Total Cache

WP Super Cache

Cache Enabler

 

All 1, 2, and 3

Only 1 and 2

Only 1 and 3

Only 2 and 3

 

34. WP super Cache is not a static page caching plugin for WordPress.

 

True

False

 

35. What is the right order (by priority in use) to display category in Template Hierarchy?

index.php, category-{slug).php, category-{id}.php, category.php, archive.php

category.php, archive.php, category [slug.php, category-{id}.php, index.php

category-{slug).php, archive.php, category-{id}.php, category.php, index.php

category-(slug).php, category-{id}.php, category.php, archive.php, index.php

 

36. In relation to backing up your WordPress database, which of the following tools can be used for taking backup only in Windows operating system?

 

EMS SQL Management Studio for MySQL

Aqua Data Studio

Navicat for MySQL

 

37. By default, which of the following post types are always included within a WordPress installation?

Attachments

Custom CSS

Changesets

Posts

 

38. Which of the following options is a condensed summary of your blog post?

 

Post slug
Plugin
Permalink
Excerpt

 

39. Which of the following capabilities are only available in the Super Admin role?

 

manage_network_plugins

delete_plugins

manage_categories

setup_network

 

40. How can you access Your Profile Screen in WordPress?
1. From the main navigation menu under Users.
2. By clicking on the name link at the top of the WordPress screen.

 

Only 1
Only 2
Both 1 and 2
Neither 1 nor 2

 

41. Which of the following cookies is set by WordPress 5 that is used to customize your view of admin interface and the main site interface?

 

wordpress_logged_in_[hash]

wp-settings-time)-[UID]

wordpress_[hash]

None of the above.

 

42. In wordpress, a contributor has which of the following capabilities?

 

Read

Delete_post

Edit_post

Publish_post

 

43. What is the right order (by priority in use) to display tag in Template Hierarchy?

 

tag-{slug}.php, tag.php, tag-{id}.php, archive.php, index.php

tag-{slug}.php, tag-{id}.php, tag.php, archive.php, index.php

archive.php, index.php, tag-{slug}.php, tag-{id}.php, tag.php

tag-{id}.php, tag-{slug}.php, tag.php, archive.php, index.php

 

44. Suppose, you have a fixed IP address and you do not want any person (except yourself) to login to your admin area. Which of the following files will help you to limit access to wp-login.php?

1. .htaccess

2. web.config

 

Only 1 can be used

Only 2 can be used

Both 1 and 2 can be used

Neither 1 nor 2 can be used

 

45. In WordPress, which of the following statements are correct about the comment administration on your site?

 

You can manually approve the comments of other users.

You cannot cut down on the number of comments for approval.

You can get a notification when someone post a comment.

None of the above.

 

46. By default, meta tags are included in WordPress.

 

True

False

 

47. By default, in WordPress, a standard post will which of the following taxonomies types?

 

Categories

Post formats

Tags

 

48. While backing up your WordPress database by using MySQL Workbench, what is the size limit of the database to be backed up?

 

1 GB

2 GB

5 GB

There is no size limit

 

49. By default, the WordPress dashboard permits administrators to edit plugins and theme files.

 

Yes

No

 

50. Choose True or False.

It is mandatory for all the WordPress users to add an e-mail address in their respective profiles.

 

True

False

 

51. In wordpress, a contributor has which of the following capabilities?

 

Read

Delete_post

Edit_post

Publish_post

 

52. Which of the following options are available as commenter rules in WordPress?

Comment author must fill out name and e-mail

Users must be registered and logged in to comment

Allow people to post comments on new articles

 

Only 1 and 2

Only 1 and 3

Only 2 and 3

All 1, 2, and 3

 

53. In relation to posts screen, which of the following options is the default view in the table of posts?

 

List view

Excerpt view

None of the above.

 

54. In relation to dashboard screen in WordPress 5, which of the following options are provided by the At a Glance widget?

Most recent comment

Number of posts

Number of pages

Number of comments

Recently published post

 

55. In WordPress, which of the following attacks can you see via the logs?

Cross Site Scripting (XSS)

Remote File Inclusion (RFI)

Local File Inclusion (LFI)

Directory Traversal attempts

 

All 1, 2, 3, and 4

Only 1, 2, and 3

 

56. Which of the following options is the purpose of the Piklist plugin in WordPress?

 

It is used to create a list of disabled users in WordPress.

It is used to create a key-value pair for authenticating a user.

It permits you to create custom meta boxes and fields in WordPress.

Both options a and c

 

57. Can you import content from a static HTML site to WordPress?

 

Yes

No

 

58. Which of the following options are the valid filters in template hierarchy?

 

singular_template
search_template
embed_template
author_template

 

59. By default, WordPress makes use of which of the following file in a theme for displaying post of any type of the front-end of a website?

 

index.php

single.php

archive.php

 

60. By default, all the published pages are added to the menu automatically by WordPress.

 

True
False

 

61. While selecting the color scheme under the personal options in WordPress, which of the following colors are the menu background color?

 

Last two colors

Middle two colors

First two colors

None of the above.

 

62. In this stock quote api for wordpress of yahoo http://download.finance.yahoo.com/d/quotes.csv?s=GOOG&f=ll, what does ‘ s’  stand for?

 

Stock Format
Stock Variable
Stock Symbol
Stock Supplier

 

63. How can widgets for individual pages be managed within the page editor?

 

By creating a new sidebar for every page
By including sidebar.php in every page
By creating a new sidebar for the page, followed by conditional display rules on individual widgets
By using a custom widget plugin

 

64. Which of the following is the correct way to specifically enable plugins for certain posts and pages that need them?

 

By going in WordPress plugins section and selecting the specific plugins from there.
Installing a plugin organizer plugin.
By going in the General Settings area.
It can’t be done.

 

65. Which of the following is the correct way to include the content of one page to another?

 

wp_get_page($page) to retrieve the content
By using get_page_by_path($path) function to retrieve page content
wp_show_page($page)
show_post($post)

 

66. Which of the following is the correct way to add a simple WordPress gallery in an external PHP file?

 

add_filter(‘do_shortcode [ gallery]’, 11);
echo do_shortcode(‘ [ gallery]’);
add_filter(‘widget_text’, ‘do_shortcode [ gallery]’);
This can’t be done.

 

67. Which of the following will remove anchors from all nodes/levels except the 4th level nodes of a WordPress category?
Parent node (1st level)
–>Child node (2nd level)
—->3rd level node
——>4th level node
Note: There may be more than one right answer.

 

.cat-item a, .cat-item .cat-item a.hover {cursor: default;} .cat-item .cat-item a.hover {cursor: pointer;}

.cat-item a, .cat-item .cat-item a {cursor: default;} .cat-item .cat-item a {cursor: pointer;}

.cat-item a, .cat-item .cat-item .cat-item .cat-item a {cursor: default;}

.cat-item .cat-item .cat-item a {cursor: pointer;}

.cat-item a, .cat-item .cat-item a:hover {cursor: pointer;} .cat-item .cat-item a:hover {cursor: default;}

 

68. ____________ can write their own posts but may not publish or delete them. Their HTML is limited to the set of allowed tags and they cannot

upload media files.

 

Contributor
Author
Editor
Subscriber
Administrator

 

69. What type of tool is WordPress?

 

It is a just CMS for creating websites
Blogging tool and Partially – CMS
Full Featured Blogging Tool and CMS
Tool to create website with templates and admin section

 

70. Which among the following is the best way to detect if the current page is the login page in WordPress?

if ($pagenow != ‘wp-login.php’ && !is_admin())
 function is_login_page() {return in_array($GLOBALS[‘pagenow’], array(‘wp-login.php’, ‘wp-register.php’));}
$uri = $_SERVER[‘REQUEST_URI’];echo $uri;
function is_login_page() {return !strncmp($_SERVER[‘REQUEST_URI’], ‘/wp-login.php’, strlen(‘/wp-login.php’));}

 

70. What is the output of the following code?
[sourcecode language=”r”]
Your R code and comments
x <- rnorm(100)
y <- x + 10
[/sourcecode]

Number of the comments in blog post limited to 100
R removed from the blog post
Removed comments from blog post
embed R in blog post

 

71. How would you extend the time of the WordPress login session?

add_filter( ‘auth_cookie_expiration’, ‘stay_logged_in_for_1_year’ );
function stay_logged_in_for_1_year( $expire ) {
return 31556926; // 1 year in seconds}

add_filter(‘auth_cookie’, ‘stay_logged_in_for_1_year’);
function stay_logged_in_for_1_year($expire) {
return 31556926;}
add_filter(‘secure_logged_in_cookie’, ‘stay_logged_in_for_1_year’);
function stay_logged_in_for_1_year($expire) {
return 31556926;}

 

72. Which of these are a part of WordPress API?
Note: There may be more than one right answer.

Theme Modification API
Metadata API
Theme Update API
Settings API
Options API
Theme Customization API

User API
Update API 

 

73. Which of the following is the correct way for enabling support for Post Thumbnails?

add_theme_support( ‘thumbnails’ );
add_support( ‘post-thumbnails’ );
add_theme_support( ‘post-thumbnails’ );
theme_support( ‘thumbnails’ );

 

74. Which concept does WordPress uses to control user access to different features?

Username
Access tokens
Role
Cookies

 

75. How do you enable the Network Setup menu item(enable Multisite) in WordPress?

Install WP MU plugin
Activate WP Multisite in Settings menu
Set WP_ALLOW_MULTISITE as true in wp-config.php
WP MU has been discontinued as a separate project so there is no way to set up multisites in WP now

 

76. Which constant is NOT recognized in wp-config.php?

WP_SITEURL
WP_CONTENT_DIR
WP_CONTENT_URL
WP_HOME_URL

 

77. Select all the default post types in WordPress.
Note: There may be more than one right answer

post
page
attachment
revision
nav_menu_item

 

78. What is the default table prefix in WP?

_wp
w_
wp_
wp-

 

79. What is WordPress multisite?

Special version of WordPress that can support many sites and is not free.
WP configuration feature that supports multiple sites.
A WP plugin that supports multiple sites.
A popular WP theme that supports multiple sites.

 

80. Which is the most important file that should be deleted from your WordPress install directory once you’ve completed setup?

setup-example.xml
wp_config_sample.php
wp-config-sample.php
wp-setup-sample.php

 

81. Which files are a minimum required by a theme to function?

style.css and functions.php
style.css and index.php
index.php and functions.php
index.php, functions.php and style.css

 

82. How can an <li> tag’s class and ID attributes be removed from menu items and page lists?

add_filter(‘nav_menu_css_class’, ‘my_css_attributes_filter’, 100, 1); add_filter(‘nav_menu_item_id’, ‘my_css_attributes_filter’, 100, 1); add_filter(‘page_css_class’, ‘my_css_attributes_filter’, 100, 1); function my_css_attributes_filter($var) { return is_array($var) ? array() : »; }
add_filter(‘nav_menu_css_class’, ‘my_css_attributes_filter’, 100, 1); add_filter(‘nav_menu_item_id’, ‘my_css_attributes_filter’, 100, 1); function my_css_attributes_filter($var) { if(is_array($var)){ $varci= array_intersect($var, array(‘current-menu-item’)); $cmeni = array(‘current-menu-item’); $selava = array(‘selectedmenu’); $selavaend = array(); $selavaend = str_replace($cmeni, $selava, $varci); } else{ $selavaend= »; } return $selavaend; }
add_filter (‘wp_nav_menu’,’strip_empty_classes’); function strip_empty_classes($menu) { $menu = preg_replace(‘/ class=([«\’])(?!active).*?\1/’,»,$menu); return $menu; }
None of the above

 

83. Which files are required for a theme to function?

style.css, functions.php
style.css, index.php
index.php, functions.php
index.php, functions.php, style.css

 

84. You need a single post meta value in a bigger post loop and you need it only one time, and you want it to be as fast as possible. How would you proceed?

Of course, get_post_meta($post->ID, ‘post_meta’, true);
I would use a direct query like: $wpdb->get_var($wpdb->prepare(«SELECT meta_value from $wpdb->postmeta WHERE post_id = %d and meta_key = ‘post_meta’”, $post->ID));
I would use a direct query like: $wpdb->get_results($wpdb->prepare(«SELECT * from $wpdb->postmeta WHERE meta_key = %s”, ‘post_meta’));

 

85. Select all the default taxonomies in WordPress.
Note: There may be more than one right answer

post_category
post_tag
link_category

product_tag
post_format
category 

 

86. How do you enable debug mode in WP?

By going to Dashboard > Settings > General and then enable debug mode
By setting WP_DEBUG as true in wp-config.php
It is enabled by default

 

87. Where can you change the Timezone used by WordPress in the dashboard?

In Settings > Media
In Settings > General
In Settings > Reading
In Settings > Writing

 

88. What are the default plugins installed in the WordPress?
Note: There may be more than one right answer.

Contact form7
Akismet
All in one SEO
Hello Dolly

 

89. What is the name of self-hosted version of WordPress?

WordPress.com
WordPress.org
Open Source WordPress
WordPress online

 

90. Which default WP function can be used to assign different classes to the body element?

body_class()
get_theme_support()
sanitize_html_class()

 

91. Which function(s) can be used to programatically create a new user in WordPress?
Note: There may be more than one right answer.

wp_update_user
wp_create_user
register_new_user
wp_insert_user

 

92. Retrieve all the post types that support thumbnails or excerpts.

get_post_type(array(‘supports’ => array(‘thumbnail’, ‘excerpt’)), ‘names’, ‘or’);
post_type_supports(‘post’, array(‘thumbnail’, ‘excerpt’), ‘or’);
get_post_types_by_support(array(‘thumbnail’, ‘excerpt’), ‘or’);

 

93. Which of the following functions check if current visitor is a logged in user?

is_visitor_logged_in ();
is_user_logged_in ();
if_user_logged_in ();
is_user_logged ();

 

94. Is it possible to bypass trash and force deletion with wp_delete_post() function?

No
Yes

 

95. Which one of the following files is located in the root of your WordPress installation directory and contains your website’s setup details, such as database connection info?

setup.html
wp-setup.php
wp-config.php
wp-install.php

 

96. What type of hook is wp_meta?

Action Hook
Filter Hook

 

97.How will you check if a page exists for a given URL?

get_page_by_path()
get_page_url()
get_page_link()
get_page_uri()

 

98. Arrange the following templates in decreasing order of priority from left to right used to display the posts on a Category page.
index.php
category.php
archive.php
category-ID.php
category-slug.php

category-ID.php, category-slug.php, category.php, archive.php, index.php
category-slug.php, archive.php, category.php, category-ID.php, index.php
index.php, category.php, archive.php, category-ID.php, category-slug.php
category-slug.php, category-ID.php, category.php, archive.php, index.php

 

99. How would you retrieve an array of all the post tags?
Note: There may be more than one right answer

get_terms(‘post_tag’, array(‘hide_empty’ => false));
get_terms(array(‘taxonomy’ => ‘post_tag’, ‘hide_empty’ => false));
get_term();
wp_terms()
wp_terms_checklist();

 

100. Which function should be used to insert a post title into the title attribute of an HTML element?

get_the_title();
the_title_attribute();
the_title();

 

101. What is the name of table in database which stores custom fields data?

wp_custommeta
wp_options
wp_terms
wp_postmeta

 

102. Which of the following is/are NOT the default abstract methods available in the Walker class for menus?
Note: There may be more than one right answer.

start_lvl()
end_lvl()
start_li()
end_li()

 

103. What does wp_rand() function?

Gets random post ID.
Gets random category ID.
Generates a random post ID for wp_insert_post() function.
Generates a random number

 

104. Which deprecated functions are still in use in WordPress?

register_globals()
magc_quotes()
addslashers()
get_permalink()

 

105. Is it possible to update posts programmatically?

Yes, with wp_edit_post() function.
Yes, with wp_update_post() function.
Yes, with wp_change_post() function.
No.

 

106. Which of the following categories of persons can read a post locked by password?

Only administrators, editors and authors.
Registered users who know a password.
Anyone who knows a password

 

107. Where do you change theme name and author details?

style.css file in the theme folder
index.php file in the theme folder
readme.txt file in the theme folder

 

108. In a WordPress multisite, how can a new blog site be added from the Network Admin panel?

add_action( $tag, $function_to_add, $priority, $accepted_args);
define (‘WP_ALLOW_MULTISITE’, true);
do_action (‘wpmu_blog’, $blog_id, $user_id, $domain, $path, $site_id, $meta);
do_action (‘wpmu_new_blog’, $blog_id, $user_id, $domain, $path, $site_id, $meta);

 

109. What is the correct order of priority in decreasing order from left to right for Custom Post Type template files?

single-{post-type}-{slug}.php, single-{post-type}.php, single.php, singular.php, index.php
single-{post-type}.php, single-{post-type}-{slug}.php, single.php, singular.php, index.php
single-{post-type}.php, single.php, singular.php, single-{post-type}-{slug}.php, index.php
index.php, singular.php, single-{post-type}-{slug}.php, single-{post-type}.php, single.php

 

110. What is Automated Testing in WordPress?

Automated testing is running test cases where manual intervention is not required to run each one.
It is a plugin which is used to test your custom template or plugin.
It is a function available in WordPress to test the custom template/plugin.
Thereess.

 

111. What is the name of theme file for a page with slug ‘about’?

page-slug-about.php
page-about.php
about.php

 

112. You want to schedule a backup of your site database but do not have enough permissions to access your host. Which of the following choices can help you perform this task?

Use phpMyAdmin.
Install “wp database backup” plug-in.
Use cron job to schedule.
Cannot schedule.

 

113. Which of the following actions must be performed before upgrading WordPress?

Back up the site.
Ensure that the database user name registered to WordPress has permission to create, modify, and delete database tables.
Deactivate plug-ins.
Enable FTP on the site.

c, and d
b, and c

 

114. Which of the following files must be deleted after installing WordPress 4.1?

wp-admin/install.php
install.php
installation.php
None of these files.

 

115. On which of the following databases can WordPress 4.1 be installed by default?

MySQL
Oracle
Microsoft SQL Server
Postgres

 

116. In WordPress 4.1, you can override database values for your site URLs in wp-config.php.

Yes
No

 

117. After moving a WordPress 4.1 site to a new host, if you change your site’s URL, you have to update your posts and pages to correct paths to the uploaded media files.

True
False

 

118. Is it possible to run more than one site/blog from a single installation of WordPress 4.1 ?

Yes
No

 

119. What is the first action you need to take for enabling WordPress 4.1 MU feature?

Enable WordPress MU feature on admin panel
Enable Network feature
Add this code to wp-config.php file: define( ‘WP_ALLOW_MULTISITE’, true );

 

120. Is super cache a built-in plugin of WordPress 4.1 ?

Yes
No

 

121. From which version of WordPress can you choose your username during the installation process?

2.7
2.8
3.0
4.0.1
4.1

 

122. Can you move your wp-config.php file to the parent directory without changing any settings?

Yes
No

 

123. Can you move your wp-content folder elsewhere or rename it to something else without changing any settings?

Yes
No

 

124. A possible way to collect real-time statistics about traffic to a WordPress site is to:
One possible way to collect real-time statistics about traffic to a WordPress site is to:

use a built-in tool
use a plug-in
use a widget
None of the above: these statistics cannot be collected.

 

125. The date/time format of a WordPress site can be changed in _________.

the theme’s source code
admin settings
the database
the config file

 

126. Which of the following blog sites can be imported into WordPress?

MySpace
Yahoo blog
Bebo
Blogspot
Opera
All of the above.

 

127. Can you import content from joomla or mambo site into wordpress?

Yes
No

 

128. Can you import content from static HTML files into wordpress?

Yes
No

 

129. User Level 0 converts to …

Contributor
Author
Editor
Subscriber
Administrator

 

130. User Level 10 converts to …

Contributor
Author
Editor
Subscriber
Administrator

 

131. A taxonomy is a _______.

category
term
group of terms

 

132. Who of the following persons can read a post locked by password?

Only administrators, editors and authors
Registered users who knows a password
Anyone who knows a password

 

133. What is the limitation to the depth of your categories?

10 levels
20 levels
No limit levels

 

134. Which of following action must be performed before using Akismet Plugin?

Simply install it.
Create an account at wordpress.com.
Create an account for this plug-in on your own site.

 

135. In order to display a widget, the user must _________________.

set the “show property” of the desired widget to “true”
drag the desired widget to the side bar
add the desired widget to the post
change the source code

 

136. Which of the following methods can be used to eliminate spam?


Using the wp-captcha-free plug-in.
Using the askimet plug-in.
Using a widget.
None of the above.
a and b

 

137. In WordPress 4.1, which of the following theme files can be used to customize the “page not found error” error page?


index.php
404.php
functions.php
page.php

 

138. Is the functions.php file required in each theme in the WordPress 4.1 website?

Yes
No

 

139. What is the name of theme file for a page with slug ‘about’?


page-slug-about.php
page-about.php
about.php

 

140. What is the name of theme file for a page with id ‘3’?

page-id-3.php
page-3.php
3.php

 

141. What is the right order (by priority in use) to display page in Template Hierarchy?


page-{slug}.php, page-{id}.php, page.php, index.php
page-{id}.php, page-{slug}.php, page.php, index.php
page-{slug}.php, page-{id}.php, page.php, archive.php, index.php
page-{slug}.php, page-{id}.php, page.php, 404.php

 

142. Can you set individual password for each post?

Yes
No

 

143. What can widgets do with supported themes?

 

Spell check your blog posts

Change the colors and fonts of the theme

Add content to your sidebars

Place videos in the body of your posts

 

144. What is the right order (by priority in use) to display taxonomies in Template Hierarchy?

taxonomy -{taxonomy}.php, taxonomy-{id}.php, taxonomy.php, index.php
taxonomy -{taxonomy}-{term}.php, taxonomy-{taxonomy}.php, taxonomy.php, archive.php, index.php
taxonomy -{ taxonomy}.php, taxonomy.php, archive.php, index.php
taxonomy.php, archive.php, index.php

 

145. The “function_exists()” function can be used to check whether a plug-in is activated or not.

True
False

 

146. The WordPress loop can be used ______.


to retrieve any data in WordPress
to display every post
only for calculation
WordPress loop cannot be used for any purpose.

 

147. Using _______ is a good way to ensure that a WordPress site is indexed by search engines.

a sitemap
robot.txt
a widget

 

148. One way to make a WordPress 4.1 page title more SEO friendly is to____

use the wp-changetitle plug-in
use a widget
change the title tag in header.php to something like “blog name »» category »» post name

 

149. Meta tags can be added to WordPress 4.1 pages by _______.

using plug-ins
adding them to the header.php file
updating the database
a and b
b and c

 

150. Which of the following methods can be used to make permalinks SEO friendly?

Updating the database.
Changing the source code.
Configuring the feature in the config file.
Configuring the feature in the admin settings.

 

151. What is the name of the first page you encounter after logging into your web page?

 

Dashboardcorrect

Security question page

WP upgrade option

WPAdmin

 

152. Which role is not for Contributor:


read
edit_posts
edit_published_posts
delete_posts

 

153. Which of the following are the minimum standards that your server should support for WordPress 4.1

PHP version 4.4.9 or greater and MySQL version 4.0 or greater
PHP version 5.2.4 or greater and MySQL version 5.0.15 or greater
PHP version 4.4.9 or greater and MySQL version 5.1 or greater
PHP version 5.0 or greater and MySQL version 5.1 or greater

 

154. What are the steps you can take if your WordPress file is hacked?

 

Install security plugins like WP security

Re-install the latest version of WordPress

Change password and user-ids for all your users

All of the above

 

155. In relation to get the blog indexed in Google search, which of the following terms processes the information and also determines the quality of the content, so that the information can be placed appropriately on Google pages?


Crawling
Indexing
Googlebot

 

156. Which of the following types of permalinks are available in WordPress 5?

Default
PATHINFO
mod_rewrite

 

157. Which of the following options is the correct order (by priority in use) to display tag in template hierarchy?


tag-{slug}.php, tag.php, tag-{id}.php, archive.php, index.php
tag-{slug}.php, tag-{id}.php, tag.php, archive.php, index.php
archive.php, index.php, tag-{slug}.php, tag-{id}.php, tag.php
tag-{id}.php, tag-{slug}.php, tag.php, archive.php, index.php

 

158. Which of the following options are the correct tables that will always be backed up while taking backups in WordPress?

wp_links
wp_terms
wp_users
wp_postmeta

 

159. Which of the following options is a program that can be used to manipulate the databases remotely through a web interface?

W3 Total Cache
phpMyAdmin
MariaDB
WP Super Cache

 

160. Which of the following plugins can be used in WordPress 5 for two-step authentication?
1. Duo
2. Google Authenticator
3. WordFence
4. Rublon

All 1, 2, 3, and 4
Only 1, 2, and 3
Only 2, 3, and 4
Only 1, 3, and 4

 

161. Which of the following options is the correct order (by priority in use) to display category in template hierarchy?

index.php, category-{slug}.php, category-{id}.php, category.php, archive.php
category.php, archive.php, category-{slug}.php, category-{id}.php, index.php
category-{slug}.php, archive.php, category-{id}.php, category.php, index.php
category-{slug}.php, category-{id}.php, category.php, archive.php, index.php

 

162. In WordPress, a contributor has which of the following capabilities?

read
delete_posts
edit_posts

publish_posts

 

163. You can use the pre_get_posts filter hook for including custom posts into your main query of blog posts.

 

True
False

 

164. In relation to posts screen, which of the following options is the default view in the table of posts?

 

List view
Excerpt view

None of the above.

 

165. Which of the following statements are correct about the “Pages” post type in WordPress?

 

You can place them into a hierarchical order where a page can be the parent or child of another page creating a page structure.
They can be displayed in a reversed time-based order.
They do not make use of categories like posts do.
None of the above.

 

166. If you have shell access to your server, then which of the following commands can you use to change the file permissions for files recursively?

 

find /path/to/your/wordpress/install/ -type d -exec chmod 777 {} \;
find /path/to/your/wordpress/install/ -type f -exec chmod 755 {} \;
locate /path/to/your/wordpress/install/ -type f -exec chmod 644 {} \;
find /path/to/your/wordpress/install/ -type f -exec chmod 644 {} \;

 

167. WP Super Cache is not a static page caching plugin for WordPress.

 

True
False

 

168. In relation to dashboard screen in WordPress 5, which of the following options are provided by the At a Glance widget?

 

Most recent comments
Number of posts
Number of pages
Number of comments

Recently published posts

 

169. While updating WordPress, which of the following options can be the correct reason for the given message on the screen?
“Briefly unavailable for scheduled maintenance. Please check back in a minute.”

 

maintain.php
htaccess web.config
web.config
.maintenance file

 

170. The Quick draft section in WordPress is used for ___.

 

Creating mini-posts with titles and small details

Editing posts

Creating pages

All of these

 

171. Which of the following plugins can be used to improve the performance by caching your WordPress posts and pages as the static files?
1. W3 Total Cache
2. WP Super Cache
3. Cache Enabler

All 1, 2, and 3
Only 1 and 2
Only 1 and 3
Only 2 and 3

 

172. Which of the following options is the correct order (by priority in use) to display a single page in template hierarchy?

 

custom template file, page-{slug}.php, page-{id}.php, page.php, singular.php, index.php
custom template file, page-{id}.php, page-{slug}.php, page.php, singular.php, index.php
singular.php, index.php, page-{id}.php, page-{slug}.php, page.php, custom template file
index.php, custom template file, page-{id}.php, page-{slug}.php, page.php, singular.php

 

173. Which of the following options is an open source WAF (web firewall) that can be installed at a web server to filter the content before it is processed by WordPress?

 

iThemes Security
WordFence
ModSecurity
Shield

 

174. By default, which of the following databases is used by WordPress 5?

PostgreSQL

Microsoft SQL
Server MySQL
Oracle

 

175. In relation to screen options in WordPress, which of the following items/ modules is/ are hidden by default?
1. Posts
2. Tags

 

Only 1
Only 2
Both 1 and 2
Neither 1 nor 2

 

176. In WordPress, which of the following options are the incorrect capabilities of the Author role?

 

delete_published_posts
delete_published_pages
edit_posts
manage_links

 

177. By default, WordPress makes use of which of the following files in a theme for displaying posts of any type of the front-end of a website?

 

index.php
single.php
archive.php

 

178. WordPress 5 is written in which of the following languages?

 

Java
C++
PHP
Go

 

179. What is the default post Category for WordPress?

 

The first category added on WordPress

Uncategorized

No category

None of these

 

180. Which of the following statements is/ are correct about the post types in WordPress?

Attachments can make use of the wp_postmeta table to store the extra information like image’s metadata.
Each theme in WordPress can have its own custom CSS post.
Both options a and b
Neither option a nor b

 

181. Which of the following options are the correct files that are required for making a theme in WordPress?
1. index.php
2. style.css
3. theme.php

 

All 1, 2, and 3
Only 1 and 2
Only 1 and 3
Only 2 and 3

 

182. By default, meta tags are included in WordPress.

 

True
False

 

183. In WordPress, a subscriber has which of the following capabilities?

 

read
delete_posts
edit_posts
publish_posts

 

184. What content of post can be displayed in the feed?

 

Full post

Summary of post

both above

None of these

 

185. Which of the following options are the correct capabilities of the Editor role in a single site WordPress installation?

 

manage_categories
manage_links
update_themes
manage_options

 

186.Which of the following roles has the unfiltered_html capability in a single site WordPress installation?

 

Administrator
Editor
Author
Contributor

 

187. You can edit the .htaccess file by FTP or shell.

 

True
False

 

188. You can adjust the length of cookies with the auth_cookie_expiration’ hook.

 

True
False

 

189. In relation to the roles of WordPress 5, which of the following options can only publish and manage their own posts?

 

Editor
Author
Subscriber
Contributor

 

190. While blogging in WordPress, which of the following options is the collection of programming scripts that can be used to add additional functionality to the blogs?

 

Post Slug
Excerpt
Plugin
Pingback

 

191. In relation to caching in WordPress, Varnish cache application is supported on which of the following platforms?

 

Windows 7
Linux
FreeBSD

 

192. What is the default value of the SCRIPT_DEBUG constant?

 

true
false

 

193. Which of the following is the correct option that is the default theme of WordPress 5?

 

Gravatar
Twenty Nineteen
Permalink
None of the above.

 

194. In WordPress themes can be edited using which of these options?

 

Using customize option

Editing theme code

both above

None of these

 

195. Which of the following definitions of the WP_DEBUG constant can be used to trigger the debug mode throughout WordPress?

define( ‘WP_DEBUG’, true );
define( ‘WP_DEBUG’, ‘true’ );
define( ‘WP_DEBUG’, ‘1’ );
define( ‘WP_DEBUG’, “true” );

 

196. Which of these features in WordPress is not a default one?

 

Quick draft

View insights

Adding media

All of these

 

197. In relation to profile screen in WordPress, which of the following personal options are available that can be configured?

 

Visual editor
Admin Color Scheme
Syntax Highlighting
Toolbar

 

198. In relation to WordPress editor, which of the following options is the default block type?

 

Paragraph
Image
Heading
Gallery

 

199. The given command can be used to backup all the database tables.
mysqldump –add-drop-table -h mysql_hostserver -u mysql_username -p mysql_databasename

 

True
False

 

200. In relation to posts screen, which of the following columns are displayed in the table of posts?

 

Title
ID
Categories
Tags
Author

 

201. What should be done if a fatal error message “Out of Memory” is received while adding a new post in WordPress?

 

Contact hosting provider to get memory increased.
Add clear(‘WP_CACHE’, ‘0’); to your wp-config.php file.
Add define(‘WP_MEMORY_LIMIT’, ’64M’); to your wp-config.php file.
Install a cache plugin and clear the cache memory from it.

 

202. What can the Contributor role do?

Moderate comments
Publish posts
Edit posts
Edit pages

 

203. Is it possible to create posts programmatically?

No
Yes, with wp_insert_post() function
Yes, with wp_add_post() function
Yes, with wp_create_post() function

 

204. What is common to all these functions: next_post, previous_post, link_pages, the_author_url, wp_get_link?

They all return URLs
They are all deprecated
They all point to posts or post lists
They all echo something

 

205. How to display the value of a post meta field named my_custom?

$post_meta = get_post_meta($post->ID, ‘my_custom’, true);
echo $post_meta;

$post_meta = get_post_meta($post->ID);
echo $post_meta;
echo get_meta($post->ID, ‘my_custom’);

 

206. Pick the correct default Post Types readily available to users or internally used by the WordPress installation.
Note: There may be more than one right answer.

Post
Page
Blog
Media
Archive
Category

 

207. Which of the following is incorrect possible value for $show attribute of bloginfo($show) function?

‘name’
‘description’
‘homeurl’
‘admin_email’

 

208. Where can you set a static page as the front page in WP?

In wp-config.php
In Dashboard->Settings->Reading
In Dashboard->Settings->General
In Dashboard->Appearance

 

209. How you determine if a script has been enqueued correctly?

has_enqueue_script(‘my-script-handle’);
wp_script_is(‘my-script-handle’, ‘enqueued’);
is_script_loaded(‘my-script-handle’);

 

210. How do you check if the current user has the role “administrator”?
Note: There may be more than one right answer.

current_user_can_do(‘manage_options’);
is_admin();
current_user_can(‘administrator’);
current_user_can_do(‘manage’);
in_array(‘administrator’, wp_get_current_user()->roles);

 

211. What is the correct way for displaying navigation menu called “Primary Menu”?

wp_nav_menu( array(
‘menu’ => ‘Primary Menu’) );

wp_navigation_menu( array(
‘menu’ => ‘primary-menu’) );
wp_navigation( array(
‘menu’ => ‘Primary Menu’) );
wp_menu( array(
‘menu’ => ‘primary-menu’) );

 

212. Which of the following is true about bloginfo(‘url’); function?

Displays URL of the active theme’s directory.
Displays the “Site address (URL)” set in Settings > General. This data is retrieved from the “home” record in the wp_options table.
Displays the current post URL.
Displays the “WordPress address (URL)” set in Settings > General. This data is retrieved from the “siteurl” record in the wp_options table.

 

213. How do you know if a WordPress action has been previously fired?

Using the has_action(‘my_action’) function.
Using the did_action(‘my_action’) function.
Using the current_filter function. 

 

214. Clean up a comma-separated list of post ids. Example list: 1254,9930,10974,”192”,9930,192

array_map(‘absint’, ’1254,9930,10974,”192”,9930,192’);
explode(1254,9930,10974,”192”,9930,192);
wp_parse_id_list(1254,9930,10974,”192”,9930,192); 

 

215. What is the correct way to use the _n() function?

printf( _n( ‘The post has 1 star.’, ‘The post has %d stars.’, $view_count ), $view_count );
printf( _n( ‘The post has %d star.’, ‘The post has %d stars.’, $view_count ), $view_count );

 

216. How many WordPress posts can you create?

WordPress recommends less than 10,000 posts.
WordPress is limited to 1,000 posts.
WordPress has not set any limit.
WordPress is limited to 1,00,000 posts.

 

217. In which way MD5 hash does wordpress stores and represents?

In Hex string
In Base64 string
in raw data file
text file

 

218. Sometimes you might want to disable all the automatic background updates of WordPress, extensions, themes and languages. How would you accomplish that?
Note: There may be more than one right answer

via a define in wp-config.php: define(‘AUTOMATIC_UPDATER_DISABLED’, true);
with a filter: add_filter(‘automatic_updater_disabled’, ‘__return_true’);
I’m using git, so I would use a special filter:
add_filter(‘automatic_updates_is_vcs_checkout’, ‘__return_false’, 1); 

 

219. You need to include a link in a sentence. How can you do that?

_e( ‘Publish something using our Post by Email feature.’ );
printf( __( ‘Publish something using our Post by Email feature.’), ‘http://support.wordpress.com/post-by-email/’ );
printf( __( ‘Publish something using our %s feature.’ ), sprintf( ‘%s’, __( ‘Post by Email’ ) ) );

 

220. Select all the WordPress supported audio formats.
Note: There may be more than one right answer

aiff
mp3
ogg

flac
wma
m4a
wav

 

221. Assuming we are using ‘wp_’ as the database table prefix, in which table are all the custom fields related to a post stored?

wp_posts
wp_postmeta
wp_terms

 

222. Is it possible to disable the trash and delete the posts immediatelly?

No.
Yes, via a define in wp-config.php: define(‘EMPTY_TRASH_DAYS’, 0);
Yes, via a define in wp-config.php: define(‘EMPTY_TRASH_DAY’, 0);

 

223. Which is the default site update service that WordPress automatically notifies when you publish a new post?

http://www.feedsubmitter.com
http://rpc.pingomatic.com
http://google.com
http://ping.feedburner.com

 

224. Which of the following is not a WordPress role?

System
Subscriber
Administrator
Editor

 

225. Which of the following is not a default image size in WP?

Small Size
Medium Size
Large Size
Thumbnail Size

 

226. Which of the following is an example of a WordPress plugin that provides pagination capabilities?

Page Break
Page Generator
WP-PageNavi
Page-list

 

227. What is a permalink?

Permalinks are the permanent URLs to your individual weblog posts, as well as categories and other lists of weblog postings.
The numeric IP address of your WordPress site.
The complete URL of your WordPress site.
A popular WordPress plugin.

 

228. Which from below are default post types in WordPress and are readily available to users or internally used by the WordPress installation by default:
Note: There may be more than one right answer

Post
Page
Links
Attachment
Revision
Comments
Navigation menu

 

229. Pick the default template tag(s).
Note: There may be more than one right answer.

the_field()
wp_title()
the_title()
wp_field()

 

230. When should the wp_kses function for Data Validation be run?

At the time of form submission
Before the data is saved in the database
before the data is being rendered on the webpage

 

231. Can you import content from a static HTML site to WordPress?

 

Yes
No

 

232. While selecting the color scheme under the personal options in WordPress, which of the following colors are the menu background colors?

 

Last two colors
Middle two colors
First two colors
None of the above.

 

233. In relation to WordPress site, which of the following options is correct about a sitemap?

 

It is an enhancement to your existing URLs that can improve SEO of your website.
It is a single page listing of all the posts on your website.
It is a collection of all the visited links on a WordPress website.
None of the above.

 

234. Which of the following you should avoid while choosing a password?
1. Permutation of your real name, username, or company name.

2. A word from a dictionary, in any language.
3. Any numeric-only or alphabetic-only password.
4. Any password containing numeric, alphabets, and special symbols.

 

All 1, 2, 3, and 4
Only 1, 2, and 3
Only 1, 2, and 4
Only 2, 3, and 4

 

235. While exporting your WordPress data, which of the following data can you export?
1. Posts
2. Pages
3. Comments
4. Categories
5. Custom taxonomies

 

All 1, 2, 3, 4, and 5
Only 1, 2, 4, and 5
Only 2, 3, 4, and 5
Only 2, 4, and 5
Only 1, 2, 3, and 4

 

236. Which of the following options is a correct example of PATHINFO permalinks?

 

http://example.com/?p=N
http://example.com/2012/post-name/
http://example.com/2012/12/30/post-name
http://example.com/index.php/yyyy/mm/dd/post-name/

 

237. The given URL is an example of which of the following permalinks

 

Default
PATHINFO
mod_rewrite
None of the above.

 

238. What does the “Error 145” in WordPress indicate?

 

It indicates that the cache on your server is full.
It indicates that a table in your database is corrupted.
It indicates a missing column in your database.
None of the above.

 

239. What does the “Error 28” in WordPress indicate?

It indicates that the cache on your server is full.
It indicates that a table in your database is corrupted.
It indicates a missing column in your database.
It indicates that you have too many files in /tmp.

 

240. An Author role in WordPress has edit_pages capability.

 

True
False

 

241. In WordPress, which of the following plugins can be used to limit the number of login attempts?

 

SiteGuard WP Plugin
OSSEC
inotify
Brute Force Login Protection

 

242. In WordPress, which of the following types of items you can add into your menu?
1. Pages
2. Categories
3. Custom links

 

All 1, 2, and 3
Only 1 and 2
Only 1 and 3
Only 2 and 3

 

243. Which of the following roles can edit your username in WordPress?

A user itself
An administrator
An editor
A subscribe
No one can edit your username

 

244. Which of the following statements are correct about the posts screen?

 

Categories can be added in bulk to a set of posts.
Tags can be added in bulk to a set of posts.
Categories can be deleted in bulk from a set of posts.
Tags can be deleted in bulk from a set of posts.

 

245. In WordPress, “Revisions” and “Attachments” post types are stored in

wp_posts table.

 

True
False

 

246. Which of the following options are the correct cookies that WordPress uses for the users who have registered an account with the WordPress site?

 

wordpress_logged_in_[hash] comment_author_url_{HASH}
comment_author_{HASH}
wordpress_[hash]

 

247. In relation to a WordPress theme, which of the following statements is correct about the index.php file?

 

It is a fall-back file that is used to serve all the content to the browsers for rendering.
It is used to provide the meta-data for communication to WordPress about a theme.
It can be used to style the HTML that exists on the other required file.

 

248. It is mandatory for all the WordPress users to add an e-mail address in their respective profiles.

 

True
False

 

249. In WordPress, which of the following template tags is used to tell WordPress to get the blog title out of the database and add it in the template file?

 

get_header()
get_footer()
the_title()
bloginfo( ‘name’ )

 

250. In relation to file system monitoring in WordPress, which of the following tools is the OS kernel level file monitoring service that can be used for running commands on the filesystem events?

 

Git
diff
inotify
OSSEC

 

251. Which of the following options is the correct order (by priority in use) to display custom taxonomies in template hierarchy?

 

taxonomy.php, taxonomy-{taxonomy}.php, taxonomy-{taxonomy}-{term}.php, index.php, archive.php
taxonomy-{taxonomy}.php, taxonomy-{taxonomy}-{term}.php, taxonomy.php, archive.php, index.php
taxonomy.php, taxonomy-{taxonomy}.php, taxonomy-{taxonomy}-{term}.php, archive.php, index.php
taxonomy-{taxonomy}-{term}.php, taxonomy-{taxonomy}.php, taxonomy.php, archive.php, index.php

 

252. In relation to caching in WordPress, which of the following levels of authority are provided by Varnish?

 

The command line arguments
The CLI interface
VCL programs
HTTP requests

 

253. Meta tags in WordPress sites can be added in which of the following ways?

 

By using plugins
By adding them to the “header.php” template file in the WordPress theme
By updating the database
Both options a and b
Both options b and c

 

254. By default in WordPress, a standard post will have which of the following taxonomies types?

 

Categories
Post formats
Tags

 

255. If you are receiving an error that says “parse error: unexpected”, which of the following options can be the reasons for the same?

 

You have forgotten to include the opening bracket (
You have forgotten to include the $ when referencing a variable
Missing a semicolon (;) at the end of an individual line
You have an else statement with no opening if statement

 

256. The MySQL Workbench tool can be used for taking backups of WordPress databases. With which of the following operating systems, can you use this tool?

 

Windows
Mac
Linux

 

257. Which of the following options are available as commenter rules in WordPress?
1. Comment author must fill out name and e-mail
2. Users must be registered and logged in to comment
3. Allow people to post comments on new articles

 

Only 1 and 2
Only 1 and 3
Only 2 and 3
All 1, 2, and 3

 

258. Which of the following options are the correct requirements for using “Pretty” permalinks?
1. An .htaccess file
2. Apache web server with the mod_rewrite module installed
3. The FollowSymLinks option enabled in the WordPress’s home directory

 

All 1, 2, and 3
Only 1 and 2
Only 1 and 3
Only 2 and 3

 

259. While using Permalinks in blogging, which of the following options is the title of your article post within the link?

 

Post Slug
Excerpt
Plugin
Trackback

 

260. In WordPress, which of the following options is/ are the correct example(s) of a non-hierarchical taxonomy?

 

Category
Tag
Both options a and b
Neither option a nor b

 

261. The plugins Rublon and WordFence cannot be used for two-step authentication.

 

True
False

 

262. In relation to WordPress, which of the following cookies are stored on the visitors’ computers when they comment on your blog?

 

comment_author_{HASH}
wp-settings-{time}-[UID] cookies
wordpress_logged_in_[hash] comment_author_email_{HASH}

 

263. In relation to Caching in WordPress, which of the following leads of authority are provided by Varnish?

 

The command line arguments

The CLI interface

VLC program

HTTP request

 

264. Choose True or False

Which of the following options is the correct under (by priority in use) to display a single page in template hierarchy?

 

custom template file, page-{slug}.php, page-{id}.php, page.php, singular.php, index.php

custom template file, page-{id}.php, page-{slug}.php, page.php, singular.php, index.php

singular.php, index.php, page-{id}.php, page-{slug}.php, page.php, custom template file

custom template file, page-{slug}.php, page-{id}.php, page.php, singular.php, index.php

 

265. In WordPress, which of the following plugins can be used to limit the number of login attempts?

 

SiteGuard WP Plugin

OSSEC

Notify

Brute Force Login Protection

 

266. While using permalinks in blogging, which of the following options is the title of your article post within the link?

 

Post Slug

Excerpt

Plugin

Trackback

 

267. In wordpress, which of the following options is/are the correct examples of a non-hierarchical taxonomy?

 

Category

Tag

Both options a and b

Neither option a nor b

 

268. Meta tag in WordPress sites can be added in which of the following ways?

By using plugins

By adding them to the “header.php” template file in the wordpress theme

BY updating database

 

Both options a and b

Both options b and c

 

269. In wordpress, a contributor has which of the following capabilities?

 

Read

Delete_post

Edit_post

Publish_post

 

270. Which of the following definitions of the WP_DEBUG constant can be used to trigger the debug mode throughout WordPress?

 

define( ‘WP_DEBUG', true);

define( ‘WP_DEBUG', ‘true');

define(‘WP_DEBUG', ‘1');

define(‘WP_DEBUG),”true” );

 

271. In relation to the roles of WordPress 5, which of the following options can only publish and manage their own posts?

 

Editor

Author

Subscriber

Contributor

 

272. How can you access your profile screen in WordPress?

From the main navigation menu under users

By clicking on the name link at the top of the WordPress screen.

 

Only 1

Only 2

Both 1 and 2

Neither 1 and 2

 

273. Which of the following statements is /are correct about the posts type on WordPress?

Attachments can make use of the WP_postmeta table to store the extra information like image’s meta data

Each theme in WordPress can have its own custom CSS post

 

Both options a and b

Neither option a nor b

 

274. Which of the following you should avoid while choosing a password?

Permutation of your real name, username or company name

A Word from a dictionary, in any language

Any numeric only or alphabetic only password.

Any password containing numeric, alphabets, and special symbol

 

All 1,2,3 and 4

Only 1,2 and 3

Only 1,2 and 4

Only 2, 3and 4

 

275. Which of the following statements are correct about the posts screen?

 

Categories can be added in bulk to a set of posts.

Tags can be added in bulk to a set of posts

Categories can be deleted in bulk from a set of posts

Tags can be deleted in bulk from a set of posts.

 

276. Which of the following is not a default user role in WP?

Blogger
Author
Subscriber
Contributor

 

277. What are WordPress hooks?

Setting options available to WordPress administrators.
Security functions that run inside WordPress
Group of plugins which control WordPress behavior.
Ways to change the default behavior of WordPress.

 

278. How many WordPress themes can be installed in a single WordPress installation?

1
10
100
Unlimited

 

279. _____________ can publish, edit, and delete their own posts. They cannot write pages. They can upload some kinds of media files, and they are allowed to use only the limited set of HTML tags.

Contributor
Author
Editor
Subscriber
Administrator

 

280. Which WP global object is used to execute custom database queries?

$wpdb
$wp_db
$db_query
$wp_query

 

281. Arrange the following templates in decreasing order of priority from left to right for Site Front Page:

index.php
front-page.php
home.php
index.php, front-page.php, home.php
front-page.php, home.php, index.php
home.php, front-page.php, index.php
front-page.php,index.php home.php

 

282. Is it possible to retrieve list of custom taxonomy terms with get_terms() function?

Yes
No

 

283. What database does WordPress use?

Notes
PostgreSQL
MySQL
Oracle

 

284. What is true about the_meta() function?
Note: There may be more than one right answer

This is a function for displaying custom fields for the current post, known as the “post-meta” (stored in the wp_postmeta table).
It formats the data into an unordered list.

It may be used outside the loop.
the_meta() will ignore meta_keys (i.e. field names) that begin with an underscore.

 

285. Which of the following files in a WP theme is NOT a file required by the theme review team for acceptance into the WordPress.org theme directory?

page.php
style.css
index.php
comments.php
screenshot.png

 

286. Which of the following will change the default ordering of categories in the WordPress post edit page?

Adding ‘checked_ontop’ => FALSE to the args in wp_terms_checklist() in the functions.php file
Disabling category ordering in the WordPress admin settings
Setting category_ordering=false in the wp-config.php file
Adding ‘category_ordering’ => FALSE to the args in wp_terms_checklist() in the functions.php file

 

287. If you need to store information temporarily, which WordPress system would you use:

Options
Meta tables
Transients
The REST API

 

288. Select all of the supported page statuses in WordPress.
Note: There may be more than one right answer.

draft (Draft)
pending (Pending Review)
private (Private)
publish (Published)

 

289. Which of the following is the correct way to register shortcode?

function foobar_func ( $atts ){return “foo and bar”;}new_shortcode( ‘foobar’, ‘foobar_func’ );
function foobar_func ( $atts ){return “foo and bar”;}insert_shortcode( ‘foobar’, ‘foobar_func’ );
function foobar_func ( $atts ){return “foo and bar”;}register_shortcode( ‘foobar’, ‘foobar_func’ );
function foobar_func ( $atts ){return “foo and bar”;}add_shortcode( ‘foobar’, ‘foobar_func’ );

 

290. Which of the following strings is not a default WordPress post format slug?

aside
image
quote
status

 

291. Which HTML tags are not allowed to be used in a post comment?
Note: There may be more than one right answer

code
form
img
strike
table

 

292. Which hook can be used to update kses and TinyMCE to allow select new attributes for an HTML element?

tool_box
tiny_mce_before_init
tiny_mce_plugins
htmledit_pre

 

293. What is the difference between filters and actions?

An action is defined as a function that takes in some kind of input, modifies it, and then returns it whereas a filter is just a place where you call a function, and you don’t really care what it returns
A filter is defined as a function that takes in some kind of input, modifies it, and then returns it whereas an action is just a place where you call a function, and you don’t really care what it returns
There is no difference. Both are used for hooking into an action.

 

294. Where plugins options are stored in WordPress?

They are stored in WordPress theme folder.
They are stored in WordPress plugins folder.
They are stored in WordPress.org and not on your site.
They are stored in WordPress Database.

 

295. When is it recommended to rebuild the $wp_rewrite object with the flush_rewrite_rules() function?

once in a while
after every one hour
on every custom post type page load
after activatation and deactivation of a custom post types plugin

 

296. When adding a function to the “the_content” hook, where will you see changes?

On the blog list page.
On the single post page.
It depends on how your theme is set up.
On the archive page.

 

297. What is the WordPress way of adding a query variable to an URL

site_url(‘?’ . $foo . ‘=’ . $bar);
home_url(‘$’ . $foo . ‘=’ . $bar);
add_query_arg($foo, $bar, home_url());

 

298. Which standard WP class do you need to necessarily extend to create your widget?

WP_Widget
WP_Widget_Form_Customize_Control
WP_Customize_Control
WP_Customize_Sidebar_Section

 

299. Display the current pagination number.

$page = get_page(‘1’);
echo ‘Current page: ’ . $page->post_paged;
$paged = get_query_var(‘paged’, 1);
echo ‘Current page: ’ . $paged;
$page = get_post(‘1’);
echo ‘Current page: ’ . $page->post_paged;

 

300. Which of the following is true about wp_mail() function?
Note: There may be more than one right answer.

A true return value does not automatically mean that the user received the email successfully.
For this function to work, the settings SMTP and smtp_port (default: 25) need to be set in your php.ini file.
The default content type allows using HTML.
The function can handle only one email as $to parameter.

 

301. Which hook fires after WordPress has finished loading but before any headers are sent?

activate_wp_head
init
activate_header
xmirpc_call

 

302. What WordPress function would you use to retrieve the name of the current action?

current_filter
current_action_name
current_hook

 

303. Which loop is used by default to fetch the posts and loop through them?

for loop
while loop
foreach loop

 

304. “X people have seen this post” should be output like this:

printf( _n( ‘%d person has seen this post.’, ‘%d people have seen this post.’, $view_count ), $view_count );
printf( __( ‘%d people have seen this post.’ ), $view_count );
echo _n( ‘One person has seen this post’, “$view_count people have seen this post.” );
printf( _n( ‘%d person has seen this post.’, ‘%d people have seen this post.’ ), $view_count );
printf( 1 == $view_count ? __( ‘%d person has seen this post.’ ) : __( ‘%d people have seen this post.’ ), $view_count );

 

305. Which of the following options is a correct example of PATHINED permalink?

 

https://example.com/index.php/yyyy/mm/dd/post-name/

https://example.com/?p=n

https://example.com/2012/post-name

https://example.com/2012/12/30/post-name

 

306. My SQL workbench tool can be used for taking backups of WordPress database with which of the following operating system can you use this tool?

 

Windows

Mac

Linux

 

307. In which of the following orders, 404 templates file are called in template hierarchy?

 

404.php, index.php

index.php, 404.php, archive.php

index.php, 404.php

404.php, archive.php, index.php

 

308. What does the “Error 28” in WordPress indicate?

 

It indicates that the cache on your server is full.

It indicates that a table in your database is corrupted.

It indicates a missing column in your database.

It indicates that you have too many files in /tmp.

 

 

309. In relation to a WordPress theme, which of the following statements is correct about the index.php file?

 

It is a fall-back file that is used to serve all the content to the browsers for rendering.

It is used to provide the meta-data for communication to WordPress about a theme.

It can be used to style the HTML that exists on the other required file.

 

310. Choose True or False

You can use the pre_get_posts filter hook for including custom posts into your main query of blog posts.

 

True

False

 

311. Which of the following options are the correct files that are required for making theme in WordPress?

php

css

php

 

All 1, 2 and 3

Only 1 and 2

Only 1 and 3

Only 2 and 3

 

312. In relation to the roles of WordPress 5, which of the following options can only publish and manage their own posts?

 

Editor

Author

Subscriber

Contributor

 

313. In relation to file system monitoring in WordPress, which of the following tools is the OS kernel level file monitoring service that can be used for running commands on the filesystem event?

 

Git

diff

inotify

OSSEC

 

314. Which of the following plugins can be used in WordPress 5 for two-factor authentication?

Duo

Google authenticator

Wordfence

Rublon

 

All 1,2,3 and 4

Only 1,2, and 3

Only 2,3, and 4

Only 1,3 and 4

 

315. What is the default value of the SCRIPT_DEBUG content?

 

True

False

 

316. While updating WordPress, which of the following options can be the correct reason for the given message on the screen-

“Briefly unavailable for scheduled maintenance. Please check back in a minute.”

 

maintain.php

htaccess web.config

web.config

.maintenance file

 

317. If you receive an error that says “Purse error.unexpected”, which of the following options can be the reasons for the same?

 

You have forgotten to include the opening bracket {

You have forgotten to include the $ when refereeing a variable

Missing a semicolon; at the end of an individual line.

You have an else statement with the no opening if statement

 

318. In WordPress which of the following types of items you can add into your menu?

Pages

Categories

Custom links

 

All 1,2 and 3

Only 1 and 2

Only 1 and 3

Only 2 and 3

 

319. By default, WordPress dashboard Permits administrator to edit plugins and themes file?

 

No

Yes

 

320. By default, in WordPress, a standard post will which of the following taxonomies types?

 

Categories

Post formats

Tags

 

321. Choose True or False.

The given command can be used to backup all the database table.

Mysqldump-add-drop-table-h mysqo-hostserver-u mysqo_username-p mysqo_database name

 

True

False

 

322. Choose True or False

You can edit .htaccess file by FTP or Shell.

 

True

False

 

323. In WordPress, a subscriber has which of the following capabilities?

 

read

delete_posts

edit_posts

Publish_posts

 

324. Choose True or False.

In WordPress, “Revisions” and “Attachments” post type are stored in WP_Posts table

 

True

False

 

325. By default, which of the following database is used by WordPress 5?

 

PostgreSQL

Microsoft SQL

Server MySQL

Oracle

 

326. Which of the following options is a program that can be used to manipulate the database remotely through a web interface?

 

W3 Total Cache

phpMyAdmin

MariaDB

WP Super Cache

 

327. In WordPress, which of the following attacks can you see via the logs?

Cross site scripting (XSS)

Remote File inclusion (RFI)

Local file inclusion (LFI)

Directory traversal attempts

 

All 1,2,3 and 4

Only 1,2, and 3

Only 2,3 and 4

Only 1,3 and 4

 

328. Suppose, you have a fixed IP address and you do not want any person (except yourself) to login to your admin area. Which of the following files will help you to access to wp-login.php?

.htaccess

config

 

Only 1 can be used

Only 2 can be used

Both 1 and 2 can be used

Neither 1 or nor 2 can be used

 

329. Which of the following option are the correct tables that will be always be backed up while taking backups in WordPress?

 

WP_links

WP_terms

WP_users

 

 

330. How many default tables are the WordPress?

 

10

11

12

15

 

331. Which of these plugins comes preinstalled on the WordPress site?

 

Twenty Twenty-One

Magazine

Basic theme

All of these

 

332. Where can you find permalink settings in WordPress?

 

Setting -> Permalinks

About -> Permalinks

Tools -> Links -> Permalinks

None of these

 

333. What are avatars in WordPress?

 

A small image that is displayed beside the name of the user

Name of creator

A 3D graphic of a user in WordPress

None of these

 

334. What are the different ways to change the customer's PHP version?

 

Run phphandler in EIG Shell

Login to Bluerock > Advanced > MultiPHP manager

Login to Bluerock > Advanced > MultiINI manager

Both 1 & 2

 

335. Which file of WordPress themes can be skipped?

 

index.php

function.php

comments.php

style.css

 

336. How to delete a WordPress plugin from WordPress?

 

plugin -> installed plugin -> uninstall

plugin -> installed plugin -> deactivate -> uninstall

plugin -> plugin editor -> remove

None of these

 

337. MailPoet plugin in WordPress used to?

 

Read mails on WordPress

Send all info via mail in WordPress

Create and send the newsletter, welcome emails, etc from WordPress

None of these

 

338. Which of these is not a WordPress plugin for social media?

 

WP Forms

Revive social

Smash Ballon

All of these

 

339. Which of these is an anti-spam plugin in WordPress?

 

Akismet

BuddyPress

WP Forms

None of these

 

340. Which of these plugins are used to check traffic on the WordPress website?

 

All in One SEO

Yoast

Jet Pack

All of these

 

341. Which of these is an option to set permalink in WordPress?

 

Updating using day and name

Updating using month and name

Updating using number

All of these

 

342. What task does search engine visibility performs in WordPress?

 

Removes site visibility on google

Discourage search engines from indexing the site

Both

None of these

 

343. Where wp_config.php file is located?

 

Inside Admin folder

In theme folder

In root directory of WordPress

 

344. What is a WordPress taxonomy?

 

Tag & Link Category

Post Formats

Category

All of the above

 

345. What is name of configuration file in WordPress ?

header.php

wp-settings.php

wp-config.php

page.php

 

 

 

 

Wordpress Multiple Choice Questions and Answers for competitive exams. These short objective type questions with answers are very important for Fiverr Relevel and for Government jobs PSC UPSC, Railways and Board exams 

fiverr-wordpress-skill-test

wordpress-5-1-fiverr-test

 

wordpress machine test interview questions

wordpress developer test

wordpress test questions and answers

wordpress test online

wordpress test code

wordpress coding challenges

wordpress practical task

 

fiverr wordpress skill test 2021

wordpress test online

fiverr wordpress skill test 2021

Fiverr WordPress 5.1 skill test 2021 with answers | How to

Fiverr WordPress 5.1 Skill Test Answers 2022 || How To Pass

(Top 10%) Fiverr WordPress 5.1 Skills Test Answers 2022




Post a Comment (0)
Previous Post Next Post