Table of Content
- 1 In WordPress, what is the Loop used to do?
- 2 Who owns the trademark for WordPress and WordCamp names and logos?
- 3 The REST API is a simple way to get data in and out of WordPress over HTTP. Applications using the REST API should be written in which programming language?
- 4 How many minutes does it take to install WordPress according to the “Famous X-Minute Installation” instructions on WordPress.org?
- 5 In WordPress, what is true of plugins?
- 6 Akismet is a plugin that comes automatically installed with WordPress. What does it do?
- 7 What would you do to improve your site’s performance?
- 8 The REST API utilizes which data format?
- 9 What color is the paragraph nested within the div?
- 10 Theme developers can take advantage of the Customizer API to give users a way to manipulate basic theme settings. The Customizer API is object-oriented and provides four main objects. What are they?
- 11 Which WordPress setting would you use to make page URLs look like http://example.com/my-page/ instead of the default http://example.com/?p=21/?
- 12 In WordPress, what is the block editor used for?
- 13 Which of the following file types is NOT involved in translating WordPress?
- 14 What is the default priority for an action hook or filter?
- 15 What’s the primary difference between template tags prefaced with the* versus get_the*? (Duplicate 1)
- 16 WP_Query is the WordPress query class that is used to fetch posts from the database. How would you create a new instance of this class?
- 17 What is a user role that is unique to WordPress Multisite?
- 18 Within the editor, blocks are rendered as JavaScript. How are blocks rendered on the front end of a site?
- 19 Which of these is NOT a part of the internationalization and localization process?
- 20 The REST API provides public data, which is accessible to any client anonymously, as well as private data available only after authentication. How could you ensure that no one can anonymously access site data via the REST API?
- 21 Which of these snippets represents a wrapper that calls jQuery safely and doesn’t require repetitive use of the word “jQuery”?
- 22 What is the correct order of parameters for the add_action() function?
- 23 You have a search bar on your site. You would like to use a to make the word “Search” visible to screen readers, but you don’t want to display the word “Search” on the screen. How can you accomplish this?
- 24 You might see this code in a WordPress plugin. What does it do?
- 25 Which is a best practice for working with WordPress CSS?
- 26 WordPress is translated, at least partially, in more than 200 locales. If you wanted to help translate WordPress into other languages, which contributor group would you join?
- 27 What is the difference between an action and a filter?
- 28 If you activate or update a plugin and it breaks your site so that you cannot manage it via wp-admin, how can you disable the plugin?
- 29 The WordPress REST API is designed to receive and respond to particular types of requests using basic HTML methods. For example, a request to upload a PHP file into a particular folder on a server might look like the code POST /folder/_file.php. Based on this code, what would you call /folder/_file.php (in REST API terms)?
- 30 Which WP-CLI command would you use to manage the capabilities of a user role?
- 31 What technique would you use to secure data before rendering it to a user?
- 32 If your WordPress site is seriously compromised, what is the best course of action to return your site to good health?
- 33 If you wanted to register a custom post type, which hook would you use?
- 34 What is the role of a WordPress theme?
- 35 What is the name of the open-source project that serves as a bug tracker and project management tool for WordPress?
- 36 How would you write a text string containing “Hello World!” in a way that makes it possible for someone else to translate the string into a different language?
- 37 What is the core mission of WordPress?
- 38 Which of the following is NOT a suggested security improvement for your WordPress website?
- 39 What’s the primary difference between template tags prefaced with the* versus get_the*? (Duplicate 2)
- 40 How can you add a custom script that needs to run only on the contact page of a site? The slug of the page is contact.
- 41 The Block API enables developers to register custom blocks in themes or plugins. How would you register a custom block?
- 42 Which software development principle, often used in WordPress, aims to reduce the repetition of code?
- 43 In a standard template file, how often does the WordPress Loop run?
- 44 Which is not a suggested performance improvement for your WordPress website?
- 45 On a regular WordPress install, what is the difference between transients and the object cache?
- 46 For the majority of modern themes, what is the standart method used to customize various details of site appearance and features, such as changing the site description or adding a logo and favicons?
- 47 You can harden your WordPress site security by adding __ to your wp-config.php file?
- 48 According to WordPress PHP coding standards for inline comments, how would you write a single-line comment in a PHP document?
- 49 Where can you find the official WordPress documentation and usage guide?
- 50 How would you use CSS to ensure your theme was mobile responsive?
- 51 If you have pretty permalinks enabled on a WordPress site, the REST API index is exposed by appending what to the end of the site URL? (for example, http://example.com/answer/) Note that the index provides information regarding which routes are available for that particular WordPress install.
- 52 What is the process of marking the code you write so that it is ready for translation?
- 53 In your wp-config.php file, you’ve added the following line of code. What does it do?
In WordPress, what is the Loop used to do?
- It displays a single page.
- It displays posts on an archive.
- It displays a single post.
- all of these answers
Who owns the trademark for WordPress and WordCamp names and logos?
- WordPress Foundation (The WordPress Foundation owns and oversees the trademarks for the WordPress and WordCamp names and logos.)
- WordPress.com
- Matt Mullenweg
- Automattic
The REST API is a simple way to get data in and out of WordPress over HTTP. Applications using the REST API should be written in which programming language?
- PHP
- any programming language that can make HTTP requests and interpret JSON
- Java
- Node.js
How many minutes does it take to install WordPress according to the “Famous X-Minute Installation” instructions on WordPress.org?
- 5
- 30
- 15
- 10
In WordPress, what is true of plugins?
- Plugins are available in free or premium (paid) versions.
- Plugins can extend WordPress core functionality.
- all of these answers
- Plugins add site-specific features.
- It connects your site to Google Analytics.
- It displays a blog feed from websites similar to yours.
- It protects your site from comment spam.
- It hardens site security by enforcing strong passwords.
What would you do to improve your site’s performance?
- Only load scripts and styles on pages where they are needed.
- Minify CSS and JavaScript files.
- all of these answers
- Use a CDN.
The REST API utilizes which data format?
- YAML
- JSON
- TXT
- XML
What color is the paragraph nested within the div?
- blue
- black
- red
- green
Theme developers can take advantage of the Customizer API to give users a way to manipulate basic theme settings. The Customizer API is object-oriented and provides four main objects. What are they?
- widgets, containers, sections, settings
- containers, hooks, settings, styles
- panels, blocks, controls, settings
- panels, sections, controls, settings
Which WordPress setting would you use to make page URLs look like http://example.com/my-page/ instead of the default http://example.com/?p=21/?
- Writing
- Permalinks
- Pretty URLs
- Reading
In WordPress, what is the block editor used for?
- cropping images in the media library
- injecting specialized scripts into the content area
- creating a site layout
- creating and laying out content
Which of the following file types is NOT involved in translating WordPress?
- .po
- .pot
- .mot
- .mo
What is the default priority for an action hook or filter?
- 10
- 15
- 0
- 5
- Template tags prefaced with the_ don’t accept arguments.
- Template tags prefaced with the_ can be used directly within a template.
- Template tags prefaced with the_ display a value. Template tags prefaced with get_the return a value.
- Template tags prefaced with the_ return a value. Template tags prefaced with get_the display a value.
WP_Query is the WordPress query class that is used to fetch posts from the database. How would you create a new instance of this class?
- $query = new query_posts();
- $query = new WP_Query();
- $query = query_posts();
- $query = get_posts();
What is a user role that is unique to WordPress Multisite?
- Owner
- Super Admin
- MU Admin
- Multisite Master
Within the editor, blocks are rendered as JavaScript. How are blocks rendered on the front end of a site?
- as plain HTML
- as a React component
- as JavaScript comments
- as HTML comments
Which of these is NOT a part of the internationalization and localization process?
- using a gettext function to wrap translatable strings when writing code
- installing/using the WordPress Multilingual Plugin
- using a tool like Poedit to parse source code and extract translatable strings into a POT file
- translators translating the POT file into a PO file, one for each language
The REST API provides public data, which is accessible to any client anonymously, as well as private data available only after authentication. How could you ensure that no one can anonymously access site data via the REST API?
- Disable the REST API via the site’s wp-config.php file.
- Use the rest_authentication_errors() filter along with the is_user_logged_in() conditional to limit access to logged in users.
- Use the rest_authentication_errors() filter along with cookie authentication to limit access to logged in users.
- Use the Disable REST API plugin.
Which of these snippets represents a wrapper that calls jQuery safely and doesn’t require repetitive use of the word “jQuery”?
- // do stuff
- });
- (function($) {
- // do stuff
- })( jQuery );
- $(function() {
- // do stuff
- });
- jQuery(function($) {
- // do stuff
- });
What is the correct order of parameters for the add_action() function?
- add_action( ‘example_hook’, ‘example_function’, $accepted_args, $priority )
- add_action( ‘example_function’, ‘example_hook’, $priority, $accepted_args )
- add_action( ‘example_hook’, ‘example_function’, $priority, $accepted_args )
- add_action( ‘example_function’, ‘example_hook’, $priority )
You have a search bar on your site. You would like to use a to make the word “Search” visible to screen readers, but you don’t want to display the word “Search” on the screen. How can you accomplish this?
- Assign an ARIA state of “hidden” to the label, like this: <label state=”hidden”>Search</label> <input type=”text” name=”search” id=”search” />
- Use the built-in WordPress CSS class .screen-reader-text to hide the text from screen, like this: <label class=”screen-reader-text”>Search</label> <input type=”text” name=”search” id=”search” />
- Create a custom CSS class to set a large negative value to the text-indent property to hide the text off screen, like this: <label class=”hide-this”>Search</label> <input type=”text” name=”search” id=”search” />
- The majority of users do not require a screen reader. Remove the label entirely.
You might see this code in a WordPress plugin. What does it do?
- This is how WordPress detects a plugin’s presence. This ensures that the plugin is running from the /wp-content/plugins/ directory. If it is not, the plugin should not run.
- This is a way to prevent naming collisions. ABSPATH is the absolute path to the plugin’s directory. If ABSPATH is defined by another WordPress plugin with the same directory slug, the plugin should not run.
- This is a security measure. ABSPATH is the absolute path to the WordPress directory. If the file is called directly, ABSPATH will not be defined and therefore the plugin should not run.
- This is a compatibility checker. ABSPATH is defined in WordPress core. The plugin checks that the minimum version of WordPress needed to support the plugin is installed. If it is not, the plugin should not run.
Which is a best practice for working with WordPress CSS?
- Use !important next to styles if they don’t give you the result you want.
- Use hyphens in class names.
- Use spaces to indent each property.
- Avoid CSS shorthand for proper documentation.
WordPress is translated, at least partially, in more than 200 locales. If you wanted to help translate WordPress into other languages, which contributor group would you join?
- core
- polyglots
- accessibility
- documentation
What is the difference between an action and a filter?
- Actions are used to add custom functions and remove WordPress functions. Filters are used to make strings translatable for localization.
- Actions are used to add or remove code at runtime. Filters are used to modify data before it is either displayed in the browser or saved to the database.
- Actions are used to assign values to variables at runtime. Filters are used to extract data from actions and display it in the browser.
- Actions are used to add user-inputted data to the database. Filters are used to validate user-inputted data prior to adding it to the database.
If you activate or update a plugin and it breaks your site so that you cannot manage it via wp-admin, how can you disable the plugin?
- all of these answers
- Access the WordPress install via WP-CLI. Run the following command: wp plugin deactivate offending-plugin.
- Access site files via FTP and navigate to /wp-content/plugins/. Delete the folder of the plugin that you would like to disable or simply rename it.
- Use phpMyAdmin to change the wp_options table’s active_plugins option value to a:0:{}.
The WordPress REST API is designed to receive and respond to particular types of requests using basic HTML methods. For example, a request to upload a PHP file into a particular folder on a server might look like the code POST /folder/_file.php. Based on this code, what would you call /folder/_file.php (in REST API terms)?
- schema
- route
- response
- request
Which WP-CLI command would you use to manage the capabilities of a user role?
- wp admin
- wp manage
- wp cap
- wp role
What technique would you use to secure data before rendering it to a user?
- escape and sanitize
- validate and escape
- validate and sanitize
- escape and secure
If your WordPress site is seriously compromised, what is the best course of action to return your site to good health?
- Determine the date of the attack and restore your site to a backup point prior to that date.
- Hire a third-party service to clean up your site because it is difficult for someone who is not a WordPress security expert to find and remove all traces of an attack.
- Manually delete suspicious files on the server and delete any database tables that are not core WordPress.
- Change your hosting password, your WordPress admin password, and your database password.
If you wanted to register a custom post type, which hook would you use?
- register_post_type
- add_meta_box
- wp_head
- init
What is the role of a WordPress theme?
- controls colors, fonts, and page layouts
- adds accessibility enhancements such as keyboard navigation and skip links
- ensures a site is mobile responsive
- all of these answers
What is the name of the open-source project that serves as a bug tracker and project management tool for WordPress?
- HackerOne
- Redmine
- Trac
- GitHub Issues
How would you write a text string containing “Hello World!” in a way that makes it possible for someone else to translate the string into a different language?
- apply_filters( ‘Hello World!’, ‘mytextdomain’ );
- __( ‘Hello World!’, ‘mytextdomain’ );
- $string = “Hello World!”;
- esc_html( ‘Hello World!’, ‘mytextdomain’ );
What is the core mission of WordPress?
- to make free software
- to democratize publishing and the freedoms that come with open source
- to make money
- to encourage blogging
Which of the following is NOT a suggested security improvement for your WordPress website?
- The site should communicate with WordPress.org.
- Remove inactive themes.
- Do not output debug information.
- WordPress updates are accomplished manually only.
- Template tags prefaced with the_ can be used directly within a template. Template tags prefaced with get_the are generally reserved for partial templates.
- Template tags prefaced with the_ return a value. Template tags prefaced with get_the display a value.
- Template tags prefaced with the_ display a value. Template tags prefaced with get_the return a value.
- Template tags prefaced with the_ don’t accept arguments. Template tags prefaced with get_the do accept arguments.
How can you add a custom script that needs to run only on the contact page of a site? The slug of the page is contact.
- Link to the script directly from a template named page-contact.php, like this:
- <script src=”/my-script.js”></script>
The Block API enables developers to register custom blocks in themes or plugins. How would you register a custom block?
- Use the registerBlockName() function.
- se the createGutenBlock() function.
- Use a block template.
- Use the registerBlockType() function.
Which software development principle, often used in WordPress, aims to reduce the repetition of code?
- RRR
- WET
- DRY
- KISS
In a standard template file, how often does the WordPress Loop run?
- It runs once per post in the database.
- It runs once.
- The Loop doesn’t run in template files.
- It runs once per fetched post.
Which is not a suggested performance improvement for your WordPress website?
- The site should run the most recent version of WordPress.
- Remove or inactivate unnecessary plugins.
- UTF8 is supported.
- Choose a very recent version of PHP.
On a regular WordPress install, what is the difference between transients and the object cache?
- Transients are persistent and write to the wp_options. The object cache persists only for the particular page load.
- Transients are stored in the WordPress database. The object cache is stored on the server where the WordPress install is located.
- Transients are available for the duration of a user session and apply to all page components. The object cache is available only for scripts.
- Transients persist only for the particular page load. The object cache is persistent and writes to the wp_options table.
For the majority of modern themes, what is the standart method used to customize various details of site appearance and features, such as changing the site description or adding a logo and favicons?
- Theme settings
- wp-config.php
- Customizer
- WordPress settings
You can harden your WordPress site security by adding __ to your wp-config.php file?
- database usernames and passwords
- unique keys and salts
- accessibility
- documentation
According to WordPress PHP coding standards for inline comments, how would you write a single-line comment in a PHP document?
- // This is a single line comment
- /* * This is a single line comment. */
- // This is a single line comment.
- <!– This is a single line comment –>
Where can you find the official WordPress documentation and usage guide?
- support.wordpress.com
- developer.wordpress.com
- developer.wordpress.org
- support.wordpress.org
How would you use CSS to ensure your theme was mobile responsive?
- Use CSS grid to create responsive layouts.
- Use media queries to add breakpoints for different screen sizes.
- Use Flexbox to create flexible page layouts.
- all of these answers
If you have pretty permalinks enabled on a WordPress site, the REST API index is exposed by appending what to the end of the site URL? (for example, http://example.com/answer/) Note that the index provides information regarding which routes are available for that particular WordPress install.
- http://example.com/wp-json/
- http://example.com/wp-admin/
- http://example.com/wp-rest/
- http://example.com/wp-rest-api/
What is the process of marking the code you write so that it is ready for translation?
- internationalization
- localization
- translation
- using GlotPress
In your wp-config.php file, you’ve added the following line of code. What does it do?
- prevents any non-admin user from directly editing theme or plugin files
- disables the theme and plugin editor in the WordPress admin
- disables the ability to edit core WordPress files from either within the WordPress admin or via direct file access
- sets read-only permissions on all files in the WordPress install
All Linkedin Skill Assessment Answers
List of Technical Skill Assessment
- LinkedIn .NET Framework Skill Assessment Quiz Answers
- LinkedIn Agile Methodologies Skill Assessment Quiz Answers
- LinkedIn Amazon Web Services (AWS) Skill Quiz Answers
- LinkedIn Android Assessment Quiz Answers
- LinkedIn AngularJS Skill Assessment Quiz Answers
- LinkedIn AWS Lambda Skill Assessment Answers
- LinkedIn Bash Skill Assessment Quiz Answers
- LinkedIn C Skill Assessment Quiz Answers
- LinkedIn C# Skill Assessment Quiz Answers
- LinkedIn C++ Skill Assessment Quiz Answers
- LinkedIn CSS Skill Assessment Quiz Answers
- LinkedIn Cyber Security Skill Assessment Quiz Answers
- LinkedIn Django Skill Assessment Quiz Answers
- LinkedIn Eclipse Skill Assessment Quiz Answers
- LinkedIn Front End Development Skill Assessment Quiz Answers
- LinkedIn Git Skill Assessment Quiz Answers
- LinkedIn Google Analytics Skill Assessment Quiz Answers
- LinkedIn Google Cloud Platform (GCP) Skill Assessment Quiz Answers
- LinkedIn Hadoop Skill Assessment Quiz Answers
- LinkedIn HTML Skill Assessment Quiz Answers
- LinkedIn IT Operation Skill Assessment Quiz Answers
- LinkedIn Java Skill Assessment Quiz Answers
- LinkedIn JavaScript Skill Assessment Quiz Answers
- LinkedIn JQuery Skill Assessment Quiz Answers
- LinkedIn JSON Skill Assessment Quiz Answers
- LinkedIn Windows Server Skill Assessment Quiz Answers
- LinkedIn XML Skill Assessment Answers
- LinkedIn Kotlin Skill Assessment Quiz Answers
- LinkedIn Linux Skill Assessment Quiz Answers
- LinkedIn Machine Learning Skill Assessment Quiz Answers
- LinkedIn Maven Skill Assessment Quiz Answers
- LinkedIn Microsoft Azure Skill Assessment Quiz Answers
- LinkedIn MongoDB Skill Assessment Quiz Answers
- LinkedIn MySQL Skill Assessment Quiz Answers
- LinkedIn Node JS Skill Assessment Quiz Answers
- LinkedIn NoSQL Skill Assessment Quiz Answers
- LinkedIn Objective-C Skill Assessment Quiz Answers
- LinkedIn OOP (Object-Oriented Programming Skill Assessment Quiz Answers
- LinkedIn PHP Skill Assessment Quiz Answers
- LinkedIn Python Skill Assessment Quiz Answers
- LinkedIn React JS Skill Assessment Quiz Answers
- LinkedIn Rest APIs Skill Assessment Quiz Answers
- LinkedIn R (Programming Language) Skill Assessment Quiz Answers
- LinkedIn Ruby on Rails Skill Assessment Quiz Answers
- LinkedIn Scala Skill Assessment Quiz Answers
- LinkedIn Search Engine Optimization (SEO) Skill Assessment Quiz Answers
- LinkedIn Spring Framework Skill Assessment Quiz Answers
- LinkedIn Swift Skill Assessment Quiz Answers
- LinkedIn T-SQL Skill Assessment Quiz Answers
- LinkedIn Unity Skill Assessment Quiz Answers
- LinkedIn Visual Basic for Application (VBA) Skill Assessment Quiz Answers
- LinkedIn WordPress Skill Assessment Quiz Answers
List of Business Skill Assessment
- LinkedIn Accounting Skill Assessment Quiz Answers
- LinkedIn Adobe Acrobat Skill Assessment Quiz Answers
- LinkedIn Google Ads Skill Assessment Quiz Answers
- LinkedIn Microsoft Access Skill Assessment Quiz Answers
- LinkedIn Microsoft Excel Skill Assessment Quiz Answers
- LinkedIn Microsoft Outlook Skill Assessment Quiz Answers
- LinkedIn Microsoft Power BI Skill Assessment Quiz Answers
- LinkedIn Microsoft PowerPoint Skill Assessment Quiz Answers
- LinkedIn Microsoft Project Skill Assessment Quiz Answers
- LinkedIn Microsoft Word Skill Assessment Quiz Answers
- LinkedIn SharePoint Skill Assessment Quiz Answers
- LinkedIn Visio Skill Assessment Quiz Answers
List of Design Skill Assessment