1 . 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
2 . 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.
3 . If you have shell access to your server, then which of the following commands can you use to change the file permissions for Directories recursively?
- find /path/to/your/wordpress/install/ -type d-exec chmod 777 {} \;
- find /path/to/your/wordpress/install/ -type d -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 {} \;
4 . 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
5 . By default, which of the following databases is used by WordPress 5?
- PostgreSQL
- Microsoft SQL
- MySQL
- Oracle
6 . 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
7 . In WordPress, which of the following attacks can you see via the logs?
1. Cross-Site Scripting (XSS)
2. Remote File Inclusion (RFI)
3. Local File Inclusion (LFI)
4. Directory Traversal attempts
- All 1, 2, 3, and 4
- Only 1, 2, and 3
- Only 2, 3, and 4
- Only 1, 3, and 4
8 . What is the default value of the SCRIPT_DEBUG constant?
- True
- False
9 . In relation to the posts screen, which of the following columns are displayed in the table of posts?
- Title
- ID
- Categories
- Tags
- Author
10 . By default, which of the following post types are always included within a WordPress installation?
- Attachments
- Custom CSS
- Changesets
- Posts
11 . 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 to the template file?
- get_header()
- get_footer()
- the_title()
- bloginfo( ‘name’ )
12 . Meta tags in WordPress sites can be added in which of the following ways?
1. By using plugins
2. By adding them to the “header.php” template file in the WordPress theme
3. By updating the database
- Both options a and b
- Both options b and c
13 . 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
14 . By default in WordPress, a standard post will have which of the following taxonomies types?
- Categories
- Post formats
- Tags
15 . 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.
16 . 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
17 . In which of the following orders, 404 template files are called in the template hierarchy?
- 404.php, index.php
- index.php, 404.php, archive.php
- index.php, 404.php
- 404.php, archive.php, index.php
18 . Which of the following options is the correct order for rendering the date-based archive index pages in the template hierarchy?
- date.php, archive.php, index.php
- date.php, index.php, archive.php
- index.php, date.php, archive.php
19 . 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
20 . Which of the following roles has the unfiltered_html capability in a single site WordPress installation?
- Administrator
- Editor
- Author
- Contributor
21 . The given URL is an example of which of the following permalinks?
“http://example.com/2012/12/30/post-name”
- Default
- PATHINFO
- mod_rewrite
- None of the above.
22 . By default, meta tags are included in WordPress.
- True
- False
23 . 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
- config
- .maintenance file
24 . 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
25 . 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
26 . In relation to the 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
27 . 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
28 . The plugins Rublon and WordFence cannot be used for two-step authentication.
- True
- False
29 . Which of the following options is the correct order (by priority in use) to display a single page in the 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
- 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
30 . Which of the following cookies is set by WordPress 5 that is used to customize your view of the admin interface and the main site interface?
- wordpress_logged_in_[hash]
- wp-settings-{time}-[UID]
- wordpress_[hash]
- None of the above.
31 . 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
32 . 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}
33 . Which of the following options are the correct requirements for using “Pretty” permalinks?
1. A .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
34 . Suppose, you have a fixed IP address and you do not want any person (except yourself) to log in 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
35 . You can adjust the length of cookies with the ‘auth_cookie_expiration’ hook.
- True
- False
36 . 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
37 . 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
38 . Which of the following capabilities are only available in the Super Admin role?
- manage_network_plugins
- delete_plugins
- manage_categories
- setup_network
39 . 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
40 . WordPress 5 is written in which of the following languages?
- Java
- C++
- PHP
- GO
41 . 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
42 . In relation to the WordPress editor, which of the following options is the default block type?
- Paragraph
- Image
- Heading
- Gallery
43 . 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.
44 . 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 {} \;
45 . Which of the following options is the correct order (by priority in use) to display home page in the template hierarchy?
- php, index.php, front-page.php, page.php
- front-page.php, home.php, page.php, index.php
- php, front-page.php, home.php,page.php
- front-page.php, index.php, home.php, page.php
46 . Which of the following options is the correct order (by priority in use) to display custom taxonomies in the template hierarchy?
- 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
- 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
47 . 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” );
48 . If you are receiving an error that says “parse error: unexpected”, which of the following options can be the reason 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.
49 . 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.
50 . You can edit the .htaccess file by FTP or shell.
- True
- False
51 . 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
52 . 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
53 . 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
54 . 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
55 . Can you import content from a static HTML site to WordPress?
- Yes
- No
56 . 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
57 . 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
58 . 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
59 . By default, all the published pages are added to the menu automatically by WordPress.
- True
- False
60 . 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 nor 2
61 . What does “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.
62 . WP Super Cache is not a static page caching plugin for WordPress.
- True
- False
63 . Which of the following roles can edit your username in WordPress?
- A user itself
- An administrator
- An editor
- A subscriber
- No one can edit your username
64 . 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
65 . It is mandatory for all WordPress users to add an e-mail address to their respective profiles.
- True
- False
66 . In relation to a 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.
67 . Which of the following types of permalinks are available in WordPress 5?
- Default
- PATHINFO
- mod_rewrite
68 . Which of the following options is the correct order (by priority in use) to display the category in the template hierarchy?
- php, category-{slug).php, category-{id}.php, category.php, archive.php
- 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
69 . 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 posts a comment.
- None of the above.
70 . By default, the WordPress dashboard permits administrators to edit plugins and theme files.
- Yes
- No
71 . 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
72 . 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)
73 . 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.
74 . Which of the following is the correct option that is the default theme of WordPress 5?
- Gravatar
- Twenty Nineteen
- Permalink
- None of the above.
75 . 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.
76 . Which of the following options are the valid filters in the template hierarchy?
- singular_template
- search_template
- embed_template
- author_template
77 . In relation to caching in WordPress, the Varnish cache application is supported on which of the following platforms?
- Windows 7
- Linux
- FreeBSD
78 . Which of the following plugins can be used in WordPress 5 for two-step 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
79 . An Author role in WordPress has 'edit_pages' capability.
- True
- False
80 . 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 4
81 . In relation to the profile screen in WordPress, which of the following personal options are available that can be configured?
- Visual editor
- Admin Color Scheme
- Syntax Highlighting
- Toolbar
82 . Which of the following options is a condensed summary of your blog post?
- Post slug
- Plugin
- Permalink
- Excerpt
83 . In WordPress, “Revisions” and “Attachments” post types are stored in the wp_posts table
- True
- False
84 . In WordPress, a subscriber has which of the following capabilities??
- publish_posts
- edit_posts
- delete_posts
- read
85 . 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
86 . Error 145 indicate in WordPress
- 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.
87 . 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
88 . 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
89 . 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